Skip to content

Fix Profile not working on safari and mobile - #808

Merged
SharonStrats merged 2 commits into
stagingfrom
fix/safari
Nov 9, 2026
Merged

SharonStrats merged 2 commits into
stagingfrom
fix/safari

Conversation

@SharonStrats

@SharonStrats SharonStrats commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

There are multiple refreshes happening on mobile and safari that cause the profile not to be rendered, when it does render the heading is not present.
Both 806 PR and this one are needed they solve different problems. Everything is explained here
https://sharontest.solidcommunity.net/public/SolidOS%20Documents/SafariProblems.md

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.

🔵 Needs a closer look

Mocked tests cannot validate Safari/iOS navigate-event metadata or dispatch timing, so account-menu profile rendering and Enter-on-current-URL behavior require verification in a real Safari/iOS browser.

No open issues 🎉

What changed in this PR

This PR addresses Safari and mobile profile rendering failures by distinguishing application history writes from user navigation, preventing unintended refreshes that disrupt the profile view and heading.

Changes:

  • Ignore same-URL history replacements while preserving Enter-key navigation handling.
  • Expand regression tests for delayed Safari history events, missing metadata, and navigation without fragments.
File Description
test/​unit/​navigation/​browserEvents.test.ts Adds navigation metadata and regression coverage for Safari history writes.
src/​navigation/​browserEvents.ts Filters history-write events to avoid unintended profile restoration.

Review effort: Balanced

Prompt: There are multiple refreshes happening on mobile and safari that
cause the profile not to be rendered, when it does render the heading is not present

Co-authored-by: Claude Opus 5.5 <claude-5.5-opus@openai.com>
…@5.0.2-8 pane-registry@5.0.2-3 folder-pane@4.0.1-2 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 moved this to In review in SolidOS NLNet UI Nov 9, 2026
@SharonStrats SharonStrats linked an issue Nov 9, 2026 that may be closed by this pull request
@SharonStrats
SharonStrats merged commit d6487ae into staging Nov 9, 2026
8 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 9, 2026
@SharonStrats
SharonStrats deleted the fix/safari branch November 9, 2026 22:23
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.

Safari - more problems surrounding profile

2 participants