Skip to content
Source
Sign inSign up
pingdotgg/t3code

revert(web): working threads stay in the Working shelf when their environment disconnects #31269

Mergedjuliusmarmingemerged 1 commit intomain fromrefs/pull/31269/headmerged by juliusmarminge View on GitHub

Showing 4 changed files with 2 additions and 82 deletions (loading 1).

x
0 of 4 viewed, 4 left
0 additions and 34 deletionsapps/web/src/components/Sidebar.logic.test.tsModified
View file
@@ -11,8 +11,6 @@
getFallbackThreadIdAfterDelete,
hasUnseenCompletion,
resolveSidebarRowThreadId,
- belongsInSidebarWorkingShelf,
- isSidebarEnvironmentDisconnected,
orderItemsByPreferredIds,
pinOrderKeyBetween,
resolveSidebarSweepKeys,
@@ -1004,38 +1002,6 @@
).toBe(false);
- it.each([
- ["connected", true, false],
- ["connected", false, true],
- ["connecting", false, false],
- ["reconnecting", false, true],
- ["offline", false, true],
- ["error", false, true],
- ["unsupported", false, true],
- ["available", false, true],
- ] as const)(
- "lists threads outside the shelf on a %s environment: %s",
- (phase, shellIsLive, disconnected) => {
- expect(isSidebarEnvironmentDisconnected(phase, shellIsLive)).toBe(disconnected);
- },
- );
-​