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
DanConwayDev
127eeb70d7
feat(PRPage): remove pr event from feed
...
as the details are included elsewhere on the page
2 years ago
DanConwayDev
fe941e65d7
fix(PRPage): reply to pr not displaying
...
users could only reply to child events and not the main pr
2 years ago
DanConwayDev
c032e97a34
fix(PRPage): status events using nip10
...
status events were not tagging pr event as root
2 years ago
DanConwayDev
3ff2d0a923
fix: ParsedContent not updating with new content
...
content would only show if it was present when the component was
initially mounted
2 years ago
DanConwayDev
111d6273b3
feat(PRPage): add compose replies
...
to both the pr other events posted in respose to the root pr event
2 years ago
DanConwayDev
eb0365f0b7
feat(PRPage): add created_at to event wrapper
...
the text is not aligned to the middle which needs fixing
tailwind align-middle wasn't working
2 years ago
DanConwayDev
17a35f0fda
feat(RepoPage): display git server
...
display the git-server present in the repo event.
fix a bug where with would spill over if 1/3 the page was larger than
tailwinds md
2 years ago
DanConwayDev
00ea449298
feat(PRPage): parse event content with line breaks
...
This applies a really basic version of the parsing in
ndk-svelte-components which was copied from coracle. hopefully they can
be fully aligned in the future. I applied extra typing and will
intergrate other ParsedParts when needed.
applied line breaks to commit messages, pr description and default for
event content.
2 years ago
DanConwayDev
c454bcc059
fix: replace base relays
...
snort.social does not accept events from users without a subscription
whereas nos.lol does. This makes it a more likely to have more git
related events
2 years ago
DanConwayDev
3485754dd0
build: add maintainers.ymal config
...
add the nostr configuration for the repository that ngit and gitworkshop
both use
2 years ago
DanConwayDev
ccce6e1f67
test(navbar): update visual snapshot for b4cf7638
...
update the navbar snapshot based on name change
2 years ago
DanConwayDev
b4cf763814
feat(homepage): list more recent repos
...
reduce the space used each repo summary and make them less striking as
more are going to be displayed
2 years ago
DanConwayDev
8fff6fdce2
feat(ngit): add ngit guide and install pointers
...
as ngit and gitworkshop are so intertwined there should be pointers to
encourage users to install and work with the ngit client alongside
gitworkshop
2 years ago
DanConwayDev
e5629f93d6
fix(navbar): fix site name
...
change the site url to gitworkshop.dev
2 years ago
DanConwayDev
21b44bb34a
feat(navbar): add signup placeholder function
...
replacing a button with no action with a placeholder function that
launches an alert
2 years ago
DanConwayDev
018d424e50
fix(homepage): rename to git workshop
...
rename the site and apply better colors. perhaps the .io could be more
ledgable. the entire theme and ui needs a makeover.
2 years ago
DanConwayDev
53dc0dd493
build: add netlify config
...
to enable automatic deployment on netlify
2 years ago