This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 12, 2023
-
-
dpsutton authored
in query_processor.clj we were requiring ```clojure (when-not config/is-prod? (classloader/require 'metabase.query-processor-test.test-mlv2)) ``` And this was blowing up as it was not present in the aliases used for cypress and the FE crew. Now user.clj requires it in the same way that it requires `[metabase.test-runner.assert-exprs]` so we can run tests with `partial=` and their ilk. And it is required by the test entry namespace so CI and test runners find it as well. The `resolve` command in query_processor.clj now works in dev and CI ```clojure query-processor=> (resolve 'metabase.query-processor-test.test-mlv2/post-processing-middleware) ,#'metabase.query-processor-test.test-mlv2/post-processing-middleware ``` (comma to prevent commit message from eliding as a comment) so presumably tests that require the middleware tricks from this test namespace will continue to work.
-
Case Nelson authored
* [MLv2] Remove and replace clause for filters * Convert external-op to internal for remove * Update calls for master
-
Jeff Bruemmer authored
-
Cam Saul authored
-
Anton Kulyk authored
-
Nemanja Glumac authored
* Update the position description of "clear all filters" * Add missing links to `models` page
-
Cam Saul authored
* Column grouping [WIP] * MLv2 Column Grouping * Oops need to munge name * Code overhaul * Test fixes
-
Anton Kulyk authored
-
metamben authored
This is a just a quick patch to make master green again after incompatible parallel merges.
-
metamben authored
* Implement change-direction for orderings See #29694 for details.
-
Denis Berezin authored
-
- Apr 11, 2023
-
-
Aleksandr Lesnenko authored
-
Braden Shepherdson authored
Fixes #29989
-
Cam Saul authored
* Add QP test middleware to validate converted pMBQL queries against MLv2 schema * Revert 'fix' for #29944 * Fix ups * Hack * Fix final test failure * Remove unused namespace * MLv2 metadata calculation validation * Handful of test fixes
* Fix Kondo warning * Skip #29958 * Don't barf when metadata is missing * Skip percentile tests * Update skip rule for #29910 to skip `:convert-timezone` with string literal date * Fix Saved Question js metadata * Update e2e test * Update Cypress test -
Cam Saul authored
* Add QP test middleware to validate converted pMBQL queries against MLv2 schema * Revert 'fix' for #29944 * Fix ups * Hack * Fix final test failure * Remove unused namespace * MLv2 metadata calculation validation * Handful of test fixes
* Fix Kondo warning * Skip #29958 * Don't barf when metadata is missing * Skip percentile tests * Update skip rule for #29910 to skip `:convert-timezone` with string literal date -
Cam Saul authored
* Add QP test middleware to validate converted pMBQL queries against MLv2 schema * Revert 'fix' for #29944 * Fix ups * Hack * Fix final test failure * Remove unused namespace * Fix Kondo warning * Skip #29958 * Fix #29970 * Thank you @metamben
-
Cam Saul authored
-
Cam Saul authored
* Add QP test middleware to validate converted pMBQL queries against MLv2 schema * Revert 'fix' for #29944 * Fix ups * Hack * Fix final test failure * Remove unused namespace * Fix Kondo warning * Skip #29958 * Add MLv2 schema for `:var` * Fix typo * Additional tests.
-
Denis Berezin authored
-
metamben authored
-
Case Nelson authored
* Add current-breakout function * Add handling for breakouts to remove and replace clause * Fix tests and cljs compile * Fix lints * Address PR comments * Adjust naming based on PR comments * Move remove and replace clause to avoid circular def * Fix js requires * Fix JS requires * Update for filter to filters change * Address PR comment
-
metamben authored
* Rename current-filters to filters * Unify return values of pMBQL interrogation functions aggregations, breakouts, expressions, filters, order-bys all return nil instead of an empty vector.
-
Ariya Hidayat authored
-
Nemanja Glumac authored
f -> of
-
Cam Saul authored
* Add QP test middleware to validate converted pMBQL queries against MLv2 schema * Revert 'fix' for #29944 * Fix ups * Hack * Fix final test failure * Remove unused namespace * Fix Kondo warning * Skip #29958
-
Oisin Coveney authored
Co-authored-by:
Oisin Coveney <oisin@metabase.com> Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
Nemanja Glumac authored
-
Braden Shepherdson authored
Use the canonical `metabase.mbql.js/normalize` instead, with a bit of customization for the query builder's needs. In the long run this should be fully unified; for now at least the logic is inside MLv2 now. All the test cases from the existing code are still exercised between `selectors.unit.spec` and `metabase.mbql.js_test`.
-
Cal Herries authored
* Add upterm session * Add sleep to avoid race condition * Remove upterm session * Temporarily remove flaky test * Remove sleep
-
- Apr 10, 2023
-
-
Emmad Usmani authored
* refactor custom `TabList` from `ModelDetailPage` into a core component (#29669) commit-id:e6ea2eb9 * add menu to `TabButton` (#29697) * add `disabled` prop to `TabButton` (#29772) * create renameable `TabButton` variant (#29801) * add `showMenu` prop and fix bg color
-
Case Nelson authored
-
Case Nelson authored
* Rename stage field to fields * Convert join condition to conditions * Do legacy to mbql conversion in lib.util/pipeline * Fixing tests * Do not convert questions twice * Fix linter * Fix tests * Fix mongo tests that were building incorrect legacy queries * Fix mongo properly
-
Cam Saul authored
* Fix #29902 * Test fixes & PR feedback
-
Emmad Usmani authored
* Re-export typesafe redux hooks * rename `redux.unit.spec.js` * add support for `dispatch.action` syntax * use `createMockUser` * replace author name in comment with PR number * remove custom hooks in favor of using `extend-redux` * revert changes to `renderWithProviders`
-
metamben authored
-
Mark Bastian authored
Added code to infer some basic visualizations once sql is inferred. Includes tests.
-
Kyle Doherty authored
This reverts commit 1f402637.
-
metamben authored
-
Ngoc Khuat authored
-
Cam Saul authored
* MLv2: Add sample-dataset test metadata * Fixups * More fixes
-