Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Dec 10, 2024
    • github-automation-metabase's avatar
      feat(sdk): next sdk compatibility layer (#50230) (#51059) · 489986cf
      github-automation-metabase authored
      
      * wip next sdk compat
      
      * better code generation, dts works
      
      * Last line of file should end in a newline character
      
      * feat(sdk): make MetabaseProvider not break ssr
      
      * aUpdate enterprise/frontend/src/embedding-sdk/package.template.json
      
      
      
      * address pr comments
      
      * refactor(sdk): use relative paths when fixing d.ts files
      
      * make types work on moduleResolution: node
      
      * add loading text
      
      * fix(sdk): #50736 make sure we don't break the host app if a sdk
      component is rendered outside of the provider for a render
      
      * fix: this should make types work for real?
      
      * self review fixes
      
      * update test for PublicComponentWrapper
      
      * Update enterprise/frontend/src/embedding-sdk/components/private/PublicComponentWrapper/PublicComponentWrapper.tsx
      
      
      
      * remove unused component
      
      * eslint-disable-next-line for MetabaseProvider
      
      * list tsx as dependency
      
      * /next -> /nextjs
      
      ---------
      
      Co-authored-by: default avatarNicolò Pretto <info@npretto.com>
      Co-authored-by: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Co-authored-by: default avatarPhoomparin Mano <poom@metabase.com>
      489986cf
  2. Dec 06, 2024
    • github-automation-metabase's avatar
      Streamline embed flow when embedding is off (#50842) (#50979) · 1f1c61f5
      github-automation-metabase authored
      
      * Always show embed sharing option for admins (#50513)
      
      * Always render the public link option
      
      This is possible because metabase#50504
      
      * Always render the embed option
      
      * Fix unit tests
      
      * Fix E2E tests
      
      * Correct test semantic
      
      * Hide Embed option for non-admins
      
      * New Embed modal (#50580)
      
      * Open "Compare options" in a new tab
      
      * Add an external link icon to interactive embed option when it should
      
      * Add disabled state to SDK
      
      * Add a disable state to static and interactive embedding
      
      * Add interactive embedding disabled state
      
      * Implement disabled link
      
      * Prepare folder for testing
      
      * Fix tests and add SDK tests
      
      * Add interactive embedding tests
      
      * Correct test desribe block levels
      
      * Add static embedding tests
      
      * Add premium interactive embedding tests
      
      * Add enterprise tests (EE without tokens)
      
      * Fix the rest of the failed unit tests
      
      * Update E2E tests
      
      * Fix a case where OSS see disabled interactive embedding
      
      This should be impossible as interactive embedding isn't available on
      OSS, so we should not display the disabled state.
      
      * Address review
      
      
      
      * Address review
      
      Co-Authored-by: default avatarPoom <poom@poom.dev>
      
      ---------
      
      
      
      * Update Interactive Embedding Admin Settings page (#50693)
      
      * Add a quick start link to interactive embedding settings page
      
      * Update UTM tags for interactive embedding card
      
      * Don't show interactive embedding option as enabled on OSS
      
      * Fix unit tests
      
      * Add a new test
      
      ---------
      
      Co-authored-by: default avatarMahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
      Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
      1f1c61f5
  3. Nov 25, 2024
  4. Nov 23, 2024
  5. Nov 21, 2024
  6. Nov 14, 2024
  7. Oct 31, 2024
  8. Oct 21, 2024
  9. Oct 17, 2024
  10. Oct 16, 2024
    • Nicolò Pretto's avatar
      `embedding-sdk:dev`: --watch that makes "fixed" dts (#48574) · 302a9946
      Nicolò Pretto authored
      * faster --watch command for the sdk
      
      * apparently we want an empty line at the end of jsons, but prettier removes it?
      
      * format tasks.json with prettier :confused:
      
      * vscods tasks, move watch task from webpack config to the fixup script
      
      * cleanup webpack config
      
      * adds clean + waits for dist folder when not existing
      
      * minimal doc for the sdk commands
      302a9946
  11. Oct 14, 2024
  12. Oct 11, 2024
  13. Oct 09, 2024
  14. Oct 08, 2024
  15. Oct 01, 2024
  16. Sep 25, 2024
  17. Sep 18, 2024
  18. Sep 12, 2024
  19. Sep 04, 2024
  20. Aug 28, 2024
  21. Aug 27, 2024
    • appleby's avatar
      Ensure that CI checks fail if cljs tests fail (#47192) · 52284e62
      appleby authored
      * Fix typo in expression-clause-normalization-test
      
      s/time-interval/relative-time-interval/
      
      * Add missing table-id to card def to fix failing legacy-ref-test
      
      * Ensure that if yarn test-cljs fails it fails the CI checks
      
      When configured to autorun, the command
      
         shadow-cljs compile test
      
      will exit success even if test failures occur in the node test. See
      
         https://github.com/thheller/shadow-cljs/issues/425
      
      In order to ensure our CI checks fail when cljs tests fail, we need to invoke
      node directly. To prevent running the tests twice, remove `:autorun true` from
      the `:test` target in shadow-cljs.edn.
      52284e62
  22. Aug 21, 2024
  23. Aug 20, 2024
  24. Aug 12, 2024
  25. Aug 09, 2024
  26. Aug 08, 2024
    • Phoomparin Mano's avatar
      feat(sdk): connect databases, generate models and x-rays from the CLI (#46502) · 178997d7
      Phoomparin Mano authored
      
      * add setup commands
      
      * fix settings definition
      
      * update environment variables for cli
      
      * handle instances not being ready
      
      * update error messages
      
      * add more specific loading messages
      
      * loading spinner state
      
      * improve error message
      
      * use a fixed demo setup token
      
      * remove extraneous spinner
      
      * update status checks
      
      * update container messages
      
      * update wait timing
      
      * create api keys
      
      * extract constants
      
      * remove manual steps
      
      * Add anonymous tracking + other things. will need to clean up
      
      * Modify SDK for better structure
      
      * remove line from print.ts
      
      * Update webpack.embedding-sdk-cli.config.js back to production
      
      * Add types and add quick note
      
      * Fix a typo
      
      * Add index file, simplify types, use an array
      
      * Add safer json parsing
      
      * use delay of 100ms between each setup call
      
      * Suggestions from review
      
      * ensure that cli works
      
      * Attempt to fix jest errors
      
      * Remove node-fetch from sdk code to hopefully get unit tests working again
      
      * add database connection
      
      * add connection details handling
      
      * refactor asking for database connection info
      
      * apply actual database id for syncing schema
      
      * fix failing database sync step
      
      * allow table selection
      
      * create model for each table
      
      * handle errors in model creation
      
      * fix incorrect model display name
      
      * create x-rays based on user data
      
      * consolidate instance setup message
      
      * workaround for inquirer eventemitter issue
      
      * fix yarn.lock file
      
      ---------
      
      Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
      178997d7
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Fix unintentional color changes (#46516) · 6fb1e51d
      Mahatthana (Kelvin) Nomsawadi authored
      * Sync storybook colors with the main app
      
      * Fix Metabase badge color
      
      * Fix wrong mixed brand colors
      
      * Add mistakenly removed colors
      
      * Update comments
      
      * Correct `brand-light` color
      
      * Fix wrong Mantine button color when passing `color` prop
      
      * Update loki snapshots
      6fb1e51d
    • Uladzimir Havenchyk's avatar
      e1af9340
  27. Aug 07, 2024
    • Phoomparin Mano's avatar
      feat(sdk): CLI to bootstrap an embedding-ready Metabase instance (#46080) · 4ce37a25
      Phoomparin Mano authored
      
      * add setup commands
      
      * fix settings definition
      
      * update environment variables for cli
      
      * handle instances not being ready
      
      * update error messages
      
      * add more specific loading messages
      
      * loading spinner state
      
      * improve error message
      
      * use a fixed demo setup token
      
      * remove extraneous spinner
      
      * update status checks
      
      * update container messages
      
      * update wait timing
      
      * create api keys
      
      * extract constants
      
      * remove manual steps
      
      * Add anonymous tracking + other things. will need to clean up
      
      * Modify SDK for better structure
      
      * remove line from print.ts
      
      * Update webpack.embedding-sdk-cli.config.js back to production
      
      * Add types and add quick note
      
      * Fix a typo
      
      * Add index file, simplify types, use an array
      
      * Add safer json parsing
      
      * use delay of 100ms between each setup call
      
      * Suggestions from review
      
      * ensure that cli works
      
      * Attempt to fix jest errors
      
      * Remove node-fetch from sdk code to hopefully get unit tests working again
      
      * fix yarn.lock file
      
      * revert capture groups change
      
      ---------
      
      Co-authored-by: default avatarOisin Coveney <oisin@metabase.com>
      4ce37a25
    • Uladzimir Havenchyk's avatar
      e2e: add cypress-terminal-report (#46483) · 63d029c7
      Uladzimir Havenchyk authored
      
      * e2e: add cypress-terminal-report
      
      * enable video recording
      
      * revert error
      
      * add a comment
      
      * Update e2e/support/cypress.js
      
      Co-authored-by: default avatarRyan Laurie <30528226+iethree@users.noreply.github.com>
      
      ---------
      
      Co-authored-by: default avatarRyan Laurie <30528226+iethree@users.noreply.github.com>
      63d029c7
  28. Aug 05, 2024
    • Mahatthana (Kelvin) Nomsawadi's avatar
      [Milestone 2] Re-design transparent theme for static embedding and public links (#46428) · 3d5233bc
      Mahatthana (Kelvin) Nomsawadi authored
      
      * Update popover dark theme on part of ParameterFieldWidget (#45813)
      
      * Add filter visual tests
      
      * Simplify embed CSS colors
      
      * [WIP] theme filter popover
      
      * Move theme to global node, so it affects portal too
      
      * Fix embed colors
      
      * Theme part of ParameterFieldWidget
      
      * Add story for parameter with dropdown
      
      * Update loki snapshots
      
      * Update more popover style
      
      * Update loki snapshots
      
      * Remove outdated snapshots
      
      * Update loki snapshots with production build
      
      * Fix loki not working with `userEvent`
      
      * Theme mantine popover
      
      * Improve dark theme text-brand visibility
      
      * Update loki snapshots from master change
      
      * Fix new colors not working in SDK
      
      * Fix flaky Loki tests
      
      * Filter popover dark theme part 2 (#46284)
      
      * Theme Date all options
      
      * wip add month and year filter
      
      * Fix wrong CSS custom property declaration
      
      * Test hover state
      
      * Update Loki snapshots
      
      * Theme date month and year
      
      * Add quarter and year tests
      
      * Theme date single and date range
      
      * Style relative date
      
      * Update frontend/src/metabase/admin/datamodel/components/filters/pickers/DatePicker/DatePickerHeader.styled.tsx
      
      Co-authored-by: default avatarDenis Berezin <denis.berezin@metabase.com>
      
      ---------
      
      Co-authored-by: default avatarDenis Berezin <denis.berezin@metabase.com>
      
      * Complete theming filter popover night mode (#46365)
      
      * Style unit of time and number widget
      
      * Attempt to fix flaky Loki snapshots
      
      * Address white background checkbox on dark theme
      
      * Style search filter single value
      
      * Fix mis color
      
      * Update snapshots
      
      * Remove duplication on play functions since they're long
      
      * Milestone 2 polishing (#46382)
      
      * Matches the footer padding with header padding
      
      * Update snapshots
      
      * Add E2E to prevent further problem
      
      * Try to reduce flaky Loki tests
      
      * Remove unused color shades (#46421)
      
      * Update no results illustration to work better on dark theme
      
      * Update loki snapshots
      
      ---------
      
      Co-authored-by: default avatarDenis Berezin <denis.berezin@metabase.com>
      3d5233bc
  29. Jul 31, 2024
  30. Jul 30, 2024
Loading