Repository navigation
fix(APP-1560): Keep the proposal and execute wizard exits inside the workspace - #1653
Merged
milosh86 merged 2 commits intoDec 3, 2026
Conversation
|
🚀 Preview Deployment: View Here |
|
E2E results (preview) Smoke
|
tyhonchik
approved these changes
Dec 1, 2026
tyhonchik
left a comment
Contributor
There was a problem hiding this comment.
LGTM. Nit: publishProposalDialog.tsx:141 and :218 both compute indexingFallbackUrl ?? daoUtils.getDaoUrl(dao, 'proposals'); one const would do.
…pace when the permission guard redirects Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
milosh86
force-pushed
the
app-1560-proposal-wizard-guard-exits-to-the-dao-page-instead
branch
from
December 2, 2026 08:29
5aa3005 to
80c9acf
Compare
Contributor
Author
|
@tyhonchik nit addressed in the #1657. |
5 of 10 tasks
milosh86
deleted the
app-1560-proposal-wizard-guard-exits-to-the-dao-page-instead
branch
December 3, 2026 08:06
6 of 10 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes APP-1560. When the wallet or permission check fails, the workspace proposal wizard now exits to
returnTo, or else to the workspace default (/proposals?scope={account}), instead of/dao/{network}/{address}/proposals. This matches the existing execute guard and the wizard's close link.The same fallback order (
returnTo ?? exitPath ?? daoUtils.getDaoUrl(...)) now also applies to three more links in the same wizards:createProposalPageClient): the "plugin not found" action link.indexingFallbackUrlparam.successUrlparam.The publish proposal dialog's "View proposal" success link now also stays inside the workspace.
WorkspaceCreateProposalPagereadswsandscopefrom the URL and passes them down asworkspaceParams. When they are set, the link opens/account/{network}/{address}/proposals/{SLUG}?ws&scope. A linked-account plugin opens the linked account's page, as the DAO link already did. If the slug is not known yet, the link goes to the wizard exit. Other callers of the dialog pass noworkspaceParams, so nothing changes for them.On
/dao/…routes there is noreturnToorexitPath, so DAO pages behave as before.createProcessPageClientandcreatePolicyPageClientpass noexitPath. Through the shared guard hook they would now follow areturnTotoo, like their close link already does. No entry point passes one to these wizards today, so nothing changes for them in practice.Out of scope: other
/dao/…links on workspace pages stay with APP-1451.Stacked on #1649 (APP-1529), which adds the workspace routes. Retarget to
mainonce that merges.Type of Change
Developer Checklist:
Review Checklist: