This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Oct 01, 2024
-
-
Nicolò Pretto authored
* fix(sdk): modal pushing content below when opened * render the portal below the content so we don't need the zIndex Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Nicolò Pretto authored
-
- Sep 26, 2024
-
-
Nicolò Pretto authored
* IS_EMBEDDING_SDK_BUILD -> IS_EMBEDDING_SDK to keep things simple, as we already have that name in other places * don't load metabase css in sdk stories * first two stories * make the store not a global "singleton" anymore * basic test for font-family styles in the SDK * allow any custom font in theme.fontFamily as we actually support it * fix tests using hardcoded default font family
-
- Sep 13, 2024
-
-
Phoomparin Mano authored
* add license problem hook * add warning banner * style cue component * update cue component * report issue to console * report issue to console * use sdk loader for pre-initialization * extract print problem method * use non-standard shadows * add unit tests * prevent console log spam during tests * mock the embedding token feature * mock the embedding token feature by default * add more test cases * add test case * add test cases * increase popover z-index * simplify test setup * simplify test setup * do not load individual component when a license error happens * move SdkLicenseProblemDisplay component out * replace colors with color-mix * replace colors with color-mix * make the text unthemed to ensure legibility * hard-code colors to prevent them from being themed * hard-code colors to prevent them from being themed * update border styles * make the chevron unthemed * unset console text color * only set stroke on errors * optimistic query settings * document the sdk license condition * remove redundant condition * add notes on api keys always being allowed on localhost * move the no auth method message to warning component * rename sdk license problem to usage problem * add eslint rule for stories * rename sdk license problem to usage problem * move sdk usage problem display out of the init controller * specify fallback font if instance is down or CORS error * add comments on conditions pending on the CORS PR * add notes on non-localhost checks * make test ids constant * add test case for neither provided * fix types * address code reviews * pass `embedding-sdk` flag in `token-features` * address code review Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * remove appName from console logs * rename embedding-sdk to embedding_sdk * add the embedding_sdk premium token feature * do not setup enterprise plugin in sdk test * do not localize visual cue messages * fix unit test in setup-sdk-auth * rename tests * remove unused eslint-disable * enable embedding_sdk premium feature for sdk unit tests * revert security_test.clj to use embedding instead of embedding-sdk * remove unneeded test * changes to support the style leak fixes --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Nicolò Pretto authored
* first iteration to scope sdk styles to our components * basic css reset for buttons * clean up duplicated css * make sdk components use instance font if no font is passed * cleanin up and remove defaultProps not needed * fix tests * adds EMBEDDING_SDK_PORTAL_CONTAINER_ELEMENT_ID * Update enterprise/frontend/src/embedding-sdk/components/public/MetabaseProvider.tsx * Update enterprise/frontend/src/embedding-sdk/components/public/MetabaseProvider.tsx Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * fix import * prettier --write * we don't need theme.fontFamily, added a comment * rename EMBEDDING_SDK_PORTAL_CONTAINER_ELEMENT_ID to EMBEDDING_SDK_PORTAL_ROOT_ELEMENT_ID * fix unit test --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
- Aug 20, 2024
-
-
Uladzimir Havenchyk authored
* refactor: sort import members inside destructuring * Show an error message when the temporal unit is not applicable to a dashboard card (#46983) * Fix tests * Add tests * Add tests * Fix types * Fix types --------- Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
- Aug 12, 2024
-
-
Denis Berezin authored
-
- Jul 09, 2024
-
-
Denis Berezin authored
* feat(sdk): Add Dashboard loading event handlers * Refactor to redux state * Fix logic with load with cards data * Fix nasty e2e fails * Fix nasty e2e fails * Add global events * Fix issue with loading event * Fix issue with loading event * Review fixes * Add unit tests * Fix unit tests
-
- Jul 02, 2024
-
-
Phoomparin Mano authored
* add default font family * use metabase provider internal component for tests
-
- Jun 04, 2024
-
-
Oisin Coveney authored
-
- May 21, 2024
-
-
Phoomparin Mano authored
* feat(sdk): apply ui color overrides to the sdk selector state set global embedding colors rename the method * test(sdk): add unit test on color overrides
-
- May 20, 2024
-
-
Denis Berezin authored
* Allow charts font override in SDK * Fix default not configured font
-
- May 17, 2024
-
-
Denis Berezin authored
* Add proper brand colors to drills menu * Add theming for filters and drills * Fix css vars * Fix table css * Add SDK theme colors interface and remapping * Fix dashboard brand color issue * Fix theme colors interface * Fix default theme table cell background * Fix typo * Fix for qb filters panel custom border
-
- May 08, 2024
-
-
Phoomparin Mano authored
* allow customizable base font size * pass in fontSize in mantine theme * only apply font size if it exists
-
- May 03, 2024
-
-
Phoomparin Mano authored
* public metabase theme type * add tests for transforming embedding theme * export public types * load transformed theme override into theme provider * migrate font family inside theme configuration * add assertion for font family * update README to add font family in theme options * add font enum, fix tuple type and cleanup tests * color tuple argument name * use fill for colortuple
-
- May 02, 2024
-
-
Phoomparin Mano authored
* expose theme property in MetabaseProvider * add more descriptions on what the theme overrides are for
-
- Apr 30, 2024
-
-
Oisin Coveney authored
-
- Apr 25, 2024
-
-
Oisin Coveney authored
-
- Apr 24, 2024
-
-
Denis Berezin authored
* Isolate click actions * Self review fixes * Add global plugin config * Review fixes * Drill with custom view * Review fixes
-
- Apr 12, 2024
-
-
Denis Berezin authored
* Add interactive question component * Remove excess click actions for embedding * Disable non-working drills * Cleaner components api * Clean up * Review fixes * Fix lint error * Review fixes --------- Co-authored-by:
Oisin Coveney <oisin@metabase.com>
-
- Apr 11, 2024
-
-
Oisin Coveney authored
Co-authored-by:
Nicolò Pretto <info@npretto.com>
-
- Mar 26, 2024
-
-
Denis Berezin authored
* Minimal SDK code * Fix viz, styles * Move SDK code to enterprise folder * Fix files structure * Clean-up * Review fixes * Review fixes * Review fixes * Remove elementid * Reuse some options from main webpack config * Actualize package.json * Actualize package.json
-