Skip to content

Navigation was not working on storage containers the correct view wasn't shown - #776

Merged
SharonStrats merged 2 commits into
stagingfrom
fix/navigation-views
Oct 25, 2026
Merged

SharonStrats merged 2 commits into
stagingfrom
fix/navigation-views

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Navigation was not working on storage containers the correct view wasn't shown.

Here is a document describing our desired behavior Navigation Testing Scenarios

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

Storage detection misses viewer-declared roots, and layout selection can remain stale after authentication completes.

2 open issues
What changed in this PR

This PR makes storage navigation choose an explicit folder layout based on ownership and navigation source. It also enables friend actions in compact Friends-tab headings.

Changes:

  • Detect storage roots during navigation and pass folder-view options through the outline.
  • Adjust resource-header visibility for storage layouts.
  • Update friend-action rendering and add regression tests.
File Description
test/​unit/​navigation/​storagePane.test.ts Tests forwarding folder-view options.
test/​unit/​navigation/​controller.test.ts Covers storage layouts and root restoration.
test/​unit/​navigation/​chrome.test.ts Tests storage layouts, headers, and friend-action eligibility.
test/​unit/​mainPage/​profileHeadingFriends.test.ts Covers friend actions in compact headings and Friends tabs.
test/​unit/​mainPage/​index.test.ts Updates account-menu navigation expectations.
src/​outline/​manager.js Forwards folder-view options and adjusts header/index handling.
src/​navigation/​options.ts Defines folder-view options and their resolver.
src/​navigation/​controller.ts Detects storage roots and selects their layout.
src/​navigation/​chrome.ts Adds storage-layout and friend-action rules.
src/​mainPage/​profileHeading.ts Enables friend actions on Friends tabs.
src/​components/​profile-heading/​ProfileHeading.ts Shows compact friend actions while hiding Edit.
src/​components/​profile-heading/​ProfileHeading.styles.css Aligns compact heading actions.

Review effort: Balanced

Comment thread src/navigation/controller.ts Outdated
Comment thread src/navigation/controller.ts
@SharonStrats
SharonStrats force-pushed the fix/navigation-views branch 2 times, most recently from e810414 to 9c97022 Compare October 25, 2026 05:00
@SharonStrats
SharonStrats requested review from timea-solid and a balanced review from Copilot October 25, 2026 05:29

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

Access-denial handling can block Dashboard, while stale pod metadata and incomplete storage discovery can still select the wrong view.

3 open issues
2 resolved since last review

Review effort: Balanced

Comment thread src/mainPage/index.ts
Comment thread src/navigation/controller.ts
Comment thread src/outline/manager.js
@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Oct 25, 2026
@SharonStrats SharonStrats linked an issue Oct 25, 2026 that may be closed by this pull request

@timea-solid timea-solid left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this complicates everything more. I am wondering if navigation controller can take the heavy load more, separate between subdomain or not and about type of storage display modes... hm.. But this is a refavtir for later. first we have to get the right behavior down

@SharonStrats

Copy link
Copy Markdown
Contributor Author

this complicates everything more. I am wondering if navigation controller can take the heavy load more, separate between subdomain or not and about type of storage display modes... hm.. But this is a refavtir for later. first we have to get the right behavior down

I created a ticket for this so we can look at it later.

…did not appear on compact profile header

Prompt: when the user is on their "storage" container the full view of folder pane should appear, the storage in navbar should show the sidebar and the content no folder pane header.

Co-authored-by: ClaudeOpus 5.5 <ClaudeOpus5.5@openai.com>
…@5.0.2-3 pane-registry@5.0.2-1 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 d839207 into staging Oct 25, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Oct 25, 2026
@SharonStrats
SharonStrats deleted the fix/navigation-views branch October 25, 2026 20:09
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.

Storage Sidebar is missing on subdomain

3 participants