Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): drag pinned threads into your own order #5581

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 5 commits intomain fromrefs/pull/5581/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 34 changed files with 46 additions and 0 deletions (loading 32).

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