Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 237-remove-enable-minting-button #243 +/- ##
====================================================================
- Coverage 74.27% 73.33% -0.94%
====================================================================
Files 32 33 +1
Lines 1104 1189 +85
Branches 446 472 +26
====================================================================
+ Hits 820 872 +52
- Misses 275 308 +33
Partials 9 9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Updates the quotes UI and generated API client to align with backend changes around minting/token status, while reducing per-render query load on the status quotes list.
Changes:
- Add paging controls to
StatusQuotePageand limit per-quote detail queries to the visible slice. - Remove “enable minting” mutation/action wiring and update UI logic to use
MintingEnabledstatus and fee token checks. - Regenerate OpenAPI-derived client/types (remove enable-mint endpoint, add token status endpoint, update discriminants) and adjust ignore rules for backup OpenAPI files.
Reviewed changes
Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/pages/quotes/components/useQuoteMutations.ts | Removes enable-minting mutation and handler, keeps deny/offer/request-to-pay flows. |
| src/pages/quotes/StatusQuotePage.tsx | Adds paging state/UI and changes listQuotes query to use date filter + slicing for visible items. |
| src/pages/quotes/QuotePage.tsx | Updates status handling to MintingEnabled, adds fee token extraction and token-status checks. |
| src/pages/quotes/QuoteActions.tsx | Removes enable-minting UI/props and narrows flows to accepted/minting-enabled states. |
| src/generated/client/types.gen.ts | Regenerates types: removes enable-minting types, updates discriminants/status, adds token status types. |
| src/generated/client/sdk.gen.ts | Regenerates SDK: removes enable-minting call, adds token status call, reorders exports. |
| src/generated/client/index.ts | Updates exports to match regenerated SDK/types. |
| src/generated/client/client/client.gen.ts | Adds a TODO comment in generated client error path. |
| src/generated/client/@tanstack/react-query.gen.ts | Regenerates react-query wrappers: removes enable-minting mutation, adds token status mutation, reorders. |
| opt/wildcat/openapi.json | OpenAPI spec updates (token_status endpoint, remove enable_mint, status enum changes). |
| opt/wildcat/backup/_openapi.json | Backup OpenAPI changes (tracked file). |
| .gitignore | Adds redundant ignore entry for /opt/wildcat/backup/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.