This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jan 20, 2023
-
-
Anton Kulyk authored
-
Cal Herries authored
* Add import vars to metabase.test * Adjust clj-kondo config * Import more vars to metabase.test * Remove unused vars from clj-kondo * Import another var * Replace actions.test-util with mt * Fix merge * Import another var * Resolve cyclic deps * Sort ns * Fix quoted namespace
-
- Jan 19, 2023
-
-
dpsutton authored
* Make `parameter_card.parameter_id` long enough for a uuid was char(32). This is a common type for identifiers in our migrations file, but unfortunately not great for ids. ```clojure user=> (count (str (random-uuid))) 36 ``` It seems like dashboards use shorter ids but cards use uuids. * make it varying from a test failure: ``` expected: [{:card_id 813, :parameter_id "_CATEGORY_NAME_", :parameterized_object_id 815, :parameterized_object_type :card}] actual: [#metabase.models.parameter_card.ParameterCardInstance {:card_id 813, :created_at #<java.time.OffsetDateTime@702e9037 2023-01-19T15:09:39.355894Z>, :id 36, :parameter_id "_CATEGORY_NAME_ ", :parameterized_object_id 815, :parameterized_object_type :card, :updated_at #<java.time.OffsetDateTime@5db7ac60 2023-01-19T15:09:39.355894Z>}] ``` "_CATEGORY_NAME_" vs "_CATEGORY_NAME_ "
-
Bryan Maass authored
* handle nil directly <-> u/pprint-to-str ignores it * quick refactor * pprint-to-str handles `nil`, by returning "nil" * trim schema and value in malli.io url params
-
Natalie authored
-
Jeff Bruemmer authored
-
Alexander Polyankin authored
-
Ngoc Khuat authored
-
Alexander Polyankin authored
-
Cam Saul authored
* Switch to Toucan 2 part 1 * Fix Kondo errors * Switch to Toucan 2, part 2 * Fix Kondo errors
-
- Jan 18, 2023
-
-
Luis Paolini authored
-
Tim Macdonald authored
* Bump clj-kondo to 2022.12.10 [Fixes #27512] * Use Kondo's :config-in-call instead of grosser hacks
-
metamben authored
Ordering in nested queries doesn't have to affect how rows are returned from the embedding queries.
-
Cam Saul authored
* Switch to Toucan 2 part 1 * Fix Kondo errors
-
Jeff Bruemmer authored
-
- Jan 17, 2023
-
-
Natalie authored
-
Jeff Bruemmer authored
* add section to dashboard subscriptions on permissions * feedback from Luiz
-
metamben authored
Use the vertica/vertica-ce:12.0.2-0 image.
-
Jeff Bruemmer authored
-
Ryan Laurie authored
* add PivotTable unit tests * obey the linter * measure leftHeader cell content * test cell data width detection * extract static properties * convert to functional component * cleanup refs * extract cellRenderers * extract size and position getter functions * replace item measurement * convert rowToggleIcon to typescript * convert PivotTable to typescript * remove unused hasCustomColors * update tests to typescript * fix rebase
-
Cal Herries authored
* Update dashboard save to save all dashcard data on create, not update * Remove repro e2e test * Add e2e test * Add series to POST request, missing by mistake * Formatting * Rename DashboardApi methods for consistent names and cases
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Add Fira Code * Add basic actions tab * Add "New action" flow * Fix actions tab width * Fix code doesn't show newlines * Add action editing flow * Fix console error * Use Monaco for code snippet * Add an empty state * List implicit actions * Make it possible to add implicit actions * Hide actions tab if actions are turned off * Handle read-only permissions * Fix loader * Sort actions * Add server mocks for action endpoints * Add `createMockImplicitCUDActions` helper * Add tests for the actions tab * Add E2E test for action create-read-update flows * Clean up * Move e2e test to models for now * Fix `EmptyState` usage * Fix action sorting * Avoid boolean casting * Ensure the page explicitly loads database * Use existing color for action query card * Use `space` function * Fix length check
-
Nick Fitzpatrick authored
* adding onlyText button variant * PR feedback
-
Anton Kulyk authored
* Move `PublicApp` to its own directory * Fix `renderWithProviders` for public environment * Clean up `PublicApp` and add tests * Extend coverage * Wasn't planning to commit this yet * Swap condition
-
metamben authored
Also point out that PKCS12 (.p12) keystores are now supported.
-
- Jan 16, 2023
-
-
Ryan Laurie authored
* add PivotTable unit tests * obey the linter * measure leftHeader cell content * test cell data width detection * obey the linter * fix bad rebase
-
Natalie authored
Add note about MongoDB.
-
Alexander Polyankin authored
-
Anton Kulyk authored
* Cherry-pick `ModelPicker` * Cherry-pick actions editor and form components * Migrate from entity forms * Remove `ModelPicker` * Temporarily add "New > Action" flow * Disable save button if query is empty * Fix utilities moved * Fix type errors * Address comments * Simplify `ActionForm` tests * Break down `ActionCreator` props * Add basic `ActionCreator` tests * update action creator header gap styling * Extract `convertActionToQuestionCard` * Fix `CreateActionForm` ignores action name * Fix `FormModelPicker` crash * Address comments * Remove "New > Action" flow Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
Ngoc Khuat authored
clarify that delete a database will also delete any questions/models/segments/metric that use the database in doc (#27707)
-
Ryan Laurie authored
-
Alexander Polyankin authored
-
Ngoc Khuat authored
* fix throwing exceptions in handle-paging mw
-
Ngoc Khuat authored
* FE gets `value_field` for `/api/table/card__id/query_metadata` by search the fields from calling `/api/table/card__id/query_metadata`. if a field has id is a number, then use `field_ref`, else use `id`. This commit add tests for that behavior Co-authored-by:
Tim Macdonald <tim@metabase.com>
-
Anton Kulyk authored
* Cherry-pick type changes * Cherry-pick action endpoints * Cherry-pick actions entity * Fix type errror * Fix type error * Define `WritebackActionId` type * Cherry-pick missing utilities * Merge action types * Update mocks * Use testing utils * Fix types * Export action mocks * Simplify `removeOrphanSettings` * Fix timestamp names
-
Ngoc Khuat authored
* API for getting database usage * use defmulti * handle cases when database has no tables and add docstring * sacrifice powerness in the light of beauty
-
- Jan 13, 2023
-
-
Case Nelson authored
* FieldValues skipping but not updating last used at Related to #26863 When fieldvalues synching was being skipped, the `get-or-create-full-field-values!` call was erroneously forgetting to update the `last_used_at` time; the time was only being updated if new field values came in since the last sync. * Add test for inactive field values * Only update last_used_at when there's an existing fieldvalues
-
metamben authored
-
Braden Shepherdson authored
- Use currency-specific decimals count (eg. 0 for JPY, 8 for BTC) - Use plural currency names in Java, matching JS - previously: singular proper name "7.23 US Dollar" - now: plural prose "7.23 US dollars" - "Small numbers" hack to treat min/max fraction digits as significant digits now applies to percentages under 1%, as well as the original |n| < 1
-