DanConwayDev
ee6ad507e3
chore: fix breaking changes from dependancies
...
from nostr-tools and ndk
2 years ago
DanConwayDev
5a6f35af51
build: ignore some eslint a11y rules
...
to supress the eslint warnings
2 years ago
DanConwayDev
5cd42d8cef
chore: bump ngit version to v1.5.0
...
to reflect the newly issued version
2 years ago
DanConwayDev
5084e2f5f3
refactor: fix typescript and eslint errors
...
as part of a repository clean up
2 years ago
DanConwayDev
7a11742a70
feat: limit kinds displayed
...
resolving:
nostr:nevent1qvzqqqqx25pzplfq3m5v3u5r0q9f255fdeyz8nyac6lagssx8zy4wugxjs8ajf7pqyxhwumn8ghj7mn0wvhxcmmvqqspfyft430llz04euctxf06z26swatglyc5qczvzhpk29du8x9vf8q3hyn9e
2 years ago
DanConwayDev
b81f4ee497
feat(RepoPage): update nostr url format
...
as introduced in ngit v1.5.0 which works without quotes on MacOS
2 years ago
DanConwayDev
0a0ff2dd77
chore: bump ngit version to v1.5.0
...
to reflect the newly issued version
2 years ago
DanConwayDev
395ccfcb23
chore: bump ngit version to v1.4.6
...
to reflect the newly issued version
2 years ago
DanConwayDev
ae232c3ee1
fix(RepoPage): show readme for non github pages
...
when disabling the proxy, the update inadvertantly prevented
calling the original url.
2 years ago
DanConwayDev
fc8c68eb6d
turn off readme proxy
...
to reducing render function invocations per last commit
2 years ago
DanConwayDev
5f9022a001
move clone button
...
based on feedback that user didn't see it because it was too
far to the right
2 years ago
DanConwayDev
367a1cbd1f
chore: bump ngit version to v1.4.5
...
to reflect the newly issued version
2 years ago
DanConwayDev
e1e5cb7d2a
feat: include kind in share nevent
...
as requested in:
nostr:nevent1qvzqqqqqqypzpepndn2jthmelfxn4umylktqp493ph8yy9d2fse76al2ppprgjcsqy88wumn8ghj7mn0wvhxcmmv9uq3wamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmny9uqzpu6lzfhs9xfjm8ue47mvvuxfwa3rm5v2fdd43ma6g47t7ssv7x70ed7vr6
2 years ago
DanConwayDev
c347d5eed8
fix: ngit url to release
...
so it includes the version number reflecting the new build process
2 years ago
DanConwayDev
55a0247d33
chore: bump ngit version to v1.4.4
...
to reflect the newly issued version
2 years ago
DanConwayDev
449b87664a
fix(ngit): url to mac tar file
...
there was an error in the address
2 years ago
DanConwayDev
7e3b92adef
chore: bump ngit version to v1.4.3
...
to reflect the newly issued version
2 years ago
DanConwayDev
37cd3ec977
chore: bump ngit version to v1.4.2
...
to reflect the newly issued version
2 years ago
DanConwayDev
9020a3b813
chore: bump ngit version to v1.4.1
...
to reflect the newly issued version
2 years ago
DanConwayDev
f62d1de597
chore: bump ngit version to v1.4
...
to reflect the newly issued version
2 years ago
DanConwayDev
ad4f4dbccc
feat(repo): add clone btn
...
which links to downloads and shows nostr clone url
2 years ago
DanConwayDev
af182e3c6a
refactor: abstract install ngit links
...
so they can be reused accross the site
add them to the top of quick start guide as a prereq
2 years ago
DanConwayDev
44ee61c437
feat(homepage): remove about from nabvar
...
as the homepage provides a better summary
2 years ago
DanConwayDev
a6aef0e39b
feat: add `repos` to nav bar
...
for easy access from any page
2 years ago
DanConwayDev
130bc8a6fa
feat(RepoSumamryCard): make author clearer
...
to avoid confusion such as:
nostr:note1eq0s2nncgv00pglrsc9psgxgd782mf3gq4mjw0g6tvhypfd99x8sntz2q3
2 years ago
DanConwayDev
46d94eaac7
feat: use relays from naddr and nevent
...
to find repo events and proposals not default relays
2 years ago
DanConwayDev
e947bf3493
tweak user rendering in warning
...
in the RepoHeader when the event cannot be found
2 years ago
DanConwayDev
1dd0dcc9f6
fix: horizontal scrollbar in chrome
...
which shows due to use of negative margin. didn't impact firefox.
2 years ago
DanConwayDev
f5d384bdde
feat(RepoMenu): add loading state to counts
...
of proposals and issues so it is clear when no items have been found
2 years ago
DanConwayDev
4b5f2c08ef
fix(RepoPage): prevent sidebar spill
...
causing horizontal scrollbar and overspill
2 years ago
DanConwayDev
5d1aa91c08
fix: improve handling of repo event not found
...
even if the repo event doesn't exist there may be many issues
and proposal that reference it so it makes sence to:
1. show the repo Menu with a count of proposals and issues
2. show the details within the address point
2. show the issues and proposals page with a warning
RepoPageWrapper stops overwriting all content with error
RepoHeader show warning
RepoDetails show basic details from address point and a warning
2 years ago
DanConwayDev
b36e9abc5d
fix: incorrect links before repo events load
...
by ensuring all RepoEvent objects hav ea naddr
2 years ago
DanConwayDev
2c26c7d339
fix: ensure repo naddr consistancy
...
proposals / issues are fetched that tag the repo address pointer
for each maintainer listed in the selected repo event. not just the
ones that tag the selected proposal event.
previously, the link to each proposal would change the selected
repository to the first address pointer tagged in the proposal event
not only is the selected repo changing without the user's knowledge,
it can also cause an error if it points to a repo event that doesn't
exist. this happned here:
nostr:note1h25kwpycszl33285exdkrm4qz7a03e37nf4ujvexwqz94yj3k4xql9yj23
this ensures that the selected repo address pointer doesnt change.
if the proposal is accessed via gitworkhop.dev/e/<ref> the page will
error. a seperate change is needed to check through each
address pointer listed until it finds one that points to an actual
event.
2 years ago
DanConwayDev
a63ad345aa
fix: repo preview page crash
...
issue:
nostr:note10kkr6mnj0wulfpenqeq02rzraxfj6yttk8lnfkz6lau9w7jeqldsjjwfla
this adds robustness to previous commit
ensureRepo always returns with writable that includes identifier and
author before any events are fetched
2 years ago
DanConwayDev
dffcb7770e
fix(user): ensureUser with empty hexpubkey crash
...
which caused issue:
nostr:note10kkr6mnj0wulfpenqeq02rzraxfj6yttk8lnfkz6lau9w7jeqldsjjwfla
2 years ago
DanConwayDev
35f8ac1225
fix(compose-issue): add validation warning
...
so user knows why the form cannot be submitted
fixes issue
nostr:note1apl888cf3xsnsaaefhw5f8klle6f4wys3hf6ywqjalluw4nvqm7qrdjcmd
2 years ago
DanConwayDev
d9c3322544
fix(compose): redirect after new issue
...
as it was using the previous url scheme
2 years ago
DanConwayDev
a031fd7763
feat: add logout in navbar
...
needed to change user
2 years ago
DanConwayDev
1417d2b2a3
feat: display delete events
...
to indicate the user wanted to delete the event
2 years ago
DanConwayDev
ea07b55491
feat: event previews for issues, patches and repos
...
to be displayed when they are embedded into events
2 years ago
DanConwayDev
8e0b2cdff1
refactor: cleanup tests
...
remove getSelectedRepo test for a function that no longer exists
2 years ago
DanConwayDev
7dba21cece
feat: render naddr, nevent and note previews
...
when embeded in event content
towards:
nostr:note1rs5shxk8ems0d878tymvntej4zcv4rvg7ntcpac5539xrcvvntss2vqxds
2 years ago
DanConwayDev
7cb3df2dff
fix: remember logged in user
...
fixes
nostr:note18fd52cmq7h6nj32k0xr9q24e0s2j2t0eyqwcamydavut33km7n8qv8mfpg
and
note1pptglp3qmn3nnfc0k7t7mf5y6yv9jq4h72qsf69wtz8e90zs55yqgvr6dq
2 years ago
DanConwayDev
cf440f6cfe
feat: add NIP-31 alt tag to issues
...
and replies when we switch to the nip34 reply kind
2 years ago
DanConwayDev
42fb8a21a2
fix(redirect): dont get issue or patch event twice
...
but instead pass event directly to ensureIssueFull() or
ensureProposalFull()
2 years ago
DanConwayDev
11ab6b5983
fix: lint and format
...
this should be a pre-commit hook
2 years ago
DanConwayDev
1e671cbd9b
fix: console warnings for unknown props
...
by adding unused props
2 years ago
DanConwayDev
7ab6dd285a
fix: error alert overflow
...
nostr references were overflowing
2 years ago
DanConwayDev
c8335a0b5d
fix: neventOrNoteToHexId error handling
...
to prevent svelte 500 error when bech32 invalid
2 years ago
DanConwayDev
bf4168938d
fix(RepoPage): display error when naddr not found
...
previously it would just display as untitled
2 years ago