Skip to content

fix: don't return to a permanent link when cancelling a vault unlock - #4155

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/vault-cancel-from-permalink
Nov 3, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/vault-cancel-from-permalink

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

Cancel on the vault unlock page opened from a permanent link now goes to the folder that holds the vault instead of looping back to the unlock page, and Back no longer gets stuck. Permanent links are now replaced in the history, so Back after opening one returns to the page you came from.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest), browser tests (Playwright) against a local OpenCloud
  • test case 1: unit: no cancel URL when coming from a permanent link, permanent links resolve with router.replace
  • test case 2: browser: Cancel from file and vault-folder permalinks (personal, project space, Pixel 7), Back, unlocking from a permalink, Back after normal file/folder/details/app permalinks, missing-file error, Cancel from the files list unchanged

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@AlexAndBear
AlexAndBear merged commit 9709827 into main Nov 3, 2026
29 checks passed
@AlexAndBear
AlexAndBear deleted the fix/vault-cancel-from-permalink branch November 3, 2026 16:10
@openclouders openclouders mentioned this pull request Nov 3, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cancel on the vault unlock page opened from a permanent link loops back to it

2 participants