Skip to content

fix: keep ?fresh-partial an implementation detail#3776

Merged
bartlomieju merged 3 commits into
freshframework:mainfrom
CertainLach:push-nyyqqyrpmnkv
Apr 26, 2026
Merged

fix: keep ?fresh-partial an implementation detail#3776
bartlomieju merged 3 commits into
freshframework:mainfrom
CertainLach:push-nyyqqyrpmnkv

Conversation

@CertainLach

Copy link
Copy Markdown
Contributor

When encountering redirect during route change with partials enabled, url in address bar (history api) is being left as ?fresh-partial=true, this doesn't seem right

@bartlomieju bartlomieju 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.

Could you add a test for it?

- Redirect via link click should not create a back-button trap
  (back should go to the page before the redirect, not the redirect source)
- Redirect should not leak ?fresh-partial in the URL bar
@bartlomieju bartlomieju enabled auto-merge (squash) April 26, 2026 08:23
@bartlomieju bartlomieju merged commit c06a84e into freshframework:main Apr 26, 2026
13 of 14 checks passed
@CertainLach CertainLach deleted the push-nyyqqyrpmnkv branch April 26, 2026 14:41
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.

2 participants