This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Dec 03, 2024
-
-
github-automation-metabase authored
* rename onClose to onCancel * rename questionHeight to drillThroughQuestionHeight * rename showVisualizationSelector to withVisualizationSelector * rename parameter value props * doc updates for parameter values * rename the chart type selector prop * document the withChartTypeSelector prop Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
* hides clean up ui on sample collections * commit unsaved changes * pr feedback Co-authored-by:
Sloan Sparger <sloansparger@users.noreply.github.com>
-
github-automation-metabase authored
* Fix the help link * Update data stack image * Fix the link appearance Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Jeff Bruemmer authored
-
github-automation-metabase authored
Co-authored-by:
Nick Fitzpatrick <nick@metabase.com>
-
github-automation-metabase authored
* Add new strings for v52.0 * Update translations --------- Co-authored-by:
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by:
github-actions <github-actions@github.com>
-
github-automation-metabase authored
* Add new selectors * Adjust the onboarding checklist for non-admins * Add unit tests for non-admins * Rename the control knob * Fix the forgotten test * Stop guarding the route for admins only * Translate `alt` tags * Translate `alt` tags * Add e2e coverage for non-admins * Refine selectors * Improve the route guard * Increase E2E coverage for route guards --------- Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> Co-authored-by:
Raphael Krut-Landau <raphael.kl@gmail.com>
-
github-automation-metabase authored
* Add new selectors * Adjust the onboarding checklist for non-admins * Add unit tests for non-admins * Rename the control knob * Fix the forgotten test * Stop guarding the route for admins only * Translate `alt` tags * Translate `alt` tags * Add e2e coverage for non-admins * Refine selectors * Improve the route guard * Increase E2E coverage for route guards --------- Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> Co-authored-by:
Raphael Krut-Landau <raphael.kl@gmail.com>
-
github-automation-metabase authored
Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
github-automation-metabase authored
* add tests for css rules not scoped to the sdk * fix(sdk): adds mb-wrapper class and scope css to it * fix typo * add .mb-wrapper to the body on storybook diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 52a0d45125d..a4b3a86f4a5 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -42,15 +42,20 @@ const globalStyles = css` export const decorators = isEmbeddingSDK ? [] // No decorators for Embedding SDK stories, as we want to simulate real use cases : [ - renderStory => ( - <EmotionCacheProvider> - <ThemeProvider> - <Global styles={globalStyles} /> - <CssVariables /> - {renderStory()} - </ThemeProvider> - </EmotionCacheProvider> - ), + renderStory => { + if (!document.body.classList.contains("mb-wrapper")) { + document.body.classList.add("mb-wrapper"); + } + return ( + <EmotionCacheProvider> + <ThemeProvider> + <Global styles={globalStyles} /> + <CssVariables /> + {renderStory()} + </ThemeProvider> + </EmotionCacheProvider> + ); + }, ]; function CssVariables() { Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
github-automation-metabase authored
Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
github-automation-metabase authored
* do not show column selection error on empty datasets * add more specs to chart-definition logic * fix entry nodes tooltip and click behavior values * fix nodes formatting * do not show sankey data settings on dashboards * do not initiallt open sankey data columns selects * hide sankey tooltip on scroll * drop incorrect types * set sankey node limit * prevent clicks on edges close tooltips on native sankey questions * tweak copy * update sankey spec according to fixes * revert changed settings behavior * fix unit specs Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
Pivot Exports Can Handle `nil` in Breakout Col, and Multiple Cols of the Same Aggregation Type (#50672) (#50780) * Pivot Exports Can Handle `nil` in Breakout Col, and Multiple Cols of the Same Aggregation Type Fixes #50551 If a pivot table has several measures configured, they might both use the same kind of aggregation (eg. 'sum'). Previously, this would lead to columns with the same name preventing the pivot-measures from properly making it through the export post processing. Now, the correct aliased/deduped name is used and all columns can be properly included in the pivot export. Also fixes the case where a breakout column (pivot-row) contains `nil` values, which caused the pivot export to fail. Now, all nil values are grouped and handled appropriately. * when pivot is disabled, header should still be included * min and max don't default to 0, add a test for the aggregations Co-authored-by:
adam-james <21064735+adam-james-v@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
* add withVisualizationSelector prop * add tests * add to docs * use default layout in tests * only use custom layout when needed * make withChartTypeSelector false by default Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
* use css variables for skeleton background color * apply theme to folder color * replace theme.white with themeColor * use name of folder chevron color * add background-inverse color mapping * Revert "add background-inverse color mapping" This reverts commit d0b546c5. * avoid overriding folder chevron color in emotion * use Mantine style overrides for NavLink Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
* match against any hexadecimal bundle name * add e2e tests skeleton * Support display-name for ISO get-day-of-week exclusion expressions (#50606) * Support display-name for ISO get-day-of-week exclusion expressions Fixes #50574 * Fix light theme embeddings has different text colors (#50678) * add cache-control tests * support local runs --------- Co-authored-by:
Phoomparin Mano <poom@metabase.com> Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
github-automation-metabase authored
Co-authored-by:
Raphael Krut-Landau <raphael.kl@gmail.com>
-
- Dec 02, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
github-automation-metabase authored
Co-authored-by:
William <william@metabase.com>
-
github-automation-metabase authored
* serialization clarification * Apply suggestions from code review --------- Co-authored-by:
Alex Yarosh <alexandra@metabase.com> Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
- Nov 30, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- Nov 29, 2024
-
-
github-automation-metabase authored
* fix loki-update label is not removed after the job * Update Loki Snapshots * Update Loki Snapshots * Update Loki Snapshots --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Gustavo Saiani <gus@metabase.com>
-
github-automation-metabase authored
* Migrate Slack channel picker field to use mantine autocomplete * Fix limit size * Fix limit size Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
github-automation-metabase authored
Fix custom expressions with multiple arguments - contains, does-not-contain, starts-with, ends-with (#50480) (#50708) * adjustMultiArgOptions * adjustMultiArgOptions * Fix options * Fix options * Add a comment * Fix tests * Fix tests * Add tests * Tests * Add tests * Add tests * Add tests Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
feat(sdk): use string types for specifying entity ids instead of internal nanoid type (#50663) (#50704) Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Metabase bot <metabase-bot@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
github-automation-metabase authored
Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
This protects against us trying to read or write from an incompatible search index. In particular it prevents existing instances from being switched over to an incompatible table during an HA upgrade or downgrade. ~~It doesn't yet get rid of the needless re-initialization, but that will be a fast follow.~~ It breaks up the jobs so that we won't reindex on startup unless necessary. Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
See https://www.notion.so/metabase/Search-Index-Maintenance-14b69354c9018047b670cbba1c3be50d This ensures that when one instance starts or finishes reindexing, the other instances pick up and switch to the same tables. Note: this does not stop blowing away the currently active table on deployment yet, we need to have a notion of version for that first. Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
This also avoids a brittle song and dance with non-authoritative atoms in the background. Now we juggle authoritative atoms all the time
Co-authored-by:Chris Truter <crisptrutski@users.noreply.github.com>
-