Surface automated mint via a Swap/Auto toggle on the issuance page#1018
Merged
Conversation
Replaces the standalone "Mint" nav item with an in-page switch so the
auto-mint flow is reached from the swap panel — without touching the
zapper.
- panelModeAtom + PanelModeSwitch: a subtle centered link below the panel
("Try Automated Mint" / "Use Swap") that toggles swap vs auto in place
- Issuance page renders the zapper (unchanged) or the wizard embedded in
one shared beige surface; the wizard gains an `embedded` prop to skip
its own container
- Hide the switch once the wizard is running (quote/execution); the gnosis
gate's "Use Swap" now targets the absolute swap route instead of a
relative ".." that redirected to overview when embedded
- Remove the "Mint" sidebar item (route still works as a deep link)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
JuampiRombola
approved these changes
Jun 22, 2026
# Conflicts: # src/views/index-dtf/issuance/async-mint/index.tsx
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.
What
Surfaces the automated mint flow from the swap panel via an in-page toggle, replacing the standalone Mint sidebar item — without modifying the zapper.
Changes
panelModeAtom+PanelModeSwitch: a subtle centered link below the panel ("Try Automated Mint" / "Use Swap") that toggles swap vs auto in place.embeddedprop to skip its own container...redirected to overview when embedded)./issuance/automatedstill works as a deep link.Risk
Low — the zapper is one branch of a conditional (same component, same props, same modal behavior); nothing wraps or intercepts it.
Follow-ups (not included)
/issuance/automatedto open the toggle in auto.