-
Notifications
You must be signed in to change notification settings - Fork 1
feat: quote actions #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@tailwindcss/vite ^4.0.8 → ^4.0.9 @vitest/coverage-v8 ^3.0.6 → ^3.0.7 eslint-config-prettier ^10.0.1 → ^10.0.2 globals ^15.14.0 → ^16.0.0 lucide-react ^0.475.0 → ^0.476.0 msw ^2.7.1 → ^2.7.3 tailwindcss ^4.0.8 → ^4.0.9 typescript-eslint ^8.24.1 → ^8.25.0 vite ^6.1.1 → ^6.2.0 vitest ^3.0.6 → ^3.0.7
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||
|
Hey @mjkeaton , can you check QODO code suggestions. I think 1st one maybe make sense. But im not sure |
Codecov ReportAttention: Patch coverage is 📢 Thoughts on this report? Let us know! |
PR Type
Enhancement, Tests, Dependencies, Other
Description
Added
QuoteActionscomponent and enhancedQuoteandQuoteListcomponents for better quote management and display.Updated type definitions and OpenAPI specifications to include new schemas and fields like
BillInfoandWitness.Enhanced mock database and handlers to support new quote actions and accepted quotes.
Updated dependencies including
tailwindcss,lucide-react, andmsw, and improved development tools.Refactored
Breadcrumbsrendering logic for better structure and simplicity.Updated favicon links for better compatibility across devices and platforms.
Upgraded mock service worker to version 2.7.3 with improved integrity checksum.
Changes walkthrough 📝
6 files
QuotePage.tsx
Added quote actions and enhanced quote display.src/pages/quotes/QuotePage.tsx
QuoteActionscomponent for handling quote actions like "deny"and "offer".
Quotecomponent to include badges for status and formattedbill display.
useMutationanduseQueryClientfor quote actions.states.
QuotesPage.tsx
Added accepted quotes and improved pending quotes display.src/pages/quotes/QuotesPage.tsx
QuoteListAcceptedcomponent to display accepted quotes.QuoteListPendingwith loading indicators and navigation.DevSectionto include accepted and pending quotes indevelopment mode.
types.gen.ts
Updated type definitions for quote and bill structures.src/generated/client/types.gen.ts
InfoReplyand related types to includeBillInfostructure.Witness,P2PkWitness, andHtlcWitness.Breadcrumbs.tsx
Refactored breadcrumbs rendering logic.src/components/Breadcrumbs.tsx
Breadcrumbsrendering logic.openapi.json
Update OpenAPI specification for quote service with new schemas andpaths.opt/wildcat/openapi.json
info.titlefield to "bcr-wdc-quote-service".including switching HTTP methods and adding UUID formats.
BillInfo,BlindSignatureDleq, andupdated existing schemas to reference
BillInfo.signaturein
EnquireRequest.__dev_openapi.json
Revise development OpenAPI specification with updated paths andschemas.opt/wildcat/__dev_openapi.json
info.titlefield to "bcr-wdc-quote-service".BillInfo,BlindSignatureDleq, andWitness,and updated references in existing schemas.
fields like
signatureinEnquireRequest.3 files
admin_quotes.ts
Added handlers for accepted quotes and quote updates.src/mocks/handlers/admin_quotes.ts
updateAdminQuotehandler for quote actions like "deny" and"offer".
db.ts
Enhanced mock database schema for quotes.src/mocks/db.ts
billstructure.handlers.ts
Added new handlers for quote actions.src/mocks/handlers.ts
3 files
mockServiceWorker.js
Updated mock service worker version.public/mockServiceWorker.js
package-lock.json
Updated dependencies and added platform-specific packages.package-lock.json
tailwindcss,lucide-react, andmsw.package.json
Updated project dependencies and development tools.package.json
tailwindcss,lucide-react, andmsw.1 files
index.html
Updated favicon links for better compatibility.index.html