Skip to content

[IMP] Model: plugins only see the grid selection#8835

Open
rrahir wants to merge 2 commits into
masterfrom
master-grid-selection-features-rar
Open

[IMP] Model: plugins only see the grid selection#8835
rrahir wants to merge 2 commits into
masterfrom
master-grid-selection-features-rar

Conversation

@rrahir
Copy link
Copy Markdown
Collaborator

@rrahir rrahir commented Jun 2, 2026

Description:

Except from the grid selection, the other actors of the
SelectionProcessor only live in the stores, the plugins don't know about
them.
Since the plugins sometimes call the processor, it means they always
assume that they will impact the grid selection.

With this revision, every call to the selection processor coming from
the plugins will ensure that the grid selection is active.

Task: 6268168

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

When the grid selection is inactive, whether through the composer or a
selectionInput, the user intension is to modify a specific definition or
cell content but not to alter an object present in the grid. They act as
a sort of "modal" that allows to select ranges in the grid and nothing
else.

As such, the table resizer should not be active when the grid selection
isn't eiter.

Task: 6268168
@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Jun 2, 2026

Pull request status dashboard

Except from the grid selection, the other actors of the
SelectionProcessor only live in the stores, the plugins don't know about
them.
Since the plugins sometimes call the processor, it means they always
assume that they will impact the grid selection.

With this revision, every call to the selection processor coming from
the plugins will ensure that the grid selection is active.

Task: 6268168
@rrahir rrahir force-pushed the master-grid-selection-features-rar branch from e9358d6 to 732fd9f Compare June 2, 2026 12:02
@rrahir
Copy link
Copy Markdown
Collaborator Author

rrahir commented Jun 2, 2026

robodoo rebase-ff

@robodoo
Copy link
Copy Markdown
Collaborator

robodoo commented Jun 2, 2026

Merge method set to rebase and fast-forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants