Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): stale Claude threads can start with the Compact chip off #19643

Closedbuzinas(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/19643/headopened View on GitHub

Showing 9 changed files with 63 additions and 0 deletions (loading 6).

x
0 of 9 viewed, 9 left
1 addition and 0 deletionsapps/desktop/src/settings/DesktopClientSettings.test.tsModified
View file
@@ -35,6 +35,7 @@
confirmThreadUnpin: false,
contextWindowMeterEnabled: false,
composerCollapseOnScroll: true,
+ compactStaleThreadsByDefault: true,
dismissedProviderUpdateNotificationKeys: [],
diffFilesCollapsed: true,
diffIgnoreWhitespace: true,
35 additions and 0 deletionsapps/web/src/components/chat/ContextWindowMeter.logic.test.tsModified
View file
@@ -2,11 +2,14 @@
import { describe, expect, it } from "vite-plus/test";
import { deriveProviderInstanceEntries } from "../../providerInstances";
import {
+ type CompactionChipChoices,
formatContextWindowCompactionMessage,
hasAvailableCompactionProvider,
hasDismissedResumeCompaction,
formatContextWindowCost,
resolveContextWindowModelDisplayName,
+ resolveKeepFullHistory,
+ setCompactionChipChoice,
shouldOfferResumeCompaction,
shouldReserveContextWindowMeter,
} from "./ContextWindowMeter.logic";
@@ -198,6 +201,38 @@
});