mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
fix: add maxTasksHomeScreen to type definitions
This commit is contained in:
parent
bd7b31713c
commit
47e3b606f2
3 changed files with 2 additions and 3 deletions
|
|
@ -180,6 +180,7 @@ export const globalSettingsSchema = z.object({
|
|||
includeTaskHistoryInEnhance: z.boolean().optional(),
|
||||
historyPreviewCollapsed: z.boolean().optional(),
|
||||
reasoningBlockCollapsed: z.boolean().optional(),
|
||||
maxTasksHomeScreen: z.number().int().min(0).max(20).optional(),
|
||||
profileThresholds: z.record(z.string(), z.number()).optional(),
|
||||
hasOpenedModeSelector: z.boolean().optional(),
|
||||
lastModeExportPath: z.string().optional(),
|
||||
|
|
|
|||
|
|
@ -280,6 +280,7 @@ export type ExtensionState = Pick<
|
|||
| "openRouterImageGenerationSelectedModel"
|
||||
| "includeTaskHistoryInEnhance"
|
||||
| "reasoningBlockCollapsed"
|
||||
| "maxTasksHomeScreen"
|
||||
| "includeCurrentTime"
|
||||
| "includeCurrentCost"
|
||||
> & {
|
||||
|
|
|
|||
|
|
@ -75,10 +75,7 @@ export const UISettings = ({
|
|||
</label>
|
||||
<VSCodeTextField
|
||||
id="max-tasks-home-screen"
|
||||
type="number"
|
||||
value={maxTasksHomeScreen.toString()}
|
||||
min="0"
|
||||
max="20"
|
||||
onChange={(e: any) => handleMaxTasksHomeScreenChange(e.target.value)}
|
||||
data-testid="max-tasks-home-screen-input"
|
||||
className="w-32"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue