feat: Add/Edit dialogs for Customers, Suppliers, Products#1
Open
coder-contrib-bot wants to merge 1 commit into
Open
feat: Add/Edit dialogs for Customers, Suppliers, Products#1coder-contrib-bot wants to merge 1 commit into
coder-contrib-bot wants to merge 1 commit into
Conversation
- Create suppliers data layer (repository + provider) - Add CustomerFormDialog with add/edit support - Add SupplierFormDialog with add/edit support - Add ProductFormDialog with add/edit support (includes category dropdown) - Rewrite SuppliersPage with full list view and actions - Wire up Add/Edit buttons in all three pages - Add refresh capability to providers (invalidate on create/update) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
suppliers_repository.dart+suppliers_provider.dart) — was completely missingCustomerFormDialogwith form validation, create/update API calls, and auto-refreshSupplierFormDialogwith same patternProductFormDialogwith toggles for meter-based, piece sale, and active statusSuppliersPagefrom a text stub to a full list view with Add/Edit buttonsonPressed: () {}callbacks inCustomersPageandProductsPageHow to use
After pulling this branch:
cd frontend git pull origin claude-code/crud-dialogs/ki7f1edl flutter run -d chromeClick "Add Customer/Supplier/Product" buttons to open the form dialogs. Click the edit icon on any list item to edit.
Test plan
GIT_AUTHOR_NAME: Claude Code (AI Agent)
GIT_AUTHOR_EMAIL: noreply@anthropic.com
AI Agent: Claude (Opus 4.5)