jk
8ae123fd0b
eslint + prettier ( #2 )
...
Co-authored-by: DanConwayDev <114834599+DanConwayDev@users.noreply.github.com>
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
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
dd24dc1236
fix(PrPage): use l tag for status
...
instead of t tag to more closely align to nip-32
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
2a6ef1fbdc
fix: get user relays
...
replace getLoggedInUserRelays with getUserRelays as
getLoggedInUserRelays was broken and getUserRelays is more flexible
2 years ago
DanConwayDev
7507ea2ea7
feat: use user and repository relays
...
- send status events to user and repository relays
- get repoistory events from base relays
- get pr events and replies from repository relays
2 years ago
DanConwayDev
7256f970ab
feat(navbar): add nip07 login
...
- add login function to call nip07 plugin
- add logged_in_user store
2 years ago
DanConwayDev
e3ddb30205
feat(PRPage): add pr status
...
- add pr details
- gather status events when loading PRFull
- add StatusSelector component that enables sending new status events
2 years ago
DanConwayDev
eca198799f
feat(PRPage): custom display of commit events
...
display summary of 317 commit event
2 years ago
DanConwayDev
4861420d63
feat(PRPage): display pr commits and responses
...
- add thread wrapper
- add event wrapper
- display pr events
2 years ago
DanConwayDev
cca93434b0
refactor: replace PRSummary with PRFull
...
create PRFull in preparation for adding related events
2 years ago
DanConwayDev
a64df89733
feat(PRPage): add page and header
...
add page, pr store, pr ui type and pr page header
2 years ago
DanConwayDev
9ccf21c0a7
feat(ListPRs): add author name to summary
...
refactor to reflect new stardards for ui and data logic seperation
2 years ago
DanConwayDev
4fc877bd3e
feat: add UserHeader
...
add user profile details via a svelte store
this sets a standard for abstracting ui from data wrappers even when
multiple calls are needed
2 years ago
DanConwayDev
c142375fd6
feat(ListPRs): add wrapper
...
- add repo page
- add wrapper for for listPR component
2 years ago
DanConwayDev
0b01b857c9
build: add ndk with svelte add-ons
...
consideration was given to using a shared library built in rust
for this and the cli utility but this was discounted for these
reasons:
1. different data storage and caching requirements
2. ndk is more mature and has extra features for building web
apps
3. use of shared svelte components in ndk
4. prospect of contributing git specific components to ndk to
encourage adoption among other clientus
2 years ago