Commit Graph
31 Commits
Author SHA1 Message Date
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
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 7ef1428284 Add commit detail view
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 12:29:15 +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 83373ca507 Add peer selector
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-17 13:08:36 +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 ddf7b27f55 Add branch browsing and selector
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-13 10:37:01 +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 72d5b3b34c Add seeds page
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-12-07 11:11:34 +01:00
Sebastian Martinez 97a8897d87 Add pending projects and anchor signing
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-26 13:18:17 +01:00
Alexis Sellier b2949d9910 Show branch name when project is at head
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-29 11:04:56 +02:00
Sebastian Martinez 2c3f6c3238 Add toggle function to project anchor label
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-10-29 08:52:12 +02:00
Alexis Sellier 18b28010bb Users can specify anchors address in ENS
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-10-11 18:42:33 +02:00
Alexis Sellier a460b9352e Show last commit on blobs 2021-06-14 14:54:31 +02:00
Alexis Sellier 77c1d0abef Add project stats 2021-06-14 14:37:50 +02:00
Alexis Sellier 618d49e201 [eslint] Enforce semis 2021-06-14 10:38:17 +02:00
Alexis Sellier 964e69a867 Update .eslintignore and run eslint 2021-06-14 10:29:53 +02:00
Alexis Sellier 86269546d5 Implement markdown rendering 2021-06-13 23:52:59 +02:00
Alexis Sellier 1c8c1b925e Get rid of null return values in API 2021-06-13 13:30:09 +02:00
Alexis Sellier 798f06f1ec Improve project path construction 2021-06-12 10:28:44 +02:00
Alexis Sellier c76e42d493 Allow browsing projects my HEAD 2021-06-11 09:52:33 +02:00
Alexis Sellier 08c154c06b Fix path in getTree 2021-06-10 13:42:33 +02:00
Alexis Sellier 26be487ae5 Fix project metadata rendering 2021-06-10 13:27:00 +02:00
Alexis Sellier 6cc9a6c882 Merge branch 'cloudhead/multihash-update' 2021-06-10 13:06:36 +02:00
Alexis Sellier abde1640f5 Move API into its own module 2021-06-10 12:50:32 +02:00
Alexis Sellier f35c989a13 Update for multihash anchors 2021-06-10 12:33:17 +02:00
Alexis Sellier 0b6d60c69a Use semicolons to delimit interface members 2021-06-10 10:58:10 +02:00
Alexis Sellier 97d3ae0bfd Make sure all exported functions are typed 2021-06-10 10:55:13 +02:00
Alexis Sellier 6d313a4d45 Implement project browsing 2021-06-09 20:53:35 +02:00