Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(sidebar): sync pinned thread order #5528

Closedf-trycua(GitHub profile, opens in a new tab)wants to merge 9 commits intomain fromrefs/pull/5528/headopened View on GitHub

Showing 39 changed files with 134 additions and 2 deletions (loading 37).

x
0 of 39 viewed, 39 left
2 additions and 0 deletionsapps/mobile/src/features/home/HomeRouteScreen.tsxModified
View file
@@ -44,6 +44,7 @@
unsnoozeThread,
pinThread,
unpinThread,
+ reorderPinnedThread,
unsettleThread,
} = useThreadListActions();
const pendingTasks = usePendingNewTasks();
@@ -159,6 +160,7 @@
onUnsettleThread={unsettleThread}
onPinThread={pinThread}
onUnpinThread={unpinThread}
+ onReorderPinnedThread={reorderPinnedThread}
onEnvironmentChange={setSelectedEnvironmentId}
onProjectChange={setSelectedProjectKey}
onOpenEnvironments={() =>
132 additions and 2 deletionsapps/mobile/src/features/home/HomeScreen.tsxModified
View file
@@ -11,15 +11,20 @@
threadSearchMatchKey,
type EnvironmentThreadSearchMatch,
} from "@t3tools/client-runtime/state/thread-search";
+import {
+ pinnedThreadOrderUpdatesForMove,
+ sortPinnedThreads,
+} from "@t3tools/client-runtime/state/thread-sort";
import type {