Maintain inventory selection while sorted rows update
A background refresh reorders rows and moves the editing highlight to another SKU. Anchor selection to identity.
- Focused work estimate
- 3h + prerequisites
- Priority in the scenario
- High
- Engineering practice
- State management · Identity
Estimated field mix
- Frontend100%
Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.
Review it, then add it to your workspace.
The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.
Project context
Fictional supplier Reedworks uses a browser inventory table. Quantities are planning records, not live warehouse instructions.
Setup prerequisites
- Create synthetic SKUs with revisions and nullable quantities.
- Implement a local paginated adapter with conditional updates.
Preceding work
Complete these dependencies, or supply their agreed outputs before taking this ticket.
Acceptance criteria
- Selected SKU remains selected
- Deleted selection clears explicitly
- Sorting cannot change edit target
Implementation constraints
- Array indices cannot identify rows.
Verification to include
- Refresh reordered rows
- Delete the selected SKU mid-edit
Deliverables
- Identity-based selection coordinator
Rollout and recovery
Disable background refresh if selection diverges.
Value of the work
For the engineer: Practice grid interaction and concurrent edit recovery.
For the team: Inspect how changes protect operator intent during partial failures.
Evidence boundaries
Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.
Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.