-
Notifications
You must be signed in to change notification settings - Fork 8.4k
111 #6641
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
111 #6641
Conversation
|
|
Caution Review failedThe pull request is closed. WalkthroughAdds numerous new API client modules, routes, locales, stores, and pages for basic data (bank, brand, color, customer, product, store, supplier, unit), inbound purchase workflows, stock views, and finance records. Updates configs, dependencies, UI adapters, and proxy settings; removes demos/vben routes and pages; introduces CSS and form default change. Changes
Sequence Diagram(s)sequenceDiagram
actor User
participant PurchaseList as PurchaseList View
participant Store as purchaseStore
participant Router
participant Purchase as Purchase View
User->>PurchaseList: Open page / apply filters
PurchaseList->>API: getPurchaseListApi(params)
API-->>PurchaseList: PurchaseList[]
User->>PurchaseList: Open detail (dblclick/click)
alt Purchase tab exists
PurchaseList->>User: Confirm switch?
end
PurchaseList->>Store: set { purchaseId, refreshView=true }
PurchaseList->>Router: navigate('Purchase')
Router-->>Purchase: Mount
Purchase->>Store: read { purchaseId, refreshView }
Purchase->>API: getPurchaseByIdApi(purchaseId)
API-->>Purchase: Purchase data
Purchase->>Purchase: Populate forms and grid
sequenceDiagram
actor User
participant Page as Basic Entity Page
participant Grid as VXE Grid
participant Modal as Entity Modal
participant API
User->>Grid: Search / paginate
Grid->>API: get<Entity>ListApi(params)
API-->>Grid: items
User->>Page: Add/Edit/Delete
alt Add/Edit
Page->>Modal: open(data?)
Modal->>API: create/update<Entity>Api(payload)
API-->>Modal: result
Modal-->>Page: emit('refresh', code)
Page->>Grid: reload/query
else Delete
Page->>API: delete<Entity>Api(id)
API-->>Page: affected
Page->>Grid: query
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~55 minutes Possibly related PRs
Suggested reviewers
Poem
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (68)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Type of change
Please delete options that are not relevant.
pnpm-lock.yamlunless you introduce a new test example.Checklist
pnpm run docs:devcommand.pnpm test.feat:,fix:,perf:,docs:, orchore:.Summary by CodeRabbit
New Features
Style
Chores