Skip to content

fix(plugin-multi-tenant): unnecessary modal appearing #12854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jun 27, 2025
Merged

Conversation

JarrodMFlesch
Copy link
Contributor

@JarrodMFlesch JarrodMFlesch commented Jun 18, 2025

Fixes #12826

Leave without saving was being triggered when no changes were made to the tenant. This should only happen if the value in form state differs from that of the selected tenant, i.e. after changing tenants.

Adds tenant selector syncing so the selector updates when a tenant is added or the name is edited.

Also adds E2E for most multi-tenant admin functionality.


@JarrodMFlesch JarrodMFlesch marked this pull request as ready for review June 18, 2025 15:20
@DanRibbens
Copy link
Contributor

You got a warrant for that modal?

DanRibbens
DanRibbens previously approved these changes Jun 27, 2025
Copy link
Contributor

@DanRibbens DanRibbens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than the one url param I commented on.

@JarrodMFlesch JarrodMFlesch requested a review from denolfe as a code owner June 27, 2025 14:36
@JarrodMFlesch JarrodMFlesch changed the title fix(plugin-multi-tenant): unwarranted modal appearing fix(plugin-multi-tenant): unnecessary modal appearing Jun 27, 2025
@JarrodMFlesch JarrodMFlesch merged commit 16f5538 into main Jun 27, 2025
156 of 158 checks passed
@JarrodMFlesch JarrodMFlesch deleted the fix/12826 branch June 27, 2025 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-tenant plugin: "Leave without saving" prompt appears when navigating away from unmodified records
3 participants