Skip to content

Epic: Inventory Editor Mode (rapid inline updates) #58

@GitAddRemote

Description

@GitAddRemote

Goal

Deliver an Editor Mode on the Inventory screen that enables extremely fast, keyboard-driven per-row updates (location + quantity) with minimal UI friction (green-screen / spreadsheet style).

User Value

  • Rapid corrections and bulk updates without page reloads
  • Keyboard-first workflow with predictable focus movement
  • Works the same for personal + org inventory views

MVP Definition

  • Rename current “Compact” option to “Editor Mode” (keeps compact table layout)
  • Inline editable Location + Quantity per row
  • Location selection uses an accessible combobox with debounced filtering and full keyboard support
  • Enter advances: Location → Quantity → Save → next row Location
  • Save updates a row without a full screen reload; show minimal but obvious “saved” indicator
  • Validation:
    • Location must be selected from the list (no free text)
    • Quantity is a whole number and >= 1
    • Warning threshold: >= 100,000 (non-blocking)
    • Hard max aligns with backend DB trigger: 999,999,999.99 (UI enforces integer-only)

Implementation Guardrails

  • Prefer local filtering of a cached location dataset after initial preload (network round-trips break the “green screen” flow)
  • Avoid full inventory refetch after per-row save; patch local state (optimistic where safe)
  • Accessibility is non-negotiable: keyboard navigation, screen readers, focus management

Stories / Tech Stories

Definition of Done

  • All child issues above are closed with acceptance criteria met.
  • Editor Mode is available and functional in both personal and org inventory views with the behaviors described in MVP Definition.
  • No regressions to Standard mode.
  • Keyboard-only and screen-reader flows verified (manual spot-check + automated tests from Tech: Automated tests for Editor Mode (keyboard + a11y) #68).
  • Performance acceptable at configured page sizes (see Inventory Editor Mode: Allow up to 250 rows per page #64) without focus/scroll jank.
  • Documentation updated (short admin/dev note on Editor Mode behavior and feature flag, if any).

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend services and logicenhancementNew feature or requestepicTop-level feature or themefrontendFrontend app and dashboardinventoryInventory system featureslocationsVerse locations and locations dataperformancePerformance and scalingui-uxUser interface and experience

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions