Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Dec 12, 2024
  2. 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>
      Unverified
      489986cf
  3. 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>
      Unverified
      1f1c61f5
  4. Nov 25, 2024
  5. Nov 21, 2024
  6. Nov 14, 2024
  7. Nov 04, 2024
  8. Nov 03, 2024
  9. Nov 01, 2024
  10. Oct 31, 2024
  11. Oct 17, 2024
  12. Oct 14, 2024
  13. Oct 11, 2024
  14. Oct 09, 2024
  15. Oct 01, 2024
  16. Sep 25, 2024
  17. Sep 18, 2024
  18. Sep 12, 2024
  19. Sep 04, 2024
  20. Sep 03, 2024
  21. Aug 28, 2024
  22. Aug 21, 2024
    • Phoomparin Mano's avatar
      feat(sdk): embedding cli opens the metabase store to get trial token and... · 4453abb1
      Phoomparin Mano authored
      feat(sdk): embedding cli opens the metabase store to get trial token and applies the license (#46810)
      
      * open metabase store to get trial token
      
      * remove license env from instance setup as we provide the license key later
      
      * activate metabase license
      
      * fix password field missing
      
      * fix formatting for generated component files message
      
      * activate license key
      
      * add missing auth options for postgres
      
      * add function to print with padding
      
      * prevent infinite loop and update section representation
      
      * show the activate license error in red
      
      * rename variable
      Unverified
      4453abb1
  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>
      Unverified
      178997d7
    • Uladzimir Havenchyk's avatar
  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>
      Unverified
      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>
      Unverified
      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>
      Unverified
      3d5233bc
  29. Jul 31, 2024
Loading