o-spreadsheet icon indicating copy to clipboard operation
o-spreadsheet copied to clipboard

[IMP] sheetview: lazily re-compute viewports on freeze rows

Open hokolomopo opened this issue 8 months ago • 1 comments

Description

Currently the viewports are immediately recomputed when receiving a FREEZE_ROW command. That means that it's impossible to batch a FREEZE_ROW command with an UPDATE_CELL command, for example, as the header positions are unavailable until the finalize after an UPDATE_CELL command.

Task: : 3600662

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

hokolomopo avatar Jun 11 '24 13:06 hokolomopo