DanConwayDev
ea6077adcd
feat: send reply to parent pubkey relays
...
as well as the repo relays and user relays
2 years ago
DanConwayDev
bfb5c8dc33
feat: reintroduce getUserRelays
...
when fetching user metadata as bug fixed in ndk
when getting lots of user relay events
2 years ago
DanConwayDev
db49a75069
chore: yarn upgrade
...
notably upgrades ndk which will enable the use of
previously buggy fetchProfile
2 years ago
DanConwayDev
61c3259148
feat: improve and turn on readme display
...
for github only. added notes for enabling displaying readme for
other git servers in the future
2 years ago
DanConwayDev
0c37a25aff
refactor: split repo tabs into pages
...
as we are about to add a third tab for code
2 years ago
DanConwayDev
78741bed05
feat(repo-details): improve copy to clipboard UI
...
* add icon and hover background and pointer
* rename copied ~> copied to clipboard
2 years ago
DanConwayDev
33ecbc0578
fetch(repo-page): display readme from github
...
turned off with feature stapling. requires:
* styles to be improved (inline image links, respecting html img sizing, etc)
* intergration into its own tab (potentially sepearte routing
for proposal, issues, readme)
* proxy to get readme via git for all git sources
2 years ago
DanConwayDev
ca4fca9b8b
feat(repo-details): show unqiue commit not specified
...
instead of not displaying the heading
to encourage repo maintainers to include it as it
improves ngit usability
2 years ago
DanConwayDev
99bda4b57a
feat(repo-details): add unique commit and naddr
...
and copy naddr on click
2 years ago
DanConwayDev
d87ac72080
feat(repo-details): combine duplicate headings
...
combine name and identifer into a single heading if they are identical
2 years ago
DanConwayDev
963e523ed2
chore: bump ngit version to v1.1.1
...
to reflect the newly issued version
2 years ago
DanConwayDev
158da814cb
chore: bump ngit version to v1.1.0
...
to reflect the newly issued version
2 years ago
DanConwayDev
bc48f37782
feat(event): add img alt via imeta tags
...
extract imeta information for images and include image alt
considered adding blurhash but didn't want to increase package size
when implementing image uploading this could be added
2 years ago
DanConwayDev
3c1ecd1e86
feat(event): parse links and images
...
holding off on audio and video so that bandwidth heavy content
can be lazy loaded when visible
2 years ago
DanConwayDev
4663da09db
fix: status label name for issues
...
applied kind now reads 'Resolved' vs 'Applied' for issues
2 years ago
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
9591d59ef0
feat(event): stop overflow of nonbreaking content
...
prevent non-breaking content from overflowing outside the container
this mainly applies to long links and long ids
2 years ago
DanConwayDev
34ab67cf67
fix: ComposeReply tags root event not reply
...
this was broken in
9730750d5f
2 years ago
DanConwayDev
3f83d10146
fix(patch): unhandled unsupported language error
...
fall back to rendering line without formatting
in the future we should lazy load other/ all languages
2 years ago
DanConwayDev
5882c9744f
fix: intermittent unsubscriber err breaking pages
...
pages would stop loading completely and require a refresh due to a
'unsubscriber lexicon' error
2 years ago
DanConwayDev
2bd59f9bdb
fix: sort latest repos youngest first
...
they were previously not sorted
2 years ago
DanConwayDev
ca556d16ae
fix: stop fetching recent repos on homepage load
...
fetch them on first load of homepage and listen for new repo events
2 years ago
DanConwayDev
99cf7cd48f
fix: proposal lists not refreshing
...
not checking if selected repo_id had changed
2 years ago
DanConwayDev
96df8d7c45
feat(about): improve copy
...
to reflect gitworkshop.dev's desire to work across
other git on nostr solutions
2 years ago
DanConwayDev
0255112c9b
fix: repo collection to include unique commit
...
set the unique_commit field in the RepoCollection
as this was previously never being set
2 years ago
DanConwayDev
56631c1d5b
fix: filter out non-root patches in proposal lists
...
prevent non-root patches from displaying on homepage where possible
via client side filter for non-root patches on repositories
that support the latest nip34 spec
on repository pages this is included in the relay subscription but when
we are getting patches for all repositories, like on the homepage,
we don't know ahead of time which ones support the latest spec
2 years ago
DanConwayDev
b6eb83b498
fix: repo name fallback as identifer
...
if it is not present in the repo event
2 years ago
DanConwayDev
32688b87f9
feat: repo details show identifier and name
...
as the identifier may be useful and different from name
2 years ago
DanConwayDev
f3fa025b8c
test: update UI snapshots
...
navbar updates to relect adding about page in
0411bb0eb3
proposal header updates related to status fix in
ccad628769
2 years ago
DanConwayDev
a6429c12a5
add nostr yaml config
...
to indicate we are recieving patches and issues
over nostr for the repository
2 years ago
DanConwayDev
4b9feb3664
feat: send replies as kind 1
...
following converation in this thread:
https://njump.me/nevent1qvzqqqqqqypzpgqgmmc409hm4xsdd74sf6
8a2uyf9pwel4g9mfdg8l5244t6x4jdqy88wumn8ghj7mn0wvhxcmmv9
uq3vamnwvaz7tmsw4e8qmr9wfjkccte9e3k7mf0qqszt4w38p6nzqmd
cesqejxztfp6njhkrqzu0uqnhjlkalpfafku69st8kc4v
2 years ago
DanConwayDev
0411bb0eb3
feat: add about page, ngit copy, ngit v1.0.0
...
add an about page
improve ngit copy
bump ngit version to v1.0.0
2 years ago
DanConwayDev
5abaa290d7
feat: user name different from event content
...
so it is easier to read threads
2 years ago
DanConwayDev
6d1d86fa23
refactor: ignore files in /tmp
...
so notes can be kept there
2 years ago
DanConwayDev
a38e9e1493
feat: keep open sub to events for selected repo
...
so any updates (eg made with ngit) get reflected live on the page
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
b3adae4dfa
refactor: threads
...
this was done largely to identify bug resolved in
ef3bcace93
2 years ago
DanConwayDev
ef3bcace93
fix(compose): reply-to event mutation
...
which caused threads to disappear when replies were sent
2 years ago
DanConwayDev
a1d9c8aa13
feat: display cover letter content
...
as normal text note with header stripped for now
2 years ago
DanConwayDev
ccad628769
fix: status button hover color
...
it was turning pink unless status was applied and therefore already pink
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
130d111a9a
feat: thead show revisions
...
show revisions as seperate threads under one another
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
9730750d5f
fix: compose reply tags
...
proposal revisions are tagged as root when replied to,
or in a revision reply chain
user doesnt tag themselves
user doesnt tag people twice
2 years ago
DanConwayDev
f02d76f20c
feat: simplify thread hiding UI
...
remove text which overflowed onto the bottom line of logn content
2 years ago
DanConwayDev
8de6a257f9
fix(thread): show compose when no replies
...
when show_compose is set to true
2 years ago
DanConwayDev
1f199883d1
feat: hide sidebar on smaller viewpoint
...
so thread is less squashed
2 years ago
DanConwayDev
3cff122091
feat: edit status from issue/proposal header
...
in preperation for showing sidebar less often
2 years ago
DanConwayDev
bd381bbad8
fix(homepage): hero grid layout
...
ensure hero and recent proposals are in in the centre of each column
within the container
2 years ago
DanConwayDev
83df29d5f9
fix(patch): filename overflow
...
now wraps onto new lines
2 years ago