odoo/o-spreadsheet#4532

Created by fw-bot
Merged at 195f429bfd6bce06508b3f9a9daec7b4dc8ea6ee

Statuses:

label
odoo:saas-17.1-17.0-fix-sheet-name-interaction-rar-kyDl-fw
head
f4cbfde8e21ef862c86d05acbf85e3f5746dbfbd
merged
4 months ago by BI, Rémi Rahir (rar)
odoo/o-spreadsheet
17.0 #4523
saas-17.1 #4532
saas-17.2 #4533
saas-17.3 #4535
master #4536

[FW][FIX] BottomBarSheet: Prevent drag of sheet while editing its name

While editing the name of a spreadsheet in the bottom bar, it was impossible to simply select a part of the text because by clicking down, you would trigger the drag-and-drop of the sheet position.

task-4010842

Description:

description of this task, what is implemented and why it is implemented that way.

Task: : TASK_ID

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

Forward-Port-Of: #4523


  1. https://developer.mozilla.org/en-US/docs/Web/API/PopStateEvent/state ↩↩

  2. https://developer.mozilla.org/en-US/docs/Web/API/Window/hashchange_event ↩↩

  3. https://developer.mozilla.org/en-US/docs/Web/API/URL/hash ↩