DanConwayDev
937836ad16
feat: filter issues and proposals by status
...
display open by default
show open count in RepoMenu badge
2 years ago
DanConwayDev
4e691c6994
test: update snapshots
...
and rename argument based on recent change
2 years ago
DanConwayDev
b6eb83b498
fix: repo name fallback as identifer
...
if it is not present in the repo event
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
f3fa025b8c
test: update UI snapshots
...
navbar updates to relect adding about page in
0411bb0eb3
proposal header updates related to status fix in
ccad628769
2 years ago
DanConwayDev
d3917c7f12
test: update proposal UI snapshots
...
to reflect changes applied in
b7883063e2
2 years ago
DanConwayDev
fa05263d4e
test: update repo summary UI snapshots
...
should have been updated when changes made in
9ddcf92598
2 years ago
DanConwayDev
68c27b1350
test: update UI snapshots with new icons
...
should have been updated when change made in
17ef5403e3
2 years ago
DanConwayDev
dd70d07c8c
feat: RepoDisplay add web and reduce text size
...
to reflect web in nip34 draft
2 years ago
DanConwayDev
5d2d8fd81b
feat: rename merged as applied
...
to better reflect proposals rather than PRs
2 years ago
DanConwayDev
fc70d3a634
test: fix tests when rename pr
...
fix tests broken by
47a66f2fb6
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
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
08423481b5
test: snapshots reflect prettier +eslint changes
...
ran `yarn test-update` so style changes made in
8ae123fd0b are applied
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
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
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
a4c1ce634d
feat(navbar): improve display of site name
...
and link to home page
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
fad66e14e5
refactor: abstract pr status
...
abstact pr status into its own component
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
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
07e8190713
build: change loading behaviour to fix tests
...
repo summary loading spinner caused intermittant test failures
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
DanConwayDev
656d286036
feat(PageChrome): add responsive container
...
limit width on desktop size screens
2 years ago
DanConwayDev
c142375fd6
feat(ListPRs): add wrapper
...
- add repo page
- add wrapper for for listPR component
2 years ago
DanConwayDev
df843d90ab
feat(ListPRs): add list PRs ui component
...
with test vectors
includes datejs dependancy
2 years ago
DanConwayDev
9c33dd7838
chore: bump daisyui major version
...
to access skeleton feature
small fix of repo loading spinner based on version bump.
2 years ago
DanConwayDev
a17b5fbc8f
feat(homepage): add latest repositories list view
...
add pure ui components:
- add repo summary card
- add repo summary list
add data wrapper components:
- add repo recent
add repo rent to the homepage
2 years ago
DanConwayDev
9efb43e0d2
build: fix dom snapshot config
...
using svelte format for stories requires storybook to run with the
--index-json flag but this breaks the storage location of DOM
snapshots
the configuration files in this commit fixes this and also moves them
to the same location as the image snapshots
2 years ago
DanConwayDev
d663869b0f
build: add visual regression testing
...
add image and dom snapshot comparison for storybook components
image snapshot comparison can been flaky and produce many
false-positives. a higher threshold has been used to mitigate this
although it may not identify all regressions. DOM snapshots
supplement images to increase the likelihood of capturing
regressions.
2 years ago