Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Oct 01, 2024
  2. Sep 26, 2024
  3. Sep 13, 2024
    • Phoomparin Mano's avatar
      feat(sdk): add visual cues in sdk around evaluation usage and feature flags (#47821) · c7bd308b
      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: default avatarMahatthana (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: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Unverified
      c7bd308b
    • Nicolò Pretto's avatar
      first iteration to scope sdk styles to our components (#47764) · e07e28ee
      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: default avatarMahatthana (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: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Unverified
      e07e28ee
  4. Aug 20, 2024
  5. Aug 12, 2024
  6. Jul 09, 2024
    • Denis Berezin's avatar
      feat(sdk): Add Dashboard loading event handlers (#45153) · 51330810
      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
      Unverified
      51330810
  7. Jul 02, 2024
  8. Jun 04, 2024
  9. May 21, 2024
  10. May 20, 2024
  11. May 17, 2024
  12. May 08, 2024
  13. May 03, 2024
    • Phoomparin Mano's avatar
      Define public metabase theme and Mantine transformer for embedding SDK (#42207) · 8e96f386
      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
      Unverified
      8e96f386
  14. May 02, 2024
  15. Apr 30, 2024
  16. Apr 25, 2024
  17. Apr 24, 2024
  18. Apr 12, 2024
  19. Apr 11, 2024
  20. Mar 26, 2024
    • Denis Berezin's avatar
      Embedding SDK - integration commit (#40198) · 98f6cd82
      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
      Unverified
      98f6cd82
Loading