DanConwayDev
17ef5403e3
feat: patch rather than PR status icons
...
use icons more suitable for applying patches than merging PRs
2 years ago
DanConwayDev
5d2d8fd81b
feat: rename merged as applied
...
to better reflect proposals rather than PRs
2 years ago
DanConwayDev
09154c48b0
fix: status errors
...
these changes should have been included in
a9ae256ec0
2 years ago
DanConwayDev
47a66f2fb6
feat: rename pr as proposal
...
as it better fits an approach that seeks to support
both the patch and branching models
2 years ago
DanConwayDev
199a2c48a1
feat: support nip34 revision format
...
gather replies from revisions where the main proposal
event may not be tagged
tag revisions in the status change event
2 years ago
DanConwayDev
a9ae256ec0
feat!: changed to nip34 status
...
using different kind numbers for each status type
2 years ago
DanConwayDev
8273f3472d
feat(PrPage): always show reply compose
...
to intice users to login and reply
2 years ago
DanConwayDev
c66b974721
feat(PrPage): expand patch content
...
patch component now allows each file to expanded to show the diff
2 years ago
DanConwayDev
0b1c250097
feat(): show event json in modal
...
through a button in the event wrapper
2 years ago
jk
96774ba865
build: introduce vitest
...
replace newly introduced jest tests with vitest
closes #3
2 years ago
DanConwayDev
c0754728ce
feat(RepoPage): display nip34 patches as prs
...
with nip34 in its current state there is no way to identify the root
patch without first requesting all patches and client side filtering
out the ones with `[ PATCH n/n ]` in
the content
this commit doesn't do that filtering
2 years ago
DanConwayDev
0aa626454f
feat(PrPage): display patch msg without tag
...
- display the commit message from the patch content if description tag
is not present
- fix '[unknown commit id]' display
to run typescript tests ts-ject was added as a dev dependancy
2 years ago
DanConwayDev
6f6019b32d
feat(RepoPage): add avatar next to pr author name
...
by using UserHeader now a xs inline option is available
2 years ago
DanConwayDev
65ad8e5aac
fix: align UserHeader with inline text
...
the text was previously a few pixels below the line
2 years ago
DanConwayDev
e84643a805
feat(homepage): reduce prominence of repo authors
...
in repo summary cards by:
- making them smaller
- moving them to the bottom
- putting them all on one line
this also creates a less cramped ui
2 years ago
DanConwayDev
44833b5f15
feat(UserHeader): added xs size
...
to enable subtler display of user header
2 years ago
DanConwayDev
7be8801ce9
feat(UserHeader): truncate long names
...
as some users and test accounts use very long names which appear poorly
2 years ago
DanConwayDev
54c5024eb2
feat:(homepage): show repo maintainers
...
- update repo event maintainers format to reflect model used for
multiple entries for a single tag used in nip34
- show all users claiming to be a maintainer of identifier on homepage
2 years ago
DanConwayDev
e06c1075e0
feat(RepoPage): nip34 rename `git_server` `clone`
...
- update repo event tags to reflect nip34
- refactor: move RepoSummary interface and default into type.ts
the notable visible change is to use `clone` tag in place of
`git_server`
non-nip34 tags are supported: `unique_commit` and `maintainers`.
these enable desirable functionality to be maintained.
2 years ago
DanConwayDev
a03b13235b
feat(UserHeader): add size option
...
enables the display of UserHeader in sm or md option when flag inline is
true or false
2 years ago
DanConwayDev
6f010c29ec
feat(UserHeader): add inline flag
...
this option reduces the size of the avatar so that it doesn't effect the
line height. note this only works at the text size / line-height
where the component is currently used.
2 years ago
jk
8ae123fd0b
eslint + prettier ( #2 )
...
Co-authored-by: DanConwayDev <114834599+DanConwayDev@users.noreply.github.com>
2 years ago
jk
c03a4cd01d
Fix reactive values in UserHeader
2 years ago
DanConwayDev
0e29374773
fix(homepage): remove duplicate repo events
...
temporary solution to users who accidentally ran `ngit claim` on a repo
they didn't own
ngit will select the version listed in `maintainers.yaml` if present but
git together doesn't have a trusted copy of the underlying repo to find
the correct `maintainers.yaml`
presenting multiple options for the user combined with a staring /
following system linked with WoT is the long term plan
2 years ago
DanConwayDev
5889f305e5
fix(PRPage): status event using t not l
...
this change was ommited when t was changed to l in dd24dc12
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
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
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
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
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
75d649f2b9
feat(PRPage): display status event
...
list status update in timeline
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
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