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
DanConwayDev
2a6ef1fbdc
fix: get user relays
...
replace getLoggedInUserRelays with getUserRelays as
getLoggedInUserRelays was broken and getUserRelays is more flexible
2 years ago
DanConwayDev
6874f95f07
feat(PrPage): display event not found error
...
using daisyui alert component
2 years ago
DanConwayDev
3348fe2892
feat(RepoPage): display event not found error
...
using daisyui alert component
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
2f3bd85e80
feat: rename app and tweak ui
...
- rename for 'git together' to 'git work'
- tweak ui to make it responsive
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
2487be2dc9
feat(RepoPage): add RepoHeader
...
create a RepoHeader for use on multiple pages
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
730167bc70
feat(RepoPage): add UserHeader
...
- add UserHeader UI component
- add to RepoDetails
2 years ago
DanConwayDev
07e8190713
build: change loading behaviour to fix tests
...
repo summary loading spinner caused intermittant test failures
2 years ago
DanConwayDev
fb2ad81f70
build: temporarily remove storybook tests from ci
...
yarn test doesn't appear to ever finish when run in ci enviornment
2 years ago
DanConwayDev
dbce354429
build: mitigate intermittent storybook tests in ci
...
removed skipping tests using tags as this isn't functional. cannot
apply tags to stories made using addon-svelte-csf. therefore cannot
skip intermittently passing tests.
instead all tests will be rerun upto 9 times if any tests fail. A
better approach would be rerunning individual tests but this would
require a PR for test-runner.
2 years ago
DanConwayDev
f7ee9ef179
build: fix storybook test running in ci
...
add dependancies to enable tests to run
there is a slight missmatch in html classes in `js.snap` test vectors
when tests are run with storybook is built using `storybook dev` vs
`storybook build`
2 years ago
DanConwayDev
92c9637b8d
feat(RepoPage): add maintainer profile name in ui
...
add ui component states and test vectors for loading, displayName only
and no name or displayName found
wrapper for fetching user profile to follow
2 years ago
DanConwayDev
46edd25ea5
feat(RepoPage): add repo details
...
- add repo details ui component
- add test storybook tests
- add repo details wrapper
- add repo details to repo page
2 years ago
DanConwayDev
51c829134f
feat(ListPRs): reduce heading size
...
so that title doesnt look out of place
2 years ago