Alexis Sellier
cfb695d592
Show which line is highlighted
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-25 16:56:33 +01:00
Sebastian Martinez
a41c3cd293
Add link to code line numbers
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-25 16:03:13 +01:00
Alexis Sellier
000e15c48a
Add clipboard button to clone input
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-25 10:56:07 +01:00
Alexis Sellier
d03e4acf38
Improve clipboard buttons
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-24 17:58:13 +01:00
Sebastian Martinez
b716b1a54b
Add copy buttons to peer id and urn
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-24 11:10:17 -03:00
Sebastian Martinez
856b53dae8
Add delegate info to peer selector
...
This commit also adds a highlight to the currently selected peer and
branch.
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-23 15:09:21 +01:00
Alexis Sellier
2fcab08fc8
Temporary fix for new remotes api
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-22 13:29:49 +01:00
Sebastian Martinez
ee507215fb
Refactor projects
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-21 22:42:52 -03:00
Sebastian Martinez
935044ac4c
Move ProjectContentRoutes into View
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-21 22:42:44 -03:00
Sebastian Martinez
0a65bb22bb
Fix project header responsive
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-12 08:05:17 -03:00
Sebastian Martinez
cca38c8e27
Refetch remote branches when changing peer
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-12 07:08:12 -03:00
Sebastian Martinez
a3ab863a06
Fix peer selector toggle
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-12 06:56:13 -03:00
Alexis Sellier
ade4169775
Remove redundant browse call
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-12 09:45:25 +01:00
Alexis Sellier
8f467a3dbc
Rename for clarity
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-12 09:39:52 +01:00
Alexis Sellier
c58db9d278
Implement more simplifications
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-12 00:37:00 +01:00
Alexis Sellier
7e9e407382
Fix more reactivity issues
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-11 23:07:31 +01:00
Alexis Sellier
27895b7d0c
Simplify project view by splitting components
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-11 16:54:30 +01:00
Alexis Sellier
b9c4cda4cf
Refactor project reactivity
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-11 16:21:03 +01:00
Alexis Sellier
aec7307af8
Fix plural of commit changeset
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 16:10:37 +01:00
Sebastian Martinez
1e827eb458
Update OpenGraph metadata in subpages
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-09 16:07:10 +01:00
Sebastian Martinez
8f58fd7064
Fix commit teaser overflow
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-09 16:03:33 +01:00
Alexis Sellier
f6f69c73a7
Properly type 'source'
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 14:35:54 +01:00
Alexis Sellier
f48bd0935c
Fix type error
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 14:31:58 +01:00
Alexis Sellier
7a193a825d
Improve styles of 'execute' anchor
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 14:20:56 +01:00
Alexis Sellier
f3a1828402
Fix for old http api
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 14:08:51 +01:00
Alexis Sellier
e6f4441be7
Revise seed config
...
No longer use `Config` to store the seed config.
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 13:27:12 +01:00
Sebastian Martinez
e55be482b1
Fix CI
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-09 12:22:37 +01:00
Alexis Sellier
2fc2639b49
Fix anchor lookup in project view
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 10:36:46 +01:00
Alexis Sellier
b26192f933
Start re-imagining anchors
...
* Anchors are loaded alongside projects, but project listings always
come from seeds now
* Removing project info loading from `Widget`
* Start unifying anchor handling
* Rename "Project*" to "Anchor*" when appropriate
* Move to new project api with embedded metadata
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-09 10:36:03 +01:00
Sebastian Martinez
a43ac33ddc
Refactor org and user routes
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-08 10:16:45 +01:00
Sebastian Martinez
82a2ac6f64
Allow users to pass project names into URL
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-07 12:20:25 +01:00
Sebastian Martinez
0263a5f032
Catch Seed class construction errors
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-07 11:35:54 +01:00
Alexis Sellier
4b1e192b1f
Add .git to clone URL
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:22:43 +01:00
Alexis Sellier
07e6a62f4a
Fix project description on mobile
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:20:41 +01:00
Alexis Sellier
580651a958
Fix commit teaser mobile styles
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:20:32 +01:00
Alexis Sellier
3a94e215ba
Work on styles and visuals
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:09:37 +01:00
Sebastian Martinez
02a0ed4664
Fix Icon behaviour with empty clickhandler
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-05 21:05:22 +01:00
Sebastian Martinez
9a91e53619
Toggle peer and branch dropdown
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-04 21:54:59 +01:00
Sebastian Martinez
ea0e8bd3d3
Fix type errors
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-02 12:29:20 +01:00
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
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
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
1e470f9530
Fix project root link to include seed
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-01-18 11:01:58 +01:00