Repository navigation
QuickAccess: open the resource edit form in a separate window - #301
Open
bartkummel wants to merge 1 commit into
Open
bartkummel wants to merge 1 commit into
bartkummel wants to merge 1 commit into
Conversation
- Add the passbolt.quickaccess.open-edit-resource-in-detached-mode event to open the QuickAccess edit form of a resource in a separate window, which stays open while the user changes the password on the website. The window targets the tab the QuickAccess was opened from, or the active tab. It is refused on Safari, where the QuickAccess must stay attached to the toolbar. - Pass the resource id from the URL to the QuickAccess application. - Register the permission events on the QuickAccess so the edit form can take a permission snapshot before saving, as the vault does. Requires the passbolt_styleguide changes of the same branch name. Refs community.passbolt.com/t/14934 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 of 7 tasks
bartkummel
marked this pull request as ready for review
November 19, 2026 07:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
QuickAccess: open the resource edit form in a separate window
This pull request is a (multiple allowed):
Checklist
Depends on the styleguide pull request: passbolt/passbolt_styleguide#63. This needs a styleguide release containing it before it can be merged.
Related community requests: 14934, 7589, 14824, 14869 / PB-55116.
User stories
What you did
controller/quickaccess/openEditResourceInDetachedModeController.jsevent/quickAccessEvents.jspassbolt.quickaccess.open-edit-resource-in-detached-modeeventpagemod/quickAccessPagemod.jsPermissionEvents(read only) for the permission snapshotwebAccessibleResources/js/app/QuickAccess.jsresourceIdURL parameter to the QuickAccess applicationThe target tab is the opener tab when known, otherwise the active tab at the time of the click (the toolbar popup still has the focus, so it is the website), as
PrepareResourceControllerdoes.Tests: the controller (4 tests, including Safari and the no-tab case) and pagemod tests pass, ESLint is clean, and a Chromium MV3 development build compiles against the styleguide branch. Selenium tests were not run, and the feature was not tested manually in Firefox or Safari.
🤖 Generated with Claude Code