Fix inbox pagination cursor and sorting
modified crates/radicle-tauri/src/commands/inbox.rs
@@ -1,14 +1,13 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -20,10 +19,7 @@ pub fn list_notifications(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -127,7 +123,7 @@ pub fn list_notifications(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -147,7 +143,7 @@ pub fn count_notifications_by_repo(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-types/src/domain/inbox/models/notification.rs
@@ -33,7 +33,8 @@ 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
@@ -13,7 +13,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -58,7 +58,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
@@ -25,7 +25,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -95,7 +95,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -124,16 +124,17 @@
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|