fix: remove orphaned taskHeaderHighlightEnabled setting (reverted on main)

This commit is contained in:
Roo Code 2026-02-09 23:05:25 +00:00
parent 31042b0df5
commit 1bb8002f32
4 changed files with 0 additions and 17 deletions

View file

@ -229,12 +229,6 @@ export const globalSettingsSchema = z.object({
*/
showQuestionsOneByOne: z.boolean().optional(),
/**
* Whether to highlight the task header in the chat view.
* @default false
*/
taskHeaderHighlightEnabled: z.boolean().optional(),
/**
* Path to worktree to auto-open after switching workspaces.
* Used by the worktree feature to open the Roo Code sidebar in a new window.
@ -404,7 +398,6 @@ export const EVALS_SETTINGS: RooCodeSettings = {
customModes: [],
showQuestionsOneByOne: false,
taskHeaderHighlightEnabled: false,
}
export const EVALS_TIMEOUT = 5 * 60 * 1_000

View file

@ -285,7 +285,6 @@ export type ExtensionState = Pick<
| "ttsSpeed"
| "soundEnabled"
| "soundVolume"
| "taskHeaderHighlightEnabled"
| "terminalOutputPreviewSize"
| "terminalShellIntegrationTimeout"
| "terminalShellIntegrationDisabled"

View file

@ -2078,7 +2078,6 @@ export class ClineProvider
checkpointTimeout,
taskHistory,
soundVolume,
taskHeaderHighlightEnabled,
browserViewportSize,
screenshotQuality,
remoteBrowserHost,
@ -2262,7 +2261,6 @@ export class ClineProvider
historyPreviewCollapsed: historyPreviewCollapsed ?? false,
reasoningBlockCollapsed: reasoningBlockCollapsed ?? true,
enterBehavior: enterBehavior ?? "send",
taskHeaderHighlightEnabled: taskHeaderHighlightEnabled ?? false,
cloudUserInfo,
cloudIsAuthenticated: cloudIsAuthenticated ?? false,
cloudAuthSkipModel: this.context.globalState.get<boolean>("roo-auth-skip-model") ?? false,
@ -2505,7 +2503,6 @@ export class ClineProvider
historyPreviewCollapsed: stateValues.historyPreviewCollapsed ?? false,
reasoningBlockCollapsed: stateValues.reasoningBlockCollapsed ?? true,
enterBehavior: stateValues.enterBehavior ?? "send",
taskHeaderHighlightEnabled: stateValues.taskHeaderHighlightEnabled ?? false,
showQuestionsOneByOne: stateValues.showQuestionsOneByOne ?? false,
cloudUserInfo,
cloudIsAuthenticated,

View file

@ -158,8 +158,6 @@ export interface ExtensionStateContextType extends ExtensionState {
setShowQuestionsOneByOne: (value: boolean) => void
showWorktreesInHomeScreen: boolean
setShowWorktreesInHomeScreen: (value: boolean) => void
taskHeaderHighlightEnabled: boolean
setTaskHeaderHighlightEnabled: (value: boolean) => void
}
export const ExtensionStateContext = createContext<ExtensionStateContextType | undefined>(undefined)
@ -269,7 +267,6 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
includeCurrentTime: true,
includeCurrentCost: true,
showQuestionsOneByOne: false,
taskHeaderHighlightEnabled: false,
lockApiConfigAcrossModes: false,
})
@ -623,9 +620,6 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
setIncludeCurrentCost,
showQuestionsOneByOne,
setShowQuestionsOneByOne,
taskHeaderHighlightEnabled: state.taskHeaderHighlightEnabled ?? false,
setTaskHeaderHighlightEnabled: (value) =>
setState((prevState) => ({ ...prevState, taskHeaderHighlightEnabled: value })),
showWorktreesInHomeScreen: state.showWorktreesInHomeScreen ?? true,
setShowWorktreesInHomeScreen: (value) =>
setState((prevState) => ({ ...prevState, showWorktreesInHomeScreen: value })),