This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 30, 2023
-
-
Braden Shepherdson authored
Fixes #29935. Part of the issue here was incorrect hand-rolling of the second argument to `:case`, the default value. In the failing test case given in #29935, it was written as `{:default 0}`. But that's accidentally transferring for legacy MBQL works, where the default is an option and the options come last rather than first in a clause. This also fixes `lib.common/->op-arg` to make sure it recurses properly. It wasn't recursing into lists or MBQL clauses, which left unresolved `(fn [query stage] ...)` functions in eg. `:case` alternatives, since those are nested inside lists.
-
bryan authored
* add migration for typed collections * add hydration of collections to card+dashboard api - adds it for: - GET /api/question/:id - GET /api/dashboard/:id * fix test that checks for collection shape * get tests working with hydrated collection * typo fixes * fix more tests - PUT requests don't hydrate :collection * update tests to fix param_values {} vs nil inconsistencies
-
metamben authored
Part of #31157.
-
Emmad Usmani authored
* fix dashboard save failure after deleting tabs * fix undo regression and remove unused code in delete reducer case
-
Natalie authored
-
Natalie authored
-
Ariya Hidayat authored
-
Tim Macdonald authored
* Use faster inserts in MySQL * Add local_infile check * PR feedback * Fix boolean handling for MySQL * Fix tests; fix MySQL fallback if local_infile is turned off * Turn local_infile on for MySQL tests * Another way of doing MySQL local_infile :/ * sanitize-file-name was a misstep. Not needed for security and could cause problems * Mistaken docstring
-
Braden Shepherdson authored
This was causing ambiguous references, since `order-by` clauses reference columns from previous stages by name. Fixes #30401.
-
Anton Kulyk authored
* Make stage index required in MLv2 methods * Add wrappers for `appendStage` and `dropStage` * Fix notebook stage index management * Fix `QuestionRowCount` * Fix `StructuredQuery` limit method * Clean redundant stages in notebook
-
Uladzimir Havenchyk authored
-
Cal Herries authored
-
Nemanja Glumac authored
-
Mahatthana (Kelvin) Nomsawadi authored
This is because `source-field` was missing from a field dimension.
-
Alexander Polyankin authored
-
- May 29, 2023
-
-
Case Nelson authored
* Add initial filterable columns implemenation * Implement filterable-columns Change filters to return internal clauses rather than external operators * Add comments
-
metamben authored
-
Alexander Polyankin authored
-
Alexander Polyankin authored
-
Noah Moss authored
-
Cal Herries authored
Hydrate whether actions are enabled/disabled for the database on action dashcards instead of using GET /api/database/:id (#31021) --------- Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
metamben authored
-
Nemanja Glumac authored
-
Anton Kulyk authored
-
Filipe Silva authored
See https://www.kenmuse.com/blog/avoiding-dubious-ownership-in-dev-containers/ for details on how this happens with containers. Fix #30865
-
Filipe Silva authored
Fix #14964
-
Filipe Silva authored
Fix #26402
-
Cal Herries authored
-
- May 27, 2023
-
-
shaun authored
disable submit button in /admin/databases/<id> if fields unchanged
-
- May 26, 2023
-
-
Mark Bastian authored
We use async to monitor ddl execution for MySQL since it does not have the concept of a (non-select) statement timeout. @snoe had originally set this to 10 minutes, but (we believe) this was causing tests to run exceptionally long and 30 seconds felt more reasonable. After receiving customer feedback that we actually do need longer timeouts, we are restoring the timeout to 10 minutes. Links containing context: - https://github.com/metabase/metabase/pull/23443 - https://github.com/metabase/metabase/pull/27858 - https://metaboat.slack.com/archives/CKZEMT1MJ/p1685128597747419 Fixes #31102
-
Denis Berezin authored
* Update underlying records drill - bring to top, label changes (#29984) * Zoom in Drill (#30208) * Add updated zoom drill title * Fix e2e tests * Add title unit tests * Fix for Records drill UI when it is the only one displayed * Review fixes * Add pivot drill common popover (#30275) * Add grouping for Pivot drill options * Reuse filterField type * Fix date formatting after rebase * Move Automatic insight action to a common popover (#30370) * Refactor ChartClickActionsView, reuse it component in drills (#30706) * 26836 separate views for quick cell click filters (#30532) * Added separate views for QuickFilterDrill * Add tests, fix styles issues * 26836 contains/does not contain quick filter for tables (#30778) * Add contains/does not contain quick filter for tables * Self review fixes * Fix for column header filter search options cropped * Fix for icon margin difference for contains / does not contain filters * Fix contains filter actions icon styles * Add quick filters support for aggregated queries * Not show contains filter for joined fields * Fix typecheck * Adjust string field quick filter section title to have column name (#30888) * 26836 Add View details action for quick filters (#30967) * Add View details action to quick filters * Self review fixes * Fix e2e tests * Fix review issues
-
Aleksandr Lesnenko authored
* fix the question description icon placement in the collection view * fix specs
-
metamben authored
-
Aleksandr Lesnenko authored
-
Cam Saul authored
* Fix `:convert-timezone` and `:get-week` schemas * Make sure moment-timezone stuff gets loaded in Cljs
-
Cam Saul authored
* MLv2: TS wrappers for `fields` and `withFields`; minor tweaks * Fix type declaration
-
lbrdnk authored
* Fix native source query handling for mongo * Add test for mongo nested native query * Fix mongo `aggregation-at-index` usage * Add test for source query with aggregation and sort * Adjust test for presto and oracle * Add PR suggestions
-
Natalie authored
-
Braden Shepherdson authored
This has never worked (see #11371) and produces bad results which group by every individual value of the column, rather than binning/bucketing correctly. This can theoretically be supported, but needs BE work to construct correct queries. To be addressed after MLv2.
-