Sebastian Martinez
6e1c8a09c8
Update package-lock
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 12:29:20 +01:00
Sebastian Martinez
7ef1428284
Add commit detail view
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 12:29:15 +01:00
Alexis Sellier
0cf6ef3427
Fix domain input height
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-31 16:28:10 +01:00
Sebastian Martinez
0a2481792c
Add unit & integration testing
...
* Add Cypress component testing
* Add SeedAddress component testing
* Add Error component test
* Add Search component test
* Add code coverage instrumentation
* Add BranchSelector component testing
* Add coverage check to CI
* Require node version 14
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-31 16:05:23 +01:00
Sebastian Martinez
7ba5ce0f60
Refactor source params into separate object
...
We had a lot variables that we had to pass down from the project view,
and only very few where important to the reactivity of the components.
By using the resolved Promise from `getProject` as transport we can use
now the `source` variable and get the required params by destructuring
it.
In short we can pack now the following params:
```
urn, org, user, seed, peer, project, branches, peers, config, anchors
```
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-26 10:03:26 +01:00
Sebastian Martinez
34673adf4d
Show project with anchor when no commit hash passed
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-18 20:47:22 +01:00
Alexis Sellier
85f8c130cd
Show project head on seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:06:47 +01:00
Alexis Sellier
29e8b7b0f3
Use same width for seed page as org page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
9a92842c21
Create "Dropdown" component
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
a6c9e1bc2e
Don't show branch selector if only one branch
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
2836397883
Make seed stat link to seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
22437fcf4f
Make small improvements to seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
066a415234
Show seed ID in seed page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
6b84e519d3
Make icon filling optional
...
We give the option to fill icons when needed, otherwise
the SVG is rendered "as-is".
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
1e470f9530
Fix project root link to include seed
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Alexis Sellier
d4c55bbbf4
Fix alignment of seed address
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00
Sebastian Martinez
7cbdbd5944
Fix Org Treasury token balances
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 22:56:48 +01:00
Sebastian Martinez
418d6ecc9c
Fix avatar aspect ratio
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 13:31:05 +01:00
Sebastian Martinez
debf82ef36
Add error clause when fetching org members or orgs
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 13:19:39 +01:00
Sebastian Martinez
ba45feae30
Add error clause to seed page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 13:08:36 +01:00
Sebastian Martinez
83373ca507
Add peer selector
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-17 13:08:36 +01:00
Sebastian Martinez
0a5fd211f8
Add plausible analytics
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-14 17:52:22 +01:00
Alexis Sellier
05ed8e15a0
Support for browsing seed projects
...
Eg. /seeds/seed.cloudhead.io/projects/:urn
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-14 12:23:34 +01:00
Sebastian Martinez
8b18e80068
Add SeedAddress to user page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-14 12:01:54 +01:00
Sebastian Martinez
521a2bbf60
Refactor SeedAddress into separate component
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-14 12:01:40 +01:00
Sebastian Martinez
3bced1f486
Improve display of project dropdowns
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-13 17:23:50 +01:00
Alexis Sellier
298fe26e76
Replace event dispatching with bindings
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-13 16:33:56 +01:00
Alexis Sellier
5ec1654676
Fix reactivity when browsing source
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-13 12:42:22 +01:00
Alexis Sellier
145f479a42
Fix indentation
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-13 12:42:17 +01:00
Sebastian Martinez
ddf7b27f55
Add branch browsing and selector
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-01-13 10:37:01 +01:00
Sebastian Martinez
157e025eca
Add catch clause in commit history fetch
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-22 11:41:28 +01:00
Alexis Sellier
ce8db417ae
Fix seed address spacing
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-22 11:27:04 +01:00
Alexis Sellier
8ecc15e808
Update URL when anchor toggle is used
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-22 11:02:54 +01:00
Alexis Sellier
b88d6c9c65
Fix border radius on commit
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-22 10:38:19 +01:00
Alexis Sellier
a473c04467
Improve commit history styling
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-21 15:51:10 +01:00
Sebastian Martinez
02eb4463c1
Add commits listing
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-20 13:39:05 +01:00
Sebastian Martinez
4b2c14e42e
Refactor project browser
...
Extracts the header part of the project browser into a separate
component, some props and functions not necessary anymore in `Browser`
are passed into `Header` or into the superior project `View` and the
clickable parts of the header part are managed by Svelte Events.
This prepares the stage for commit listing and commit details.
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-17 22:42:30 +01:00
Sebastian Martinez
b3929fef74
Add stale anchors feature
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-10 16:06:49 +01:00
Alexis Sellier
f438285904
Fix top padding on mobile user view
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:48:19 +01:00
Alexis Sellier
3a9805d8e2
Fix avatar being squashed in some views
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:48:19 +01:00
Alexis Sellier
721ccff81b
Improve code browsing text on mobile
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:48:19 +01:00
Alexis Sellier
5c179ca3d7
Add a max width to source file names
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:48:19 +01:00
Alexis Sellier
da9eccdd25
Source tree padding only on mobile
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:48:19 +01:00
Alexis Sellier
41708ce87f
Fix layout of member loading
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:48:15 +01:00
Alexis Sellier
41f8e27e9f
Set org page width to 720px
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:30:48 +01:00
Alexis Sellier
ae94027dde
Show commits on user profile
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:28:58 +01:00
Alexis Sellier
05f47af8a2
Fix header link alignment and orgs
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2021-12-07 13:26:48 +01:00
Sebastian Martinez
72d5b3b34c
Add seeds page
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-07 11:11:34 +01:00
Sebastian Martinez
68395bceb2
Refactor responsive and fix mobile toggle nav
...
- Removes the base property from vite.config, until a better solution
has been found, wasn't able to reproduce it locally in production
build though.
- Moves desktop and mobile classes from components to index.css
- Used a own CSS hide mechanism for the ellipsis menu.
- Shortens the addresses in org and users view, and wraps orgs in user
view
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-07 10:44:53 +01:00
Sebastian Martinez
728c7ee4f9
Change asset paths to be relative
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2021-12-06 15:44:39 +01:00