Merge pull request #3170 from gaojunran/fix/raise-open-file-line-limit

fix(ui): raise file open line limit to 20k lines
This commit is contained in:
Bohdan Triapitsyn
2026-08-27 23:16:44 +03:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
- Files: opening a file over 5,000 lines is no longer blocked — the line-count guard now allows up to 20,000 lines, letting large files reach the virtualized full-file preview instead of being rejected at the open step (thanks @gaojunran).
- Settings: fixed the Cloudflare Tunnel download link shown when cloudflared is not installed (thanks to @AyoubAchour).
## [1.21.0] - 2026-08-26
+1 -1
View File
@@ -1,4 +1,4 @@
export const MAX_OPEN_FILE_LINES = 5_000;
export const MAX_OPEN_FILE_LINES = 20_000;
export const countLinesWithLimit = (content: string, limit: number): number => {
if (!content) {