radicle: add notification count grouped by repo method
While the total notification count and the notification count by repo are needed, for most UIs users will want to see the total notification count grouped by repo. This new method will provide this without the need of checking all possible repos to see if they have notifications.
1 file changed
+50
-1
259adf7d
→
a7e96131
modified radicle/src/node/notifications/store.rs
@@ -323,7 +323,26 @@ impl<T> Store<T> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -424,6 +443,36 @@ mod test {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|