Merged
Conversation
Deploying wildcat-dashboard with
|
| Latest commit: |
346440b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3f611d98.wildcat-dashboard.pages.dev |
| Branch Preview URL: | https://237-remove-enable-minting-bu.wildcat-dashboard.pages.dev |
There was a problem hiding this comment.
Pull request overview
This PR removes the “Enable minting” action from the quotes UI and cleans up the related client/API surface, updating the OpenAPI spec and regenerating the TypeScript SDK/react-query wrappers accordingly.
Changes:
- Removed the enable-minting mutation/handler from
useQuoteMutationsand removed the enable-minting confirm UI fromQuoteActions. - Updated
QuotePageto stop passing the removedmintingEnabledprop intoQuoteActions. - Updated OpenAPI + regenerated client code to remove
postEnableQuoteMintingand adjust quote status typing; also (re)introducedpostTokenStatusin the generated SDK.
Reviewed changes
Copilot reviewed 5 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/pages/quotes/components/useQuoteMutations.ts | Removes the enable-minting mutation + handler from quote mutations hook. |
| src/pages/quotes/QuotePage.tsx | Stops passing mintingEnabled into QuoteActions. |
| src/pages/quotes/QuoteActions.tsx | Removes the enable-minting confirm drawer/button and associated state/i18n strings. |
| src/generated/client/types.gen.ts | Regenerated API types (removes enable-minting types; modifies quote status union; modifies ebill-mint-complete request type). |
| src/generated/client/sdk.gen.ts | Regenerated SDK (removes postEnableQuoteMinting; moves/updates postTokenStatus; changes getEbillMintComplete signature). |
| src/generated/client/index.ts | Removes exports/types for the removed enable-minting endpoint. |
| src/generated/client/client/client.gen.ts | Adds a TODO comment in generated client error handling branch. |
| src/generated/client/@tanstack/react-query.gen.ts | Regenerated react-query wrappers (removes enable-minting mutation; adjusts token-status and ebill-mint-complete helpers). |
| opt/wildcat/openapi.json | Updates OpenAPI spec (removes enable-mint endpoint; modifies quote status schema; adjusts ebill payment-complete path). |
| opt/wildcat/backup/_openapi.json | Updates backup OpenAPI snapshot with related endpoint/schema changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #242 +/- ##
==========================================
- Coverage 74.41% 74.27% -0.14%
==========================================
Files 32 32
Lines 1110 1104 -6
Branches 464 446 -18
==========================================
- Hits 826 820 -6
Misses 275 275
Partials 9 9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
stefanbitcr
approved these changes
Mar 4, 2026
mtbitcr
approved these changes
Mar 4, 2026
cryptosalomao
approved these changes
Mar 5, 2026
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.
No description provided.