Skip to content

refactored solid-pane navigation - #471

Merged
timea-solid merged 4 commits into
stagingfrom
navigation
Oct 14, 2026
Merged

timea-solid merged 4 commits into
stagingfrom
navigation

Conversation

@timea-solid

Copy link
Copy Markdown
Member

No description provided.

Copilot AI balanced review requested due to automatic review settings October 14, 2026 12:05
…istry@5.0.2-0) (latest: rdflib@2.4.1 solid-ui@5.0.1 solid-panes@5.0.0)

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

The pinned solid-panes version does not export the newly called API.

1 open finding
What changed in this PR

Prevents duplicate rendering during browser back/forward navigation.

Changes:

  • Skips the legacy popstate handler when solid-panes handles navigation.
File Description
src/​index.ts Guards legacy browser navigation handling.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/index.ts
// so this handler must not render a second time. The check is made when the event fires: this
// handler is registered at load, before the main page starts.
window.onpopstate = function (_event: any) {
if (panes.isHandlingBrowserNavigation()) return
timea-solid and others added 2 commits October 14, 2026 14:27
…istry@5.0.2-0 solid-panes@5.1.0-0) (latest: rdflib@2.4.1 solid-ui@5.0.1)
@timea-solid
timea-solid merged commit 78fa85d into staging Oct 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants