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
DanConwayDev
44833b5f15
feat(UserHeader): added xs size
...
to enable subtler display of user header
2 years ago
DanConwayDev
7be8801ce9
feat(UserHeader): truncate long names
...
as some users and test accounts use very long names which appear poorly
2 years ago
DanConwayDev
6d3e24fc71
fix: reliably fetch user profiles
...
- do not get UserRelay list due to ndk bug
- wait 200ms to allow for more batching of requests
2 years ago
DanConwayDev
fac42aa80f
build: onsave fixall
...
fix all linting and prettier issues on save
2 years ago
DanConwayDev
c32479de20
fix: repo event tag rendering
...
- get event pubkey in using correct parameter name
- get r tag value for unique_commit
- extract t tags
a typeguard is require like in ngit to ensure the r tag is
formatted as unique_commit
2 years ago
DanConwayDev
436eec5080
fix(RepoPage): decode repo identifier
...
repo event identifier is encoded but the RepoPage route wasn't
decoding it
2 years ago
DanConwayDev
54c5024eb2
feat:(homepage): show repo maintainers
...
- update repo event maintainers format to reflect model used for
multiple entries for a single tag used in nip34
- show all users claiming to be a maintainer of identifier on homepage
2 years ago
DanConwayDev
e06c1075e0
feat(RepoPage): nip34 rename `git_server` `clone`
...
- update repo event tags to reflect nip34
- refactor: move RepoSummary interface and default into type.ts
the notable visible change is to use `clone` tag in place of
`git_server`
non-nip34 tags are supported: `unique_commit` and `maintainers`.
these enable desirable functionality to be maintained.
2 years ago
DanConwayDev
8c769e151f
feat!: use nip34 kinds
...
a series of changes must follow to align with nip34 event formats
2 years ago
DanConwayDev
08423481b5
test: snapshots reflect prettier +eslint changes
...
ran `yarn test-update` so style changes made in
8ae123fd0b are applied
2 years ago
DanConwayDev
a03b13235b
feat(UserHeader): add size option
...
enables the display of UserHeader in sm or md option when flag inline is
true or false
2 years ago
DanConwayDev
6f010c29ec
feat(UserHeader): add inline flag
...
this option reduces the size of the avatar so that it doesn't effect the
line height. note this only works at the text size / line-height
where the component is currently used.
2 years ago
jk
8ae123fd0b
eslint + prettier ( #2 )
...
Co-authored-by: DanConwayDev <114834599+DanConwayDev@users.noreply.github.com>
2 years ago
DanConwayDev
2c644d0296
Merge pull request #1 from sectore/fix/reactive-user-details
...
Fix reactive values in UserHeader
2 years ago
jk
c03a4cd01d
Fix reactive values in UserHeader
2 years ago
DanConwayDev
a4f2a16e39
chore: bump ngit version to v0.1.2
...
to reflect the newly issued version
2 years ago
DanConwayDev
0e29374773
fix(homepage): remove duplicate repo events
...
temporary solution to users who accidentally ran `ngit claim` on a repo
they didn't own
ngit will select the version listed in `maintainers.yaml` if present but
git together doesn't have a trusted copy of the underlying repo to find
the correct `maintainers.yaml`
presenting multiple options for the user combined with a staring /
following system linked with WoT is the long term plan
2 years ago
DanConwayDev
82a3804f06
feat(ngit): add tip for reissuing repo event
...
so that users can change title description, etc.
2 years ago
DanConwayDev
406bc3a44b
chore: bump ngit version
...
to reflect the newly issued version
2 years ago
DanConwayDev
7cbb9fc855
fix(ngit): windows and linux binary links
...
It was reported on github that the windows link was pointing to the mac
binary and the mac link was pointing to the window binary
2 years ago
DanConwayDev
5889f305e5
fix(PRPage): status event using t not l
...
this change was ommited when t was changed to l in dd24dc12
2 years ago