Skip to content

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

Open
SharonStrats wants to merge 2 commits into
stagingfrom
fix/navigation-views
Open

SharonStrats wants to merge 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
…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-0 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)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants