Skip to content

fix(contexts): give the focus back to the application after editing it - #3412

Open
rubenvdlinde wants to merge 1 commit into
mainfrom
fix/noid/edit-application-focus
Open

rubenvdlinde wants to merge 1 commit into
mainfrom
fix/noid/edit-application-focus

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

"Edit application" opens from the actions menu of an application in the navigation. The menu closes when the dialog opens, so when the dialog closes, after Save or Cancel, there is nothing to give the focus back to. Keyboard and screen reader users end up on the document and have to start again from the top of the page.

The dialog now tells when it closes, and the navigation entry of that application puts the focus back on its actions button.

Found by @zavalit while testing #3215 with the keyboard.

How it was tested

New cypress/component/NavigationContextItem.cy.js: once the edit dialog of an application closes, the focus is on that application's actions button. The test fails without the change.

🖼️ Screenshots

None, no visible change.

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔙 Backport requests are created or not needed: /backport to stableX.X
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

"Edit application" closes the actions menu of the application without
returning the focus, because a dialog opens from it, and the dialog then has
nothing to give the focus back to when it closes: the menu item is gone.
Keyboard users ended up on the document after Save or Cancel and had to start
again at the top. The dialog now says when it closes, and the navigation entry
of that application focuses its actions button.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ruben van der Linde <ruben@conduction.nl>
@blizzz blizzz added bug Something isn't working 3. to review Waiting for reviews labels Nov 30, 2026
@blizzz blizzz added this to the v3 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants