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

master Custom Expression in Summarize-section not available #12899

Closed
flamber opened this issue Jul 12, 2020 · 4 comments · Fixed by #12949
Closed

master Custom Expression in Summarize-section not available #12899

flamber opened this issue Jul 12, 2020 · 4 comments · Fixed by #12949
Assignees
Labels
.Frontend Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/Notebook Items specific to the Custom/Notebook query builder .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Projects

Comments

@flamber
Copy link
Contributor

flamber commented Jul 12, 2020

Describe the bug
Seems like #12859 somehow removed Custom Expression from Summarize section.

To Reproduce

  1. Custom question > Sample Dataset > Orders
  2. Click "Pick the metric you want to see" of Summarize-section - normally has Custom Expression as bottom option
    image

Information about your Metabase Installation:
master commit 1a9b648 - going back to previous commit 5753ee1, then it shows up again.

@flamber flamber added Type:Bug Product defects Priority:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness .Frontend Querying/Notebook Items specific to the Custom/Notebook query builder labels Jul 12, 2020
@flamber flamber added this to TODO in 0.36.0 Jul 12, 2020
@nemanjaglumac
Copy link
Member

nemanjaglumac commented Jul 12, 2020

@flamber - I wrote a cy test for this and I'll probably cover #12651 as well. So, what would be the preferred way to contribute with tests, if I'm not the one who is going to also solve the issue?

  • should I simply paste the code snippet with that test in the comment of an issue, or
  • should I open PR and mark it as [WIP]? (then the person who is going to solve it can either contribute to that same PR, or cherry pick it, or... fill in the blank :))

@nemanjaglumac
Copy link
Member

Also, I noticed that in my local dev version (up to date with Metabase) "Basic Metrics" title disappears (as well as the "accordion" type of list presentation). It seems that if is it the only collection available (in my case it is), it directly displays its children (.List-item-title). Here's what I mean:
image

And here's the (gif) screenshot from the latest Mac OS App:
https://share.getcloudapp.com/X6uojZm0

@flamber
Copy link
Contributor Author

flamber commented Jul 13, 2020

@nemanjaglumac You open a PR. Have a look at what Damon usually does: https://github.com/metabase/metabase/pulls/dacort
As for the "Basic Metrics" missing the header, pretty sure that's the default behavior, when there's only one accordion.

@nemanjaglumac
Copy link
Member

@flamber thanks for pointing me to @dacort . It helps on many levels.

Yup, my guess was that it was the default behaviour, as well. I needed to check because it can affect the way tests are composed.

@Opalevanescence Opalevanescence added this to Issues to Test in Cypress Testing Jul 13, 2020
@Opalevanescence Opalevanescence moved this from Issues to Test to Unfixed Issue (but cypress repro has been made) in Cypress Testing Jul 16, 2020
@camsaul camsaul moved this from TODO to 0.36.0 Release blockers in 0.36.0 Jul 16, 2020
@paulrosenzweig paulrosenzweig self-assigned this Jul 17, 2020
paulrosenzweig pushed a commit that referenced this issue Jul 17, 2020
0.36.0 automation moved this from 0.36.0 Release blockers to Done Jul 20, 2020
@Opalevanescence Opalevanescence moved this from Unfixed Issue (but cypress repro has been made) to Double check issue is resolved in Cypress Testing Jul 21, 2020
@nemanjaglumac nemanjaglumac moved this from Double check issue is resolved to Fixed and Checked (Issue) in Cypress Testing Sep 17, 2020
@nemanjaglumac nemanjaglumac added the .Reproduced Issues reproduced in test (usually Cypress) label Oct 1, 2020
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:P1 Security holes w/o exploit, crashing, setup/upgrade, login, broken common features, correctness Querying/Notebook Items specific to the Custom/Notebook query builder .Reproduced Issues reproduced in test (usually Cypress) Type:Bug Product defects
Projects
No open projects
0.36.0
  
Done
Development

Successfully merging a pull request may close this issue.

3 participants