DanConwayDev
6446300632
fix: prevent SvelteMarkdown from ssr
...
prevent repo page from server side rendering
SvelteMarkdown component causes a 500 error when rendered on server
with sveltekit
2 years ago
DanConwayDev
299ea3cdb2
build: fix prettier errors
...
relating to class ordering
2 years ago
DanConwayDev
def718ac60
feat(RepoDetails): copy maintainers npub
...
to clipboard on click
2 years ago
DanConwayDev
ff7af17043
fix: hide reply whilst submitting
...
because often the reply gets displayed in the feed before the sent
confirmation is recieved from the relays so its displayed twice
momentarily
2 years ago
DanConwayDev
713b06a6a0
fix: disable send in compose when no content
...
to prevent empty events from being sent
2 years ago
DanConwayDev
8a2a5edf41
feat: add title field for create issue
...
and use the field as a prefix to the content with two new lines
2 years ago
DanConwayDev
937836ad16
feat: filter issues and proposals by status
...
display open by default
show open count in RepoMenu badge
2 years ago
DanConwayDev
b680b3def3
feat: tweak clone clipboard UI
...
so new lines aren't added when copying
2 years ago
DanConwayDev
342b0036e5
feat: enable PWA
...
via vite-plugin-pwa for simple configuration
2 years ago
DanConwayDev
879fe4cef8
chore: bump ngit version to v1.1.2
...
to reflect the newly issued version
2 years ago
DanConwayDev
a5d9f0ab8d
fix: repo event tag in compose
...
broken in refactor:
33d35dcac8
2 years ago
DanConwayDev
2a444abcf3
feat: show repo menu on issue / proposal page
...
by moving the menu into the RepoHeader
enabling feature request:
nostr:nevent1qqsxpezng8ft7hydqz4g06r79n3vu2rrj560v86jhswaaxcf97zz04gw57v5f
2 years ago
DanConwayDev
5628d0d723
fix: lists issue summaries error
...
error preventing issue summaries from being counted introduced in
33d35dcac8
2 years ago
DanConwayDev
7c277d493f
test: fix url in test case
...
as origname/reponame was missing
2 years ago
DanConwayDev
290650a435
fix: reattempt to get user profiles
...
as they often are not recieved the first time
2 years ago
DanConwayDev
33d35dcac8
refactor: fetch user profile only when needed
...
store hexpubkey in Repo and Proposal data object
instead of full profile
this prevents unnecessary state updates for those objects
the trade-off is including business logic (getting profile data)
within UI components
this is mitigated by allowing hexpubkey or UserObject to be passed
to UI components so that UI component tests can be written without
having to worry about business logic
this new approach can be abstracted to other object types
2 years ago
DanConwayDev
8247e1cbf3
refactor: remove deprecated playwright function
...
as recommended in test output
2 years ago
DanConwayDev
4e691c6994
test: update snapshots
...
and rename argument based on recent change
2 years ago
DanConwayDev
398f19d028
chore: nix flake update
...
update dependancies using `nix flake update`
2 years ago
DanConwayDev
6d9c334946
test: fix playwright version compatibility
...
broken in db49a75069
playwright version installed by yarn needs to match version in nix
otherwise playwright will try and use a version of
chromium not installed
storybook also stopped working after the `yarn upgrade` commit above
so the 'jackspeak' workaround needed to be reintroduced
2 years ago
DanConwayDev
ad541f6a38
docs: notes on listing files from git server apis
...
exploring the possibility of listing files, showing commit messages,
etc via api calls across git server implementations
2 years ago
DanConwayDev
4154384642
feat(RepoPage): rename menu item code ~> about
...
as it is only displaying the readme
2 years ago
DanConwayDev
19471e7c19
feat: display readme from more sources
...
instead of just github. unfortunately most servers have
CORS enabled so a proxy is needed
2 years ago
DanConwayDev
c380c40e9d
feat(init): support multiple git_servers
...
in line with initial merged nip34 spec
2 years ago
DanConwayDev
8b3d46b0fe
build: add basic README.md
...
largely pointing to gitworkshop.dev/about for more details
2 years ago
DanConwayDev
e624fd1a27
fix: replies inherit parent p tags
...
broken in early change
2 years ago
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