Skip to content

fix(editor): preserve active files position after restart - #2721

Merged
bajrangCoder merged 1 commit into
mainfrom
fix-active-files-tab-position
Aug 11, 2026
Merged

fix(editor): preserve active files position after restart#2721
bajrangCoder merged 1 commit into
mainfrom
fix-active-files-tab-position

Conversation

@bajrangCoder

Copy link
Copy Markdown
Member

No description provided.

@greptile-apps

greptile-apps Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR centralizes application of the open-file-list layout state and applies the persisted tab position during editor construction, preserving the selected header, sidebar, or bottom placement after restart.

  • Applies persisted layout attributes when the pane root is created.
  • Keeps pane-tab visibility, tab position, and the root layout attribute synchronized.
  • Removes duplicate layout mutations from the individual rendering branches.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete changed-code failure identified.

Persisted settings are initialized before editor construction, the new layout helper safely updates detached pane elements, and synchronization consistently reads the committed layout value.

Important Files Changed

Filename Overview
src/lib/editorManager.js Centralizes open-file-list layout DOM state and restores it during initialization; no actionable regression was identified.

Reviews (1): Last reviewed commit: "fix(editor): preserve active files posit..." | Re-trigger Greptile

@bajrangCoder
bajrangCoder added this pull request to the merge queue Aug 11, 2026
Merged via the queue into main with commit 0c6676e Aug 11, 2026
9 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Aug 11, 2026
@bajrangCoder
bajrangCoder deleted the fix-active-files-tab-position branch August 11, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant