Rūdolfs Ošiņš
d0edc52831
Refactor search logic
...
- type events that are handed between components
- simplify the `resolve` function interface
- before we had return values and exceptions, now just a single union
type as return value
- move navigation to the Search component to reduce its
responsibilities
- flatten and simplify multi-level branching
- shuffle around code
- move the `resolve` function to the `Search` component module,
because it's only used there
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-29 14:50:13 +02:00
Sebastian Martinez
4ebf073c5b
Refactor isFulfilled check into a utils function
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-15 12:55:46 +02:00
Rūdolfs Ošiņš and Brandon Oxendine
b35d46752f
Add theme switching button
...
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com >
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com >
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-09-15 12:45:56 +02:00
Sebastian Martinez
271fcde43f
Remove deprecated org parts
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-13 10:31:28 +02:00
Sebastian Martinez
b1e0c7a1b5
Add loading more projects
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-09-09 11:42:41 +02:00
Rūdolfs Ošiņš
b3cec1f314
Format *.ts, *.js, *.css, *.html, *.json and *.svelte
...
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org >
2022-08-31 17:47:07 +02:00
Sebastian Martinez
e5f9317436
Improve UX on issue and patches stats
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-31 10:42:38 +02:00
Sebastian Martinez
3a5527208b
Implements activity endpoint for project graph
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-24 12:07:02 +02:00
Alexis Sellier
dbfa9862dd
Only have projects on home page
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-08-24 10:06:13 +02:00
Sebastian Martinez
38ba77c23b
Add query string for issue state filtering
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-16 10:55:35 +02:00
Sebastian Martinez
0c2fbe0e48
Fix spurious requests
...
* It uses the patches and issues count on ProjectInfo to reduce the
amount of requests that are made to the seed nodes.
* It also adds the Delegate type used as a property in the Project class
mirroring the radicle_common::project::Delegate enum, which currently
was only represented as a string[].
* Removes also the maintainers property which isn't used anymore, and
adds the remotes property.
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-05 16:19:08 +02:00
Sebastian Martinez
c5d5053f0c
Add patches
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-08-01 13:06:30 +02:00
Sebastian Martinez
b2c2aeea3c
Fix issue fetching when not supported
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-06-09 09:27:11 +02:00
Sebastian Martinez
aa62ef0bc1
Add issue listing and detail view
...
Signed-off-by: Sebastian Martinez <me@sebastinez.dev >
2022-06-08 23:34:24 +02:00
Sebastian Martinez
e0ee26f2a1
Refactor api calls
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-05-18 15:45:47 +02:00
Alexis Sellier
efb91c7e73
Updates for http-api verified commits change
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-04-07 13:29:59 +02:00
Sebastian Martinez
5384556f14
Add code activity graph to project widget
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-04-04 21:32:25 +02:00
Alexis Sellier
2bed0e4fd0
Fix peer selector for new http-api
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-04-04 20:52:29 +02:00
Sebastian Martinez
286cb1cd21
Improve testing suite
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-03-24 15:05:15 +01:00
Alexis Sellier
0a830432f7
Make project head optional
...
This is useful since some seeds may not have delegates synced.
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-03-02 14:41:04 +01:00
Alexis Sellier
cfc5f4a095
Improve project error handling
...
Fail gracefully if we can't load a peer.
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-03-02 11:50:25 +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
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
Sebastian Martinez
73f2a988c9
Fix getCommits fetch
...
Signed-off-by: Sebastian Martinez <sebastinez@me.com >
2022-02-22 16:37:28 +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
Alexis Sellier
c58db9d278
Implement more simplifications
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-12 00:37:00 +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
217bd814a6
Query delegate projects if radicle.id is set
...
Signed-off-by: Alexis Sellier <self@cloudhead.io >
2022-02-10 13:23:41 +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
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