Repository navigation
Fix the issue when you are on a file and resize the screen it disappe… - #786
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Resizing while a resource pane is selected leaves stale layout attributes and table markup; the active pane needs updating while preserving selection, with regression coverage for layout-dependent content.
1 open issue
What changed in this PR
This PR addresses files disappearing on resize by preserving the folder explorer and its selected content during layout changes.
Changes:
- Skips full content re-rendering when a folder explorer is present and the theme is unchanged.
- Adds a regression test checking that the explorer and its child content survive mobile and desktop layout transitions.
| File | Description |
|---|---|
| test/unit/mainPage/index.test.ts | Tests explorer and child-content preservation across layout changes. |
| src/mainPage/index.ts | Adds an early return to preserve the existing folder explorer. |
Review effort: Balanced
…ars and shows the folder view again Prompt: when i resize to mobile while viewing a resource it disappears and the folder view appears Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
SharonStrats
force-pushed
the
fix/resize2
branch
from
October 31, 2026 09:47
abfe4bd to
00ed443
Compare
…@5.0.2-5 pane-registry@5.0.2-2 folder-pane@4.0.1-1 profile-pane@4.1.0-0 source-pane@4.0.1-0) (latest: rdflib@2.4.1 activitystreams-pane@2.0.0 chat-pane@4.0.0 contacts-pane@4.0.0 issue-pane@4.0.0 meeting-pane@4.0.0)
timea-solid
approved these changes
Oct 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix the issue when you are on a file and resize the screen it disappears