Skip to content

Commit 4b278cf

Browse files
committed
fix: add missing largeFileLineThreshold property to webview-ui components
1 parent df741d7 commit 4b278cf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

webview-ui/src/context/ExtensionStateContext.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
204204
showRooIgnoredFiles: true, // Default to showing .rooignore'd files with lock symbol (current behavior).
205205
renderContext: "sidebar",
206206
maxReadFileLine: -1, // Default max read file line limit
207+
largeFileLineThreshold: 5000, // Default large file line threshold
207208
pinnedApiConfigs: {}, // Empty object for pinned API configs
208209
terminalZshOhMy: false, // Default Oh My Zsh integration setting
209210
maxConcurrentFileReads: 5, // Default concurrent file reads

webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ describe("mergeExtensionState", () => {
201201
showRooIgnoredFiles: true,
202202
renderContext: "sidebar",
203203
maxReadFileLine: 500,
204+
largeFileLineThreshold: 5000,
204205
cloudUserInfo: null,
205206
organizationAllowList: { allowAll: true, providers: {} },
206207
autoCondenseContext: true,

0 commit comments

Comments
 (0)