Fix inbox pagination cursor and sorting
7 files changed
+40
-44
87f54917
→
fb1649cc
modified crates/radicle-tauri/src/commands/inbox.rs
@@ -21,7 +21,7 @@ pub fn list_notifications(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -127,7 +127,7 @@ pub fn list_notifications(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/domain/inbox/models/notification.rs
@@ -33,7 +33,7 @@ pub struct NotificationRow {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/domain/inbox/service.rs
@@ -1,7 +1,5 @@
| - | |
| - | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -35,13 +33,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/outbound/sqlite.rs
@@ -1,4 +1,3 @@
| - | |
|
|
|
|
|
@@ -137,17 +136,24 @@ impl InboxStorage for Sqlite {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -160,9 +166,6 @@ impl InboxStorage for Sqlite {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
modified src/components/RepoNotifications.svelte
@@ -12,7 +12,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -53,7 +53,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/lib/router/definitions.ts
@@ -49,7 +49,7 @@ interface LoadedInboxRoute {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -115,7 +115,7 @@ export async function loadRoute(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -129,7 +129,7 @@ export async function loadRoute(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified src/views/home/Inbox.svelte
@@ -24,7 +24,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -94,7 +94,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -123,16 +123,17 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|