Fix repo listing not displaying all repos
Show::All which is the default value should return all values obtained
from storage.repositories().
This commit adds a Show::Contributor enum variant to only get repos
that the user has forked, initialized or contributed in some way.
5 files changed
+27
-3
9235f186
→
19fdd17f
modified crates/radicle-types/bindings/repo/RepoCount.ts
@@ -2,6 +2,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-types/src/repo.rs
@@ -15,6 +15,7 @@ use crate::error;
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-types/src/traits/repo.rs
@@ -21,6 +21,7 @@ use crate::traits::Profile;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -34,7 +35,7 @@ pub trait Repo: Profile {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -69,9 +70,11 @@ pub trait Repo: Profile {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -85,12 +88,13 @@ pub trait Repo: Profile {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified src/components/HomeSidebar.svelte
@@ -153,6 +153,22 @@
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified src/lib/router/definitions.ts
@@ -17,7 +17,7 @@ import {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -106,6 +106,8 @@ export async function loadRoute(
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|