This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Dec 03, 2024
-
-
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>
-
- Nov 28, 2024
-
-
github-automation-metabase authored
* Enable underlying-records drill in table viz for multi-stage queries * Fix e2e test * Add tests for underyling-records drill for multi-stage queries * Review feedback: filterv not-empty etc * Review feedback: add a breakout-only query to drill-thru canned-queries Co-authored-by:
appleby <86076+appleby@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
github-automation-metabase authored
* do not show column selection error on empty datasets * persist default sankey column settings when saving * add more specs to chart-definition logic * more specs Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Alexander Solovyov <alexander@solovyov.net>
-
github-automation-metabase authored
Fixes https://github.com/metabase/metabase/issues/50501 Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
- Nov 27, 2024
-
-
github-automation-metabase authored
* Table Column Ordering Should Not Prevent Pivot Exports Prior, when viz-settings existed for table column ordering, or if some columns were hidden in a regular table viz, the pivot export could fail. Now, if a pivot table is being exported, the table column sorting is properly ignored and the pivot export should work. * address feedback Co-authored-by:
adam-james <21064735+adam-james-v@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
github-automation-metabase authored
* add background-inverse color mapping * add tooltip themes * tooltip theming * apply to echarts tooltip * update tooltip default color * update tooltip defaults * add sdk color mapping * add additional theme colors * add echarts tooltip story * add loki tests * remove background-inverse theme color option * add to docs * use ChartTooltipRoot for story and update loki snapshot * update secondaryTextColor docstring * fix unit tests Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
Fixes: #50422 Although we passed additional-options through subname in url parameters to DriverManager, we were also passing `:schema nil` as connection property. Co-authored-by:
Case Nelson <case@metabase.com>
-