Skip to content

Refreshing browse.html - do not redirect - #777

Merged
SharonStrats merged 2 commits into
stagingfrom
fix-browsehtml
Oct 25, 2026
Merged

SharonStrats merged 2 commits into
stagingfrom
fix-browsehtml

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

fix redirect for browse.html and also needed to make a couple other changes because the profile heading was not appearing when viewing a webid.

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

URL preservation also skips navigation metadata updates, leaving navigation listeners with stale pane and account-menu state.

1 open issue
What changed in this PR

Adds an opt-in URL-preservation option for standalone shells such as browse.html, allowing them to display a subject without replacing the shell’s address.

Changes:

  • Adds preserveUrl to navigation options.
  • Skips history updates when URL preservation is requested.
  • Documents the option for standalone-shell callers.
File Description
src/​outline/​manager.js Adds the history-update guard for URL preservation.
src/​navigation/​options.ts Defines the optional preserveUrl flag.
docs/​navigation-design.md Documents shell usage and unchanged default behavior.

Review effort: Balanced

Comment thread src/outline/manager.js Outdated
Base automatically changed from fix/navigation-views to staging October 25, 2026 20:09
@SharonStrats
SharonStrats force-pushed the fix-browsehtml branch 2 times, most recently from 23faa32 to c42b100 Compare October 25, 2026 21:36
@SharonStrats
SharonStrats requested a balanced review from Copilot October 25, 2026 21:39

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

URL preservation uses the global document’s URL, which can overwrite the shell URL when the outliner manages another document.

1 open issue
1 resolved since last review

Review effort: Balanced

Comment thread src/outline/manager.js Outdated
Prompt: when on browse.html the user gets redirected to localhost:3100/storare

Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com>
@SharonStrats
SharonStrats merged commit 3d0a89f 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-browsehtml branch October 25, 2026 23:03
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.

3 participants