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
DanConwayDev
dd24dc1236
fix(PrPage): use l tag for status
...
instead of t tag to more closely align to nip-32
2 years ago
DanConwayDev
a4c1ce634d
feat(navbar): improve display of site name
...
and link to home page
2 years ago
DanConwayDev
5bca100f28
feat(PrPage): include commit id in commit event
...
to make commits easier to identify
2 years ago
DanConwayDev
5fdb361782
fix(PrPage): fix duplicate event on status changes
...
now that the subscription remains open the status change doesnt need to
be manually added to the selected_pr_replies store
2 years ago
DanConwayDev
4b7087a2cf
refactor: wrap navbar component
...
so component can have ui tests
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
75d649f2b9
feat(PRPage): display status event
...
list status update in timeline
2 years ago
DanConwayDev
2cd6d2f77b
fix: pr status kind
...
19851985 is nip32 label kind written twice
2 years ago
DanConwayDev
fad66e14e5
refactor: abstract pr status
...
abstact pr status into its own component
2 years ago