Skip to content
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

Feature: Make discard changes work for modals #17515

Draft
wants to merge 18 commits into
base: v15/dev
Choose a base branch
from

Conversation

nielslyngsoe
Copy link
Member

@nielslyngsoe nielslyngsoe commented Nov 12, 2024

NOTICE, REQUIRES NEW VERSION OF UUI TO BE IMPLEMENTED FIRST!
A version of UUI with this PR as part of it:
umbraco/Umbraco.UI#953

fixes #17529

Move route registration logic to collection context — despite still begin initialized at the local collection-view.

And corrects modal route logic, so its possible for a modal to be canceled and jet not submitted.

Also corrects Router-slot to make the 'willChangeState' event include url when it the browser that navigates.

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes

Description

@nielslyngsoe nielslyngsoe marked this pull request as draft November 13, 2024 07:53
@nielslyngsoe nielslyngsoe changed the title Fix: general collection workspace route registration Feature: Make discard changes work for modals Nov 15, 2024
…istration

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/packages/core/modal/context/modal.context.ts
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.

2 participants