DanConwayDev
2254671de9
fix: remove read-only status btn appearance
...
so that users don't think they can press it when they cant
2 years ago
DanConwayDev
090d6e117c
fix(ProposalsList): removed repo id from title
...
this should have been removed when the repo identifer was
added to as a link in the summary footer
2 years ago
DanConwayDev
a39a75de5e
fix: amend ngit copy
...
for clearer and more concise summary
2 years ago
DanConwayDev
49386225de
fix(patch): consistant hunk width within diff
...
previously they varied based on max character number within the hunk
2 years ago
DanConwayDev
48965d9e0a
fix: displaying no root recent patches
...
this are now hidden as the repo identifier cannot be found without
the a tag in the root patch event
the root event will be shown
2 years ago
DanConwayDev
52b4e09a70
feat(homepage): add recent proposals
...
and display recent repositories below
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
9ddcf92598
feat(homepage): improve repo sumamry display
...
so it displays in a grid in preparation for displaying it
full width on the homepage
2 years ago
DanConwayDev
c50316f277
feat(patch): diff full width expansion
...
and general improvements to diff display
2 years ago
DanConwayDev
7371bc8eb2
feat(ProposalPage): reduce content width
...
to improve reability on larger windows
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
81da1d60c0
feat(patch): show all lines < 60
...
if there are in total less than 60 lines, ignore the rule
about only showing 20 lines per file
2 years ago
DanConwayDev
60729dfcdf
fix(patch): preserve whitespace
...
and overflow-x which is better for slightly larger lines than
the viewing width which is more common
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
55b4b0c223
fix: status events filter incorrect r tag
...
align closeOnEose with that of parent (proposals subscrption)
2 years ago
DanConwayDev
e3469969f5
fix: tag uniquie_commit in status event
...
rather than identifier
perhaps the an a tag for the repo event should be used also
but that is not done in this commit
2 years ago
DanConwayDev
b0915ab30e
feat(patch): add syntax color with highlight.js
...
for just the common languages
dynamically loading languages would help keep the package size down
2 years ago
DanConwayDev
43ad1f09c7
feat: widen patch display add hunk divider
...
widen the display of patches (diffs and commit messages)
add a divider between each code hunk
2 years ago
DanConwayDev
17ef5403e3
feat: patch rather than PR status icons
...
use icons more suitable for applying patches than merging PRs
2 years ago
DanConwayDev
5d2d8fd81b
feat: rename merged as applied
...
to better reflect proposals rather than PRs
2 years ago
DanConwayDev
fc70d3a634
test: fix tests when rename pr
...
fix tests broken by
47a66f2fb6
2 years ago
DanConwayDev
09154c48b0
fix: status errors
...
these changes should have been included in
a9ae256ec0
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
e4d545a648
feat: update ngit command reference
...
as the ngit api changed from clain to init
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
6d5c20402c
feat(ngit): improve copy
...
to align with ngit embeded help content
2 years ago
DanConwayDev
0760598832
feat(ngit): update instructions
...
to reflect the upcoming ngit v1.0.0
2 years ago
DanConwayDev
52a79baa95
fix(PrPage): show correct user
...
all instances of EventCard would sometimes show the same user
similar bug to that fixed in c03a4cd01d
2 years ago
DanConwayDev
8273f3472d
feat(PrPage): always show reply compose
...
to intice users to login and reply
2 years ago
DanConwayDev
4f788d2964
feat(RepoPage): support legacy gitstr patches
...
show patches without `root` tag repo event has no `unique-commit`tag
2 years ago
DanConwayDev
6e915a0443
refactor: remove legacy pr_kind
...
as patch_kind is used instead for a covering letter
2 years ago
DanConwayDev
c66b974721
feat(PrPage): expand patch content
...
patch component now allows each file to expanded to show the diff
2 years ago
DanConwayDev
a8c093f870
fix(RepoPage): only show root patches
...
patches with a 'root' 't' tag according to nip34 draft spec
2 years ago
DanConwayDev
0b1c250097
feat(): show event json in modal
...
through a button in the event wrapper
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
89a0dd7f31
feat: use nip34 repo event relay tag style
...
where relays are in a single 'relays' tag rather than one tag per relay
2 years ago
DanConwayDev
8ae15be264
fix: display commit mg first line as pr title
...
previously it was showing as undefined
2 years ago
DanConwayDev
6db7f402f8
fix: curate default relays
...
to align with ngit-cli commit:
6a4519b79cd36d1edbb492a3c98e2a3a0b42e0e9
gitworkshop.dev doesnt wait for timeout so purplerelay.com is also
included
2 years ago
jk
96774ba865
build: introduce vitest
...
replace newly introduced jest tests with vitest
closes #3
2 years ago
DanConwayDev
d2756c2b83
fix(PrPage): reply tags parent event
...
fixing reference to the pr event instead of the direct parent event
2 years ago
DanConwayDev
2c002c5b61
feat(PrPage): nip34 reply tags
...
now tags repo event with pubkey, maintainers
and unique commit without `r-` prefix
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
DanConwayDev
c0754728ce
feat(RepoPage): display nip34 patches as prs
...
with nip34 in its current state there is no way to identify the root
patch without first requesting all patches and client side filtering
out the ones with `[ PATCH n/n ]` in
the content
this commit doesn't do that filtering
2 years ago
DanConwayDev
0aa626454f
feat(PrPage): display patch msg without tag
...
- display the commit message from the patch content if description tag
is not present
- fix '[unknown commit id]' display
to run typescript tests ts-ject was added as a dev dependancy
2 years ago
DanConwayDev
6f6019b32d
feat(RepoPage): add avatar next to pr author name
...
by using UserHeader now a xs inline option is available
2 years ago
DanConwayDev
65ad8e5aac
fix: align UserHeader with inline text
...
the text was previously a few pixels below the line
2 years ago
DanConwayDev
f36f44ede5
feat(homepage): show more repositories
...
as there are not that many repositories currently, they all
should be displayed
2 years ago
DanConwayDev
e84643a805
feat(homepage): reduce prominence of repo authors
...
in repo summary cards by:
- making them smaller
- moving them to the bottom
- putting them all on one line
this also creates a less cramped ui
2 years ago