-
- Downloads
Move drill thrus to their own namespaces & numerous bug fixes (#33572)
* First crack at drill-thru, adding quick-filter-drill * Adding object detail drill Needs tests for the multi-PK case * Add distribution-drill and foreign-key-drill * Add sort drill * summarize-column and part of automatic-insights * Add `display-info` for drill-thrus and the special pivot functions Clean up and should be ready for FE first crack * Add `drill-thru` implementations for all current drills * small fixes * overhaul of available-drill-thru Fixes several issues with targeting, merges in Mode logic, fixes pivot-drills Still TODO: other drills' mode conditions; lots of checking and testing the various cases of what should be shown; writing tests for that. * Add `display-info` for drill-thrus and the special pivot functions Clean up and should be ready for FE first crack * Add `display-info` for drill-thrus and the special pivot functions Clean up and should be ready for FE first crack * Integrating the basic drill-thru ops, with some debugging hacks * Fix bad spelling of parameters * bunch of a progress, :null sentinel, refactor to context * tests for lots more cases; two missing drills * adding underlying records drills, not yet working * fixing up to work with upstream changes * fixes from Denis' PR * more progress debugging FE drills and adding tests * drill tests coming along * cleanup, test fixes * display-info-js for recursion * Add TS typing for displayInfo of drill thrus * partial changes for underlying records * hack hack * splitting out progression logic to a separate file * First crack at drill-thru, adding quick-filter-drill * Adding object detail drill Needs tests for the multi-PK case * Add distribution-drill and foreign-key-drill * Add sort drill * summarize-column and part of automatic-insights * Add `display-info` for drill-thrus and the special pivot functions Clean up and should be ready for FE first crack * Add `drill-thru` implementations for all current drills * small fixes * overhaul of available-drill-thru Fixes several issues with targeting, merges in Mode logic, fixes pivot-drills Still TODO: other drills' mode conditions; lots of checking and testing the various cases of what should be shown; writing tests for that. * Add `display-info` for drill-thrus and the special pivot functions Clean up and should be ready for FE first crack * Add `display-info` for drill-thrus and the special pivot functions Clean up and should be ready for FE first crack * Integrating the basic drill-thru ops, with some debugging hacks * Fix bad spelling of parameters * bunch of a progress, :null sentinel, refactor to context * tests for lots more cases; two missing drills * adding underlying records drills, not yet working * fixing up to work with upstream changes * fixes from Denis' PR * more progress debugging FE drills and adding tests * drill tests coming along * cleanup, test fixes * display-info-js for recursion * Add TS typing for displayInfo of drill thrus * partial changes for underlying records * hack hack * splitting out progression logic to a separate file * Lint and test cleanup * MLv2 pivot reorganization part 1 * MLv2 pivots reorganization * Revert some unneeded changes * Don't enable the histogram test * Fix lint errors and add a drill-thru-method implementation for sort * `drill-thru` should support > 3 args * Fix `mu/defmethod` for Cljs * Fix reader error in commented-out code* appease Eastwood --------- Co-authored-by: Braden Shepherdson <braden@metabase.com> Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
Showing
- src/metabase/lib/core.cljc 4 additions, 1 deletionsrc/metabase/lib/core.cljc
- src/metabase/lib/drill_thru.cljc 40 additions, 582 deletionssrc/metabase/lib/drill_thru.cljc
- src/metabase/lib/drill_thru/automatic_insights.cljc 16 additions, 0 deletionssrc/metabase/lib/drill_thru/automatic_insights.cljc
- src/metabase/lib/drill_thru/column_filter.cljc 41 additions, 0 deletionssrc/metabase/lib/drill_thru/column_filter.cljc
- src/metabase/lib/drill_thru/common.cljc 37 additions, 0 deletionssrc/metabase/lib/drill_thru/common.cljc
- src/metabase/lib/drill_thru/distribution.cljc 48 additions, 0 deletionssrc/metabase/lib/drill_thru/distribution.cljc
- src/metabase/lib/drill_thru/foreign_key.cljc 32 additions, 0 deletionssrc/metabase/lib/drill_thru/foreign_key.cljc
- src/metabase/lib/drill_thru/object_details.cljc 101 additions, 0 deletionssrc/metabase/lib/drill_thru/object_details.cljc
- src/metabase/lib/drill_thru/pivot.cljc 118 additions, 0 deletionssrc/metabase/lib/drill_thru/pivot.cljc
- src/metabase/lib/drill_thru/progression.cljc 45 additions, 40 deletionssrc/metabase/lib/drill_thru/progression.cljc
- src/metabase/lib/drill_thru/quick_filter.cljc 73 additions, 0 deletionssrc/metabase/lib/drill_thru/quick_filter.cljc
- src/metabase/lib/drill_thru/sort.cljc 51 additions, 0 deletionssrc/metabase/lib/drill_thru/sort.cljc
- src/metabase/lib/drill_thru/summarize_column.cljc 40 additions, 0 deletionssrc/metabase/lib/drill_thru/summarize_column.cljc
- src/metabase/lib/drill_thru/summarize_column_by_time.cljc 40 additions, 0 deletionssrc/metabase/lib/drill_thru/summarize_column_by_time.cljc
- src/metabase/lib/drill_thru/underlying_records.cljc 50 additions, 0 deletionssrc/metabase/lib/drill_thru/underlying_records.cljc
- src/metabase/lib/drill_thru/zoom_in_timeseries.cljc 32 additions, 0 deletionssrc/metabase/lib/drill_thru/zoom_in_timeseries.cljc
- src/metabase/lib/schema/drill_thru.cljc 135 additions, 68 deletionssrc/metabase/lib/schema/drill_thru.cljc
- src/metabase/util/malli.cljc 18 additions, 3 deletionssrc/metabase/util/malli.cljc
- src/metabase/util/malli/fn.clj 3 additions, 1 deletionsrc/metabase/util/malli/fn.clj
- test/metabase/lib/drill_thru/sort_test.cljc 34 additions, 0 deletionstest/metabase/lib/drill_thru/sort_test.cljc
Loading
Please register or sign in to comment