Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] composer: auto-complete pivot dimension after operator #4972

Closed
wants to merge 3 commits into from

Conversation

LucasLefevre
Copy link
Collaborator

Description:

Steps to reproduce:

  • insert a pivot
  • add a calculated measure (the default formula is "=0")
  • delete the "0"

=> the auto-complete isn't displayed

Task: 4176433

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

@robodoo
Copy link
Collaborator

robodoo commented Sep 12, 2024

Pull request status dashboard

Steps to reproduce:
- insert a pivot
- add a calculated measure (the default formula is "=0")
- delete the "0"

=> the auto-complete isn't displayed

The "=" is used as the search term to filter the dimensions
(but no dimension matches)

Task: 4176433
@LucasLefevre LucasLefevre force-pushed the master-auto-complete-after-operator-lul branch from 8a84730 to 40b8f89 Compare September 18, 2024 13:59
@LucasLefevre
Copy link
Collaborator Author

robodoo rebase-ff

@robodoo
Copy link
Collaborator

robodoo commented Sep 18, 2024

Merge method set to rebase and fast-forward.

@LucasLefevre LucasLefevre force-pushed the master-auto-complete-after-operator-lul branch from 40b8f89 to 1545a04 Compare September 18, 2024 14:09
The auto-complete of pivot dimension shows up on too many situations

It should only show up when the cursor is somewhere where a
range is expected or when it's on a symbol (which acts as a search
term)

A notable exception is for boolean values where the auto-complete
should be hidden if the cursor is at true or false

Task: 4176433
Steps to reproduce:

- type in a formula =SU
- close the aut-completes with the cross at the top right corner
- hit Enter

=> the formula is completed to =SUM(

Task: 4176433
@LucasLefevre LucasLefevre force-pushed the master-auto-complete-after-operator-lul branch from 1545a04 to 52a4f41 Compare September 18, 2024 14:14
@pro-odoo
Copy link
Collaborator

robodoo rebase-ff r+

@robodoo
Copy link
Collaborator

robodoo commented Sep 24, 2024

Merge method set to rebase and fast-forward.

robodoo pushed a commit that referenced this pull request Sep 24, 2024
Steps to reproduce:
- insert a pivot
- add a calculated measure (the default formula is "=0")
- delete the "0"

=> the auto-complete isn't displayed

The "=" is used as the search term to filter the dimensions
(but no dimension matches)

Task: 4176433
Part-of: #4972
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
robodoo pushed a commit that referenced this pull request Sep 24, 2024
The auto-complete of pivot dimension shows up on too many situations

It should only show up when the cursor is somewhere where a
range is expected or when it's on a symbol (which acts as a search
term)

A notable exception is for boolean values where the auto-complete
should be hidden if the cursor is at true or false

Task: 4176433
Part-of: #4972
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
robodoo pushed a commit that referenced this pull request Sep 24, 2024
Steps to reproduce:

- type in a formula =SU
- close the aut-completes with the cross at the top right corner
- hit Enter

=> the formula is completed to =SUM(

closes #4972

Task: 4176433
Signed-off-by: Pierre Rousseau (pro) <[email protected]>
@robodoo robodoo closed this Sep 24, 2024
@robodoo robodoo added the 17.5 label Sep 24, 2024
@fw-bot fw-bot deleted the master-auto-complete-after-operator-lul branch October 8, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants