Quick Add Product in Sales Form
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 0
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
What: Within the SaleFormModal, if the user enters a non-existent product in the autocomplete input, an "Add New Product..." button appears in the list of options. Clicking it opens a simplified ProductFormModal (with only name, price, and category). Upon saving, the SaleFormModal is updated with the new product already selected.
How: A small refactoring in the AutocompleteInput and SaleFormModal to handle this special option.
Value: Eliminates significant friction in the workflow. The user no longer needs to leave the sales screen to add a new item.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the SaleFormModal, AutocompleteInput, and ProductFormModal entry points and trace how products are created and selected. Done means a missing product shows an "Add New Product..." option, the simplified form saves name, price, and category, and the new product is selected in the sale form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, postgresql, spring-boot
- Domain
- api, backend, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100