Skip to content
Snippets Groups Projects
Unverified Commit dd5c2026 authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Use metabase-lib v2 to manage limit in the notebook editor (#29618)

* Move `LimitStep` to its own directory

* Add unit-tests to `LimitStep`

* Clean up `LimitStep` and convert to TypeScript

* Include MLv2 query instance to notebook steps

* Implement notebook update with MLv2 query

* Update v2 `limit` wrapper signatures

* Add v2 query to `updateQuery` type

* Use MLv2 to manage limit in the notebook editor

* Extend notebook step's helper functions for MLv2

* Use MLv2 in limit step helpers

* Fix `topLevelQuery` generated from the wrong place

* Respect query staging for `revert` step
parent ec997484
Branches
Tags
No related merge requests found
Showing
with 239 additions and 35 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment