Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 30, 2024
  2. May 29, 2024
    • Cal Herries's avatar
    • Sloan Sparger's avatar
      [WIP] Cloud migration v3 (#43047) · bee66b40
      Sloan Sparger authored
      
      * syncs with BE better for using prod/staging store links
      
      * updates init step, fixes tests
      
      * updates start confirmation modal design
      
      * copy changes
      
      * adjusting unit test
      
      * removing unneeded code
      
      * PR feedback, updating tests
      
      ---------
      
      Co-authored-by: default avatarNick Fitzpatrick <nickfitz.582@gmail.com>
      bee66b40
    • Case Nelson's avatar
      f811b08b
    • Alexander Polyankin's avatar
    • Braden Shepherdson's avatar
    • Aleksandr Lesnenko's avatar
    • Oisin Coveney's avatar
    • Filipe Silva's avatar
      cloud migration rc1 (#43082) · 96b357a6
      Filipe Silva authored
      96b357a6
    • Anton Kulyk's avatar
      Add font fallbacks to charts rendering context (#43315) · 10fee384
      Anton Kulyk authored
      * Use `useBrowserRenderingContext` in most charts
      
      * Add font family fallbacks
      10fee384
    • John Swanson's avatar
      Allow disabling encryption for settings (#43085) · 8cfca2c6
      John Swanson authored
      * Allow disabling encryption for settings
      
      For two settings, we want to disable encryption entirely.
      
      On the way out of the data source, we don't need to worry - the
      decryption is already backwards-compatible with non-encrypted data.
      
      On the way in, things are a bit less straightforward. The core of the
      change is replacing the `t2/deftransform` that *always* runs
      `encryption/maybe-encrypt` on the value with:
      
      - a define-after-select that always tries to decrypt the value (so we
      can handle existing encrypted values in the db)
      
      - a define-before-insert that encrypts the value if the `defsetting`
      told us to, and
      
      - a define-before-update that does the same thing.
      
      For now, set two settings to be never-encrypted: `analytics-uuid` and
      `anon-tracking-enabled`.
      8cfca2c6
    • Kamil Mielnik's avatar
      Time-over-time comparison aggregation helpers (#43081) · cb828242
      Kamil Mielnik authored
      * Sort functions
      
      * Add boilerplate for aggregateOffset and tests
      
      * Simplify assertion
      
      * Make basic case work
      
      * Handle name generation
      
      * Do not require "lib/uuid" attribute to be present since MLv2 will normalize it under the hood anyway
      
      * Fix typing
      
      * Group tests
      
      * Refactor offsetClause to return a new clause instead of a new query
      - Move offsetClause to expressions.ts
      - Add assertion
      
      * Revert "Sort functions"
      
      This reverts commit ab9ce2b24ea6bdad5ff7e9bed8ef38d4b5923f00.
      
      * Move tests
      
      * Handle names dynamically
      
      * Shorten a test
      
      * Update comment
      
      * Add TODO
      
      * Update expression types
      
      * Add diffOffsetClause & percentDiffOffsetClause
      
      * Add a test for diffOffsetClause
      
      * Add TODOs
      
      * Add tests for diffOffsetClause and percentDiffOffsetClause
      
      * Unwrap tests
      
      * Add skeleton for new tests
      
      * Refactor first offsetClause tests
      
      * Add tests for names
      
      * Fix case of non-datetime columns
      
      * Handle a case with offset < 1 and no breakouts
      
      * Handle a case with offset < 1 and breakouts on non-datetime column
      
      * Handle a case with offset < 1 and breakouts binned datetime column
      
      * Handle a case with offset < 1 and breakout on non-binned datetime column
      
      * Refactor
      
      * Refactor
      
      * Remove TODO
      
      * Add tests for diffOffsetClause
      
      * Add tests for percentDiffOffsetClause
      
      * Move offset stuff to offset.ts and offset.unit.spec.ts
      
      * Use template string for prefixes
      
      * Use breakoutColumn + isDate to check column type
      
      * Refactor
      
      * Fix error message
      
      * Use displayName instead shortName
      cb828242
    • Romeo Van Snick's avatar
      Update expression suggestion design (#43232) · c25c32a5
      Romeo Van Snick authored
      * Use sentence case for suggestion headers
      
      * Remove suggestion group dividers
      
      * Highlight suggestions when mousing over them
      
      * Remove unused hoverparent
      
      * Remove custom highlighting for icons
      
      * Allow passing color to metadata info icon
      
      * Make suggestions icons have a consisten color
      
      * Update documentation suggestion style
      
      * Add margin to suggestion sections
      
      * Reorder suggestion sections
      
      * Add test for mouse over highlight on suggestions
      
      * Fix test for suggestion footers
      
      * Remove debugging true
      
      * Rename 'Most used functions/aggregations' to 'Common functions/aggregations'
      
      * Highlight suggestion on mouse move
      
      * Only call onHighlightSuggestion if it is not already highlighted
      
      * Use arrow functions
      
      * Fix test for suggestion highlight
      c25c32a5
Loading