DanConwayDev
041860438b
fix(thread): show sub replies that don't tag root
...
some clients such as primal do not inherit the e 'root'
from the event they are replying to.
we therefore need to subscribe to all replies individually
to ensure we have the entire thread
2 years ago
DanConwayDev
d216009da0
ix: dont keep single event subs open
...
improving change made in
f754eecb16
so that subscriptions are left open that are
getting a single event by id
2 years ago
DanConwayDev
f754eecb16
fix: keep selected subscriptions open
...
this doesnt apply to subscriptions that we for many types simultainiously
ie repos and users
also extend limit from 50 to 100. if we need to go higher,
will we need to introduce a system to get around relay limits?
2 years ago
DanConwayDev
9137467ecb
fix: fetch replies to new revisions
...
as only the revision event was being queried for
also checking that we havn't already asked for replies for the revision
so there isn't an infinate loop
2 years ago
DanConwayDev
e65bc77842
feat: sort thread oldest first
...
whilst maintaining sorting by youngest first in ProposalList
note: events that tag root event secondarily (eg. mention)
are no longer diplsayed
2 years ago
DanConwayDev
e56d28de98
feat: create issue page with status and replies
...
intergrating where possible with the existing proposal components
2 years ago
DanConwayDev
b7883063e2
feat: add recent proposals component
...
this adapts ensureProposalSummaries so that it works with no repo filter
2 years ago
DanConwayDev
78f4c12b10
fix(ProposalPage): remove superfluous promise rej
...
as the repo_collection is only used for establishing which relays to use
2 years ago
DanConwayDev
2c2ee926eb
feat: intelligently load repo events
...
choose repo events based from earliest_unique_commit and indentifier
based on:
- number of mentions (issues and root patches)
- most recent created_at
identify repo events for the same repository based on identical identifiers
and use of earliest_unique_commit
use stores for collections of repo events
2 years ago
DanConwayDev
289862a708
refactor: fix rename pr as proposal error
...
where a string beging with pr should have been replaced
2 years ago
DanConwayDev
47a66f2fb6
feat: rename pr as proposal
...
as it better fits an approach that seeks to support
both the patch and branching models
2 years ago
DanConwayDev
199a2c48a1
feat: support nip34 revision format
...
gather replies from revisions where the main proposal
event may not be tagged
tag revisions in the status change event
2 years ago
DanConwayDev
a9ae256ec0
feat!: changed to nip34 status
...
using different kind numbers for each status type
2 years ago
DanConwayDev
be8bdb97fd
feat(PrPage): sort thead by oldest first
...
previous it was just as it came in from the relays
2 years ago
DanConwayDev
8ae15be264
fix: display commit mg first line as pr title
...
previously it was showing as undefined
2 years ago
DanConwayDev
97e0814c42
feat(PrPage): show nip34 patch as pr
...
display patch summary in place of pr description tag
reroute to correct repo event if pr/patch event refers to a different
repo identifer
2 years ago
jk
8ae123fd0b
eslint + prettier ( #2 )
...
Co-authored-by: DanConwayDev <114834599+DanConwayDev@users.noreply.github.com>
2 years ago
DanConwayDev
dd24dc1236
fix(PrPage): use l tag for status
...
instead of t tag to more closely align to nip-32
2 years ago
DanConwayDev
faf7231d01
fix: clear pr summaries and responses on change
...
prevent bug where PR responses and summaries are added to an incorrect
pr or repo after the array has been cleared but before
ensureSelectedRepo has returned
2 years ago
DanConwayDev
fd73f0952b
fix: update pr status accross app
...
- move status from PRFull into PRSummary
- fetch statuses when fetching pr summaries
- ensure status gets displayed accurately across the app
2 years ago
DanConwayDev
1547662205
feat: keep listening for repo and pr events
...
instead of closing connection on eose
2 years ago
DanConwayDev
7507ea2ea7
feat: use user and repository relays
...
- send status events to user and repository relays
- get repoistory events from base relays
- get pr events and replies from repository relays
2 years ago
DanConwayDev
e3ddb30205
feat(PRPage): add pr status
...
- add pr details
- gather status events when loading PRFull
- add StatusSelector component that enables sending new status events
2 years ago
DanConwayDev
eca198799f
feat(PRPage): custom display of commit events
...
display summary of 317 commit event
2 years ago
DanConwayDev
4861420d63
feat(PRPage): display pr commits and responses
...
- add thread wrapper
- add event wrapper
- display pr events
2 years ago
DanConwayDev
cca93434b0
refactor: replace PRSummary with PRFull
...
create PRFull in preparation for adding related events
2 years ago
DanConwayDev
a64df89733
feat(PRPage): add page and header
...
add page, pr store, pr ui type and pr page header
2 years ago