Skip to content

HYACINTH-1169: Redirect after successful user or publish target creation#487

Open
wtomaszewska wants to merge 1 commit intofeature/HYACINTH-1164-new-publish-targets-frontendfrom
feature/HYACINTH-1169-navigate-after-resource-creation
Open

HYACINTH-1169: Redirect after successful user or publish target creation#487
wtomaszewska wants to merge 1 commit intofeature/HYACINTH-1164-new-publish-targets-frontendfrom
feature/HYACINTH-1169-navigate-after-resource-creation

Conversation

@wtomaszewska
Copy link
Copy Markdown
Contributor

Ticket HYACINTH-1169

Overview

This PR is a follow-up to HYACINTH-1164. It modifies the existing create publish target and create user mutations so they:

  • Navigate to the newly created resource if the mutation is successful.
  • Render a global success toast that persists when navigating to the resource edit page.

One issue I encountered was the use of the MutationAlerts component, which handles both success and error mutations. Since we still want to display creation errors on the page but use toasts for success, I split MutationAlerts into MutationErrorAlert and MutationSuccessAlert for more flexibility.

…arget, display a success notification; adjust test utils to include notifications store; separate MutationAlerts into MutationSuccessAlert and MutationErrorAlert
@wtomaszewska wtomaszewska requested a review from elohanlon March 31, 2026 21:32
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