Skip to content
Snippets Groups Projects
Commit 6c3535e6 authored by Braden Shepherdson's avatar Braden Shepherdson Committed by Braden Shepherdson
Browse files

[metabase-lib] Refactor SaveQuestionModal and friends to Question

These previously passed around `Card`s, now they use `Question`.

The main changes are in `QueryBuilder`'s `handleSave`/`handleCreate`,
and `SaveQuestionModal`.

This also pulls a bunch of logic from `queries/utils/description` that
depends on the internals on `Question.datasetQuery().query` (ie. the
MBQL) into (mostly private) methods on `Question`. The tests for
`description` were moved into `Question.unit.spec.js`.
parent 439e5665
No related branches found
No related tags found
No related merge requests found
Showing
with 499 additions and 422 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment