odoo/o-spreadsheet#7693

Created by BI, Dhrutik Patel (dhrp)

Blocked

label
odoo:master-imp-move-selection-in-selected-zones-dhrp
head
4f0c8538113a8a90e7133adb8323ec3579ba650b
odoo/o-spreadsheet
master #7693 missing r+

[IMP] selection_stream_processor: cycle within selection on Tab/Enter

Description:

When one or more zones are selected, pressing Tab or Enter moves the anchor within the current selection, rather than extending the selection or replacing it.

In-selection navigation:

  • Tab / Shift+Tab: traverse horizontally (right/left), wrap to next row
  • Enter / Shift+Enter: traverse vertically (down/up), wrap to next col
  • With multiple zones, jump to the next zone entry in navigation order
  • Merges are treated as a single target (visited once)

Task: 4647116

review checklist

  • [ ] feature is organized in plugin, or UI components
  • [ ] support of duplicate sheet (deep copy)
  • [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
  • [ ] in model/UI: ranges are strings (to show the user)
  • [ ] undo-able commands (uses this.history.update)
  • [ ] multiuser-able commands (has inverse commands and transformations where needed)
  • [ ] new/updated/removed commands are documented
  • [ ] exportable in excel
  • [ ] translations (_t("qmsdf %s", abc))
  • [ ] unit tested
  • [ ] clean commented code
  • [ ] track breaking changes
  • [ ] doc is rebuild (npm run doc)
  • [ ] status is correct in Odoo