Skip to content

Admin: Leave the form of a tree when selecting another tab - #843

Merged
lehni merged 1 commit into
mainfrom
fix/tab-switch-closes-tree-form
Nov 27, 2026
Merged

lehni merged 1 commit into
mainfrom
fix/tab-switch-closes-tree-form

Conversation

@lehni

@lehni lehni commented Nov 27, 2026

Copy link
Copy Markdown
Contributor
  • Selecting another tab while the current tab holds an open tree item form now navigates to the selected tab's route, which closes the form.
  • Before, the route kept naming the other tab's form, so the URL didn't match what was shown, and later edits could jump back to it.
  • Tree forms edit their items in place, so nothing is lost.
  • Adds an e2e test next to the error reveal tests from Admin: Select the tab of the tree whose form displays an error #833.

@lehni
lehni enabled auto-merge (rebase) November 27, 2026 11:12
@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@ditojs/admin

npm i https://pkg.pr.new/ditojs/dito/@ditojs/admin@843

@ditojs/build

npm i https://pkg.pr.new/ditojs/dito/@ditojs/build@843

@ditojs/router

npm i https://pkg.pr.new/ditojs/dito/@ditojs/router@843

@ditojs/server

npm i https://pkg.pr.new/ditojs/dito/@ditojs/server@843

@ditojs/ui

npm i https://pkg.pr.new/ditojs/dito/@ditojs/ui@843

@ditojs/utils

npm i https://pkg.pr.new/ditojs/dito/@ditojs/utils@843

commit: b1d00f5

@lehni
lehni disabled auto-merge November 27, 2026 11:21
@lehni
lehni force-pushed the fix/tab-switch-closes-tree-form branch from c40998c to b1d00f5 Compare November 27, 2026 11:21
@lehni
lehni enabled auto-merge (rebase) November 27, 2026 11:21
@lehni
lehni merged commit 1cce48f into main Nov 27, 2026
14 checks passed
@lehni
lehni deleted the fix/tab-switch-closes-tree-form branch November 27, 2026 11:29
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.

1 participant