DanConwayDev
b680b3def3
feat: tweak clone clipboard UI
...
so new lines aren't added when copying
2 years ago
DanConwayDev
c380c40e9d
feat(init): support multiple git_servers
...
in line with initial merged nip34 spec
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
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
32688b87f9
feat: repo details show identifier and name
...
as the identifier may be useful and different from name
2 years ago
DanConwayDev
dd70d07c8c
feat: RepoDisplay add web and reduce text size
...
to reflect web in nip34 draft
2 years ago
DanConwayDev
2c2ee926eb
feat: intelligently load repo events
...
choose repo events based from earliest_unique_commit and indentifier
based on:
- number of mentions (issues and root patches)
- most recent created_at
identify repo events for the same repository based on identical identifiers
and use of earliest_unique_commit
use stores for collections of repo events
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
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
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
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