Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Sep 24, 2024
  2. Sep 23, 2024
  3. Sep 20, 2024
  4. Sep 19, 2024
  5. Sep 18, 2024
  6. Sep 17, 2024
  7. Sep 16, 2024
    • Case Nelson's avatar
      fix: snowflake compile day trunc to timestamp_ltz (#47874) · 85857aeb
      Case Nelson authored
      Fixes #47426
      
      Date operations return values based on the timestamp offset rather than
      the session/db timezone. Converting to `timestamp_ltz` first ensures
      that we get predictable results.
      
      In the test, it is important that database timezone matches
      report_timezone so that post-processing gives proper results.
      Unverified
      85857aeb
  8. Sep 13, 2024
    • metamben's avatar
      Fix ordering by the accumulated column (#47875) · 1174d9cc
      metamben authored
      Unverified
      1174d9cc
    • metamben's avatar
      Ensure :effective-type for columns from an aggregation in a card (#47936) · d8786ffc
      metamben authored
      * Ensure :effective-type for columns from an aggregation in a card
      
      Fixes #47184
      
      * Synchronize effective-type with the base-type on override
      
      When :base-type in the column metadata is overridden with the :base-type in the field ref, set it as :effective-type
      too.  If :effective-type is also set in the field ref, it wins.
      Unverified
      d8786ffc
    • 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
    • Alexander Polyankin's avatar
    • appleby's avatar
      Revert to non-truncating mbql.u/unique-name-generator in annotate-native-cols (#47866) · 16e31051
      appleby authored
      
      * Rollback to legacy unique-name-generator in annotate-native-cols
      
      * Add native query long column alias test to nested queries tests
      
      * Add native query long column alias test to dataset api tests
      
      * Add native query long column alias test to models e2e tests
      
      * Move limit into inner native query
      
      * PR suggestion: simplify lambda argslist
      
      Co-authored-by: default avatarmetamben <103100869+metamben@users.noreply.github.com>
      
      * PR suggestion: remove unnecessary mt/with-temp-copy-of-db
      
      * Tweak test name
      
      ---------
      
      Co-authored-by: default avatarmetamben <103100869+metamben@users.noreply.github.com>
      Unverified
      16e31051
    • Uladzimir Havenchyk's avatar
      add more e2e tests for offset feature (#47628) · ea233941
      Uladzimir Havenchyk authored
      * add offset e2e tests
      
      * mark test not flaky
      
      * add basic tests
      
      * add more tests
      
      * WIP
      
      * working version
      
      * cleanup
      
      * oops
      
      * improve naming
      
      * fix test
      
      * improve formatting
      
      * update comment and ts
      
      * add a test for metric
      
      * space
      
      * update tests and create a new issue
      
      * add one more test
      
      * re-enable test
      
      * make imports consistent
      
      * rewrite tests to put data through UI
      Unverified
      ea233941
    • 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
    • Ryan Laurie's avatar
      Dashboard Info Sidebar (#47893) · 677afd79
      Ryan Laurie authored
      * Dashboard Info Sidebar
      
      * e2e test updates
      
      * add unit tests
      
      * e2e test updates
      
      * fix e2e tests
      
      * fix more e2e tests
      
      * update back behavior
      Unverified
      677afd79
    • Alex Yarosh's avatar
      docs: multiline export (#47925) · e11b3a77
      Alex Yarosh authored
      
      * multiline export
      
      * Update docs/installation-and-operation/serialization.md
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      
      ---------
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      Unverified
      e11b3a77
    • Alex Yarosh's avatar
      docs: progress bar docs (#47792) · 72d01529
      Alex Yarosh authored
      
      * progress bar
      
      * rephrase
      
      * better word
      
      * streamline the article
      
      * rename image
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      
      ---------
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      Unverified
      72d01529
Loading