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

Clicking Visualize in Notebook makes the question "dirty" even if no changes was made #13470

Closed
flamber opened this issue Oct 14, 2020 · 1 comment · Fixed by #16980
Closed
Assignees
Labels
.Frontend Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Querying/Notebook Items specific to the Custom/Notebook query builder .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Milestone

Comments

@flamber
Copy link
Contributor

flamber commented Oct 14, 2020

Describe the bug
When clicking Visualize in Notebook editor, on an existing question, then the state gets "dirty" showing the possibility to "Save" the question, even though there isn't any changes.

To Reproduce
Steps to reproduce the behavior:

  1. Simple question > Sample Dataset > Orders - save question
    image
  2. Click Notebook-editor (top-right), without making any changes, click Visualize
  3. Now the question state is "dirty", with the option to save the question, but no new results are requested, so it's just the frontend state which is set to "dirty". If there were changes to the question, then it would also request POST /api/dataset.
    image

Expected behavior
Only set question to "dirty" if there has been changes to the question.

Information about your Metabase Installation:
Metabase 0.35.0, 0.36.7, 0.37.0-rc2

Additional context
Related to #11994

@flamber flamber added Type:Bug Product defects Priority:P3 Cosmetic bugs, minor bugs with a clear workaround .Frontend Querying/Notebook Items specific to the Custom/Notebook query builder labels Oct 14, 2020
nemanjaglumac added a commit that referenced this issue Oct 16, 2020
nemanjaglumac added a commit that referenced this issue Oct 16, 2020
@nemanjaglumac nemanjaglumac added the .Reproduced Issues reproduced in test (usually Cypress) label Oct 23, 2020
@robdaemon robdaemon assigned robdaemon and unassigned robdaemon Oct 27, 2020
@jeff-bruemmer jeff-bruemmer self-assigned this Jul 12, 2021
@jeff-bruemmer
Copy link
Member

Fixed by #16980.

This was referenced Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P3 Cosmetic bugs, minor bugs with a clear workaround Querying/Notebook Items specific to the Custom/Notebook query builder .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Projects
None yet
4 participants