Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(client): completed remote tasks stay grouped while their parent is offline #34237

Closedhajpoj(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/34237/headopened View on GitHub

Showing 10 changed files with 7 additions and 1 deletion (loading 7).

x
0 of 10 viewed, 10 left
4 additions and 0 deletionsapps/mobile/src/state/threads.tsModified
View file
@@ -45,6 +45,8 @@
export const environmentThreadShells = createEnvironmentThreadShellAtoms({
catalogValueAtom: environmentCatalog.catalogValueAtom,
snapshotAtom: threadEnvironment.snapshotAtom,
+ shellStatusAtom: environmentShell.statusAtom,
+ removedAtAtom: environmentShell.removedAtAtom,
hiddenThreadTagsAtom: serverEnvironment.hiddenThreadTagsAtom,
});
const steadyShells = createSteadyShellAtoms({
@@ -62,6 +64,8 @@
export const steadyNavigationThreadShellsAtom = createEnvironmentThreadShellAtoms({
catalogValueAtom: environmentCatalog.catalogValueAtom,
snapshotAtom: steadyShells.snapshotAtom,
+ shellStatusAtom: environmentShell.statusAtom,
+ removedAtAtom: environmentShell.removedAtAtom,
hiddenThreadTagsAtom: serverEnvironment.hiddenThreadTagsAtom,
}).navigationThreadShellsAtom;
export const childThreadApprovalsAtom = createChildThreadApprovalsAtom({
2 additions and 0 deletionsapps/mobile/src/state/use-composer-drafts.test.tsModified
View file
@@ -315,6 +315,8 @@
const shells = createEnvironmentThreadShellAtoms({
catalogValueAtom,
snapshotAtom: () => snapshotAtom,
+ shellStatusAtom: () => Atom.make("live" as const),
+ removedAtAtom: () => Atom.make(new Map<ThreadId, number>()),
hiddenThreadTagsAtom: () => Atom.make(null),