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
Cannot see Models as the data source in the data selector when opening a model #39699
Closed
Tracked by
#39542
Labels
.Frontend
Priority:P2
Average run of the mill bug
Querying/Models
aka Datasets
Querying/Notebook
Items specific to the Custom/Notebook query builder
.Team/QueryingComponents
Type:Bug
Product defects
Milestone
Comments
nemanjaglumac
added
Type:Bug
Product defects
Priority:P2
Average run of the mill bug
Querying/Notebook
Items specific to the Custom/Notebook query builder
Querying/Models
aka Datasets
labels
Mar 6, 2024
This was referenced Mar 6, 2024
nemanjaglumac
added a commit
that referenced
this issue
Mar 6, 2024
nemanjaglumac
added a commit
that referenced
this issue
Mar 6, 2024
nemanjaglumac
added a commit
that referenced
this issue
Mar 7, 2024
* Show models correctly in the data source picker * Address review comments * Destructure props * Add E2E reproduction for #39699 * Prevent accessing potentially stale value
Fixed in #39686, but the issue stays open until we merge the feature branch to |
nemanjaglumac
added a commit
that referenced
this issue
Mar 7, 2024
* Show models correctly in the data source picker * Address review comments * Destructure props * Add E2E reproduction for #39699 * Prevent accessing potentially stale value
nemanjaglumac
added a commit
that referenced
this issue
Mar 7, 2024
* [HDS] Prep/cleanup steps for Highlighting the data source (#39681) * Rename `DATA_BUCKET` key to `MODELS` * Rename misleading method `isSavedQuestionSelected` is too narrow because we can also have other saved entities, such as models (and soon metrics) as the selected source. * Fix type for `selectedTableId` * Extract `sourceId` * Rename saved question instances to saved entity * Rename related components * Show models correctly in the data source picker (#39686) * Show models correctly in the data source picker * Address review comments * Destructure props * Add E2E reproduction for #39699 * Prevent accessing potentially stale value Closes #39699
nemanjaglumac
added a commit
that referenced
this issue
Mar 7, 2024
* [HDS] Prep/cleanup steps for Highlighting the data source (#39681) * Rename `DATA_BUCKET` key to `MODELS` * Rename misleading method `isSavedQuestionSelected` is too narrow because we can also have other saved entities, such as models (and soon metrics) as the selected source. * Fix type for `selectedTableId` * Extract `sourceId` * Rename saved question instances to saved entity * Rename related components * Show models correctly in the data source picker (#39686) * Show models correctly in the data source picker * Address review comments * Destructure props * Add E2E reproduction for #39699 * Prevent accessing potentially stale value Closes #39699
nemanjaglumac
added a commit
that referenced
this issue
Mar 7, 2024
* [HDS] Prep/cleanup steps for Highlighting the data source (#39681) * Rename `DATA_BUCKET` key to `MODELS` * Rename misleading method `isSavedQuestionSelected` is too narrow because we can also have other saved entities, such as models (and soon metrics) as the selected source. * Fix type for `selectedTableId` * Extract `sourceId` * Rename saved question instances to saved entity * Rename related components * Show models correctly in the data source picker (#39686) * Show models correctly in the data source picker * Address review comments * Destructure props * Add E2E reproduction for #39699 * Prevent accessing potentially stale value Closes #39699 Co-authored-by: Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
This was referenced Mar 18, 2024
Merged
This was referenced May 8, 2024
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
.Frontend
Priority:P2
Average run of the mill bug
Querying/Models
aka Datasets
Querying/Notebook
Items specific to the Custom/Notebook query builder
.Team/QueryingComponents
Type:Bug
Product defects
Describe the bug
When you open a saved model or a question/model based on a saved model in a notebook mode, you currently cannot see the underlying source model in the data picker. This renders the data picker nearly unusable for models.
To Reproduce
The simplest possible scenario:
Expected behavior
Clicking on an entity based on a model should show Models data selector with the resulting model being highlighted.
Logs
No response
Information about your Metabase installation
local dev, master, 4a78412, H2, Sample Database
Severity
P2
Additional context
This behavior existed since forever - basically from the moment we introduced models.
The text was updated successfully, but these errors were encountered: