Skip to content

Fix the issue when you are on a file and resize the screen it disappe… - #786

Merged
SharonStrats merged 4 commits into
stagingfrom
fix/resize2
Oct 31, 2026
Merged

SharonStrats merged 4 commits into
stagingfrom
fix/resize2

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread src/mainPage/index.ts Resolved
SharonStrats and others added 3 commits October 31, 2026 19:32
…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>
…@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)
@SharonStrats
SharonStrats merged commit 6222312 into staging Oct 31, 2026
8 checks passed
@SharonStrats
SharonStrats deleted the fix/resize2 branch October 31, 2026 12:13
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

When i resize a resource to mobile it disappears and shows the folder view

3 participants