This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Dec 05, 2024
-
-
github-automation-metabase authored
* fix scatter chart tooltip shows irrelevant info * remove outdated spec as we always show the tooltip_column setting Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
-
github-automation-metabase authored
* fix the script, and add the new edn * make the migrations run in the proper order * it works (needs cleanup) * remove broken binning - These bins rely on fingerprinting for the custom Age column - The fingerprinting for that custom column are not properly exported in serialization, hence do not get loaded into metabase, causing binning by Age to fail. * cleanup / linting * cleanup * update migration test ids to test * realign test name to check for to see if sample content was created * remove Product collection + move Examples into root * update collection_ids for the content too * remove click behavior for 'Revenue goal for this quarter' * Apply suggestions from code review * for the sample collection is_sample should be true * Drop CreateInternalUserNoOp * typo * update migration comments * 2 small fixes * fix data perms for example coll * add a comment so we don't have 2 blank lines in a row --------- Co-authored-by:
bryan <bryan.maass@gmail.com> Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
William <william@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
* use global e2e helpers * fix dashboard tests --------- Co-authored-by:
Ryan Laurie <iethree@gmail.com>
-
Jeff Bruemmer authored
-
github-automation-metabase authored
firefox Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
github-automation-metabase authored
Co-authored-by:
Oleksandr Yakushev <alex@bytopia.org>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.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>
-
- Dec 04, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com> Co-authored-by:
Phoomparin Mano <poom@metabase.com>
-
github-automation-metabase authored
* Add delay helper * Remove delays in storybook * Use skippable delay in ListField and SingleSelectListField * Use skippable delay in ExplicitSize * Remove waitTimeContext in storybook * Remove waitTimeContext altogether * Add documentation to delay * Remove all context references in ExplicitSize * Update flaky snapshots Co-authored-by:
Romeo Van Snick <romeo@romeovansnick.be>
-
github-automation-metabase authored
Fixes: #50771 The new sync process failed to qualify enums outside public and therefore failed to properly type them in database_type. This could either result in matching the wrong type if there was a conflict or not being typed as an enum. Co-authored-by:
Case Nelson <case@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
github-automation-metabase authored
-
github-automation-metabase authored
* Add trial banner * Use the semantic "warning" color for background * Simplify the "reappearance" logic * Refine the banner logic - Pass the bare minimum information (expiry timestamp) to the `TrialBanner` - Take timezones into account - Introduce utilities - Add unit tests * Update the remaining tests * Clean up * Unbreak my `defsetting`
* Add comments * Defer var assignment * Fix failing tests * Adjust the types in order to match `master` * Move the logic up to the parent component * Convert the `index` component to TS * Fix typo in the JSDoc * Fix another typo * Make the return statement more readable * Remove redundant test Co-authored-by:Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
github-automation-metabase authored
Applying the underlying records filter to a query with a join displays fields from the join Co-authored-by:
William <william@metabase.com>
-
github-automation-metabase authored
* add style and className to static dashboards * unify props for static and interactive 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:
Chris Truter <crisptrutski@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Alexander Solovyov <alexander@solovyov.net>
-
github-automation-metabase authored
Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com>
-
github-automation-metabase authored
Co-authored-by:
Ngoc Khuat <qn.khuat@gmail.com>
-
- 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>
-