Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 12, 2024
  2. Aug 09, 2024
  3. Aug 08, 2024
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Follow-up milestone 2 for [Epic] Re-design transparent theme for static... · a4df4eb7
      Mahatthana (Kelvin) Nomsawadi authored
      Follow-up milestone 2 for [Epic] Re-design transparent theme for static embedding and public links (#46491)
      
      * Update new Metabase base colors
      
      * Make hover and selected state consistency
      
      * Fix wrong embed frame border color
      
      * Refactor: extract props
      
      * Fix border color
      
      * Fix pivot table cell hover color
      
      * Fix smart scalar text contrast
      
      * Add smart scalar tests + update text color design
      
      * Theme dashboard card menu
      
      * Remove dashcard action menu tests since they don't work in loki
      
      * Fix storybook background color for dark theme
      
      * Update loki snapshots
      
      * Disable untestable tests
      
      * Make sure all storybook inherit all necessary base styles
      
      * Skip untestable tests
      
      * Update loki snapshots
      Unverified
      a4df4eb7
    • github-automation-metabase's avatar
    • 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
  4. Aug 07, 2024
    • github-automation-metabase's avatar
    • 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
  5. Aug 06, 2024
  6. 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
  7. Aug 02, 2024
    • Ryan Laurie's avatar
      test(sdk) Update the Query Editor Button (#46097) · c924c38e
      Ryan Laurie authored
      * YOLO
      
      * fix a lot of tests
      
      * fix more tests
      
      * fix unit tests
      
      * remove comment
      
      * update tests and formatting
      
      * add debug code
      
      * remove debug code
      Unverified
      c924c38e
    • Sloan Sparger's avatar
    • Sloan Sparger's avatar
      [Auto Clean-up] Clean-up modal (#44512) · 1d277035
      Sloan Sparger authored
      
      * wip
      
      * moves code to enterprise folder, adds enterprise guards, updates conditionals as to when to show the feature
      
      * impls filter date logic, improves styling, mocks out real endpoint with collection items endpoint, updates table with isLink boolean rath
      er than using custom item renderer, removes dead code
      
      * use the actual url for stale
      
      * so many things... updated design, custom table component, polish, misc. refactors, more correct api typing
      
      * updates to pagination component and reverts some now unused changes to the base items table
      
      * impls pr feedback
      
      * fixes
      
      * fixes failing unit test
      
      * completes pr feedback from raffi
      
      * implements second round of feedback from raffi
      
      * adds tests and couple of small fixes / feedback
      
      * migrate clean up action to enterprise plugin and fix related e2e test, also skip the collection items count query when we do not need the value
      
      * finish main base case e2e test
      
      * clean up helper code for manual testing and add OSS test to make sure feature is not available in OSS
      
      * better handling of min-height on smaller screens
      
      * adds internal undo notification for bulk archiving in the clean up modal
      
      * reset pagination when items are archived/unarchived to keep users from getting stuck on a page beyond the current view
      
      * pr feedback
      
      * further cleanup
      
      * unit test fix
      
      * fixes issue where archiving all items in the modal and then undoing does not result in the stale items list getting refetched
      
      ---------
      
      Co-authored-by: default avatarJohn Swanson <john.swanson@metabase.com>
      Unverified
      1d277035
    • Ryan Laurie's avatar
      test(sdk) Don't show notebook toggle button for brand new questions (#46350) · b0fa8500
      Ryan Laurie authored
      * hide notebook button for brand new questions
      
      * test notebook button visibility for new questions
      
      * move brand new check inside shouldRender
      
      * test embedding SDK notebook button
      
      * update unit tests
      
      * add spy to shouldRender
      Unverified
      b0fa8500
    • Ryan Laurie's avatar
      Properly handle SMTP Settings environment variables (#46302) · 1c7de429
      Ryan Laurie authored
      * properly handle SMTP environment variables
      
      * disable clear button when set by env var
      
      * allow the SMTP form to validate with any combination of environment variables
      
      * add unit tests for SMTP connection form
      
      * BONUS: fix console error for jt keys
      
      * fix types
      Unverified
      1c7de429
    • github-automation-metabase's avatar
  8. Jul 31, 2024
  9. Jul 30, 2024
  10. Jul 29, 2024
  11. Jul 25, 2024
  12. Jul 24, 2024
  13. Jul 23, 2024
  14. Jul 19, 2024
Loading