Skip to content

As a store employee, I want to be able to switch between modifying all items or just one item, so that I can efficiently update product information as needed.

Description Currently, employees must modify each item individually. Adding a toggle button will allow the employees to choose between:

1- Modifying a single item (for detailed adjustments). 2- Modifying all items at once (for bulk updates like discounts or availability).

This will improve workflow efficiency and reduce repetitive manual updates.

Acceptance Criteria

  • A toggle button must be available on the dashboard.
  • Default state: The toggle should start in "Single Item" mode.
  • When "Modify All" is selected, changes apply to all items at once.
  • When "Modify One" is selected, changes apply to only the selected item.
  • The toggle should visually indicate the selected mode.

Definition of Ready

  • Understood by the team
  • Has clear business value
  • Is estimated
  • Has its dependencies linked
  • Is small
  • Has its acceptance criteria defined

Definition of Done

  • Built and runs without errors
  • Is tested against acceptance criteria
  • Demoed to the team
  • Documented and commented code
  • Pages have some basic styling (if appropriate)
  • Has at least 70% code coverage for automated testing
  • Uses Selenium to full stack test (if appropriate)
  • Has no ESLint errors
Edited by Zainab Almeshari