Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Nov 14, 2024
  2. Oct 31, 2024
  3. Oct 21, 2024
  4. Oct 17, 2024
  5. 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
  6. Oct 14, 2024
  7. Oct 11, 2024
  8. Oct 09, 2024
  9. Oct 08, 2024
  10. Oct 01, 2024
  11. Sep 25, 2024
  12. Sep 18, 2024
  13. Sep 12, 2024
  14. Sep 04, 2024
  15. Aug 28, 2024
  16. 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
  17. Aug 21, 2024
  18. Aug 20, 2024
  19. Aug 12, 2024
  20. Aug 09, 2024
  21. 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
  22. 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
  23. 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
  24. Jul 31, 2024
  25. Jul 30, 2024
  26. Jul 29, 2024
  27. Jul 25, 2024
  28. Jul 24, 2024
    • Phoomparin Mano's avatar
      feat(sdk): add CLI to download and start Metabase locally for better onboarding experience (#45784) · 3fe37391
      Phoomparin Mano authored
      * add webpack configuration for cli
      
      * add requirements checking
      
      * docker check
      
      * docker start command
      
      * port checks
      
      * add getting started steps
      
      * add final install message
      
      * cleanup cli text
      
      * handle force-closing prompt
      
      * build the cli when running build-embedding-sdk
      
      * wording updates
      
      * add redundant prompt in case of small terminals
      
      * remove redundant instruction
      
      * make sure the user confirms the step
      
      * change container name to metabase-enterprise-embedding
      
      * migrate cli to es modules instead of webpack
      
      * add shebang line for npx
      
      * add cli dependencies to devDependencies
      
      * Revert "add cli dependencies to devDependencies"
      
      This reverts commit 5d5e952c.
      
      * Revert "add shebang line for npx"
      
      This reverts commit 766fdda0.
      
      * Revert "migrate cli to es modules instead of webpack"
      
      This reverts commit 7d1b0651.
      3fe37391
    • Denis Berezin's avatar
Loading