Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jul 05, 2023
    • Aleksandr Lesnenko's avatar
      f877f0ed
    • Case Nelson's avatar
      [MLv2] Native query functions for changing db and collection-name (#32051) · 0ae317ae
      Case Nelson authored
      * [MLv2] Native query functions for changing db and collection-name
      
      * Rename feature to be more specific
      
      * Use native-extras based on feedback
      
      * Fix missed rename
      0ae317ae
    • Ryan Laurie's avatar
      Make text measurement function naming more consistent (#32086) · d819ee53
      Ryan Laurie authored
      * create measureTextWidth functions
      
      * update rowChart and utils
      
      * update static viz
      d819ee53
    • Case Nelson's avatar
    • Anton Kulyk's avatar
      Migrate QB summarization sidebar to MLv2 (#31564) · 3739812f
      Anton Kulyk authored
      * Make bucket pickers more customizable
      
      * Allow hiding expressions in `AggregationPicker`
      
      * Migrate `SummarizeSidebar` to MLv2
      
      * Delegate more stuff to aggregation components
      
      * Polish for breakout components
      
      * Don't copy queries into sidebar state
      
      * Use two breakouts in sidebar tests
      
      * Use long display name for pinned breakouts
      
      * Fix "replace column" used instead of "add column"
      
      * Fix extra spacing
      
      * Fix tooltip position
      
      * Fix pinned breakouts display
      
      * Fix E2E test
      
      * Clean up bucket pickers
      
      * Fix types
      
      * Fix border width
      
      * Simplify `BreakoutColumnList`
      
      * Add `withDefaultBucket` helper
      
      * Avoid `byRole` queries in sidebar tests
      
      * Fix UI jumps while searching
      
      * Hide "Custom expression" option
      3739812f
    • Tim Macdonald's avatar
      35c2acbf
    • Alexander Polyankin's avatar
    • Alexander Polyankin's avatar
    • Kamil Mielnik's avatar
      Fix - Filter box in table has horizontal scroll (#32119) · d41d3342
      Kamil Mielnik authored
      * Fix #31339
      
      * Add an e2e for horizontal scrollbar presence
      
      * Add an e2e test for the originally reported issue #31339
      
      * Remove inline headerCells
      
      * Format tests
      
      * Remove redundant code
      
      * Move tests to table visualization scenarios tests suite
      d41d3342
    • Kamil Mielnik's avatar
      Adding filter of summarized field grouped by latitude and longitude on a map... · 443a8ced
      Kamil Mielnik authored
      Adding filter of summarized field grouped by latitude and longitude on a map changes visualization type (#31646)
      
      * Take sourceQuery into account if StructuredQuery does not have any aggregations or breakouts when determining Question's default display
      - It's an attempt to fix #30057
      
      * Don't check source query for models
      
      * Use source query breakouts and aggregations to determine default display only if the question does not have any breakouts, aggregations, and joins
      - Make the condition to always use "table" display for Models more prominent
      
      * Revert first attempt
      
      * Introduce CardObject and fix displayIsLocked typing
      
      * Refactor maybeUnlockDisplay into maybeResetDisplay
      
      * Revert "Introduce CardObject and fix displayIsLocked typing"
      
      This reverts commit 770e7a50d3b9f381741ba7cb1655c1d9be5f295c.
      
      * Improve diff
      
      * Update unit tests after maybeUnlockDisplay to maybeResetDisplay refactoring
      
      * Update maybeResetDisplay unit tests
      
      * Improve test case names
      
      * Add tag for the test that reproduces the issue
      
      * Add test for issue #30057
      - use visualize() helper
      - extract addCountGreaterThan2Filter()
      
      * Add a test case for adding columns
      
      * Add a test case for removing columns (resetting to default value)
      
      * Add a test case for adding aggregations
      
      * Add another test case
      
      * Reuse e2e helpers
      - add missing "field" parameter support in addSummaryGroupingField
      - add removeSummaryGroupingField
      
      * Remove redundant condition
      
      * Update issue id in tests after extracting separate GitHub issue
      443a8ced
  2. Jul 04, 2023
  3. Jul 03, 2023
    • Aleksandr Lesnenko's avatar
    • Jesse Devaney's avatar
      Fix Heading card input and Text card content clipping (#31965) · 2f7b395f
      Jesse Devaney authored
      * fix heading input clipping
      
      * fix hover padding when hovering over resize handle
      
      * refactor CSS module to styled component wrapper
      
      - move all CSS logic into one file
      
      * refactor to use theme breakpoints
      
      * move single row styling to ReactMarkdownStyleWrapper
      
      * change padding only for single row text cards
      
      * fix text card clipping
      
      - adjust padding size based on breakpoints (proxy for grid row height)
      - adjust font size based on breakpoints
      - set styles based on grid mobile/desktop layout
      
      * refactor css colors
      
      * do not apply filter values to text cards in edit mode
      
      * adjust font-size for open sidebar
      
      * refactor font-size adjustment
      
      - move font-size adjustment into TextCardWrapper so
        - styles are applied in edit and saved mode
        - styles are applied to textarea as well as markdown preview
      
      * fix type error
      
      * fix text offset for markdown preview and textarea
      2f7b395f
    • metamben's avatar
      Fix metabase.lib.js/available-join-strategies (#32089) · b8767d5e
      metamben authored
      Fixes #32081.
      b8767d5e
    • metamben's avatar
      Implement filter-operator (#32067) · f8b57878
      metamben authored
      Fixes #32058.
      f8b57878
    • Jerry Huang's avatar
    • Nemanja Glumac's avatar
      Fix cronjob frequency for ReplayIO E2E tests (#32091) · 9df654ba
      Nemanja Glumac authored
      The previous setting accidentally executed a scheduled job **every minute**
      on Sunday, when we actually wanted it to run only once on that day.
      
      This PR fixes it and it will now run at 10PM every Sunday.
      https://crontab.guru/#0_22_*_*_0
      
      [ci skip]
      9df654ba
    • Nick Fitzpatrick's avatar
      moving dashboard events 1-0-2 to 1-1-2 (#32008) · 9bdcaf37
      Nick Fitzpatrick authored
      
      * moving dashboard events 1-0-2 to 1-1-2
      
      * update version number
      
      ---------
      
      Co-authored-by: default avatarRyan Laurie <iethree@gmail.com>
      9bdcaf37
    • Aleksandr Lesnenko's avatar
      impersonatied FE fixes (#32025) · b501a333
      Aleksandr Lesnenko authored
      b501a333
    • Nick Fitzpatrick's avatar
      af1ab9b2
    • Ryan Laurie's avatar
      Update row chart measuring function (#32057) · 6d86ba22
      Ryan Laurie authored
      * update row chart measuring function
      
      * add test to check if the line chart retnders
      6d86ba22
    • Nemanja Glumac's avatar
      Fix release workflow latest Docker tag adjustment (#32041) · 90b9ef00
      Nemanja Glumac authored
      * Fix Docker `latest` tag logic in the release workflow
      
      As noted in #32036, the current logic doesn't account for the existence
      of the N+1 RC tag when the current release is N. In other words, it
      didn't promote `v1.46.6` to the latest Docker tag because it included
      `v1.47.0-RC1` in the list of the relevant tags it compares against.
      
      This PR fixes that and closes #32036.
      
      **Before:**
      ```
      Current version for v1.46.6 is {
        prefix: 'v1',
        feature: 46,
        maintenance: 6,
        build: NaN,
        isOSS: false,
        isEE: true,
        prerelease: false
      }
      
      Enumerating all git tag...
      Found total 414 tags
      
      Filtering for EE
      Found total 116 filtered tags
      
      Sorting tags to find the highest version numbers...
      Showing 20 tags with the highest versions...
           v1.47.0-RC1
           v1.47.0-RC2
      ---> v1.46.6
           v1.46.5
           v1.46.4
           v1.46.3
           v1.46.2
           v1.46.1
           v1.46.0
           v1.46.0-RC1
           v1.46.0-RC2
           v1.46.0-RC3
           v1.46.0-RC4
           v1.45.4
           v1.45.3.1
           v1.45.3
           v1.45.2.1
           v1.45.2
           v1.45.1
           v1.45.0
      
      The latest container image stays as v1.47.0-RC1
      There is no need to tag the v1.46.6 container image as latest.
      ```
      
      **After the fix:**
      ```
      Current version for v1.46.6 is {
        prefix: 'v1',
        feature: 46,
        maintenance: 6,
        build: NaN,
        isOSS: false,
        isEE: true,
        prerelease: false
      }
      
      Enumerating all git tags...
      Found total 430 tags
      
      Filtering for EE which excludes prerelease tags...
      Found total 94 filtered tags
      
      Sorting tags to find the highest version numbers...
      Showing 20 tags with the highest versions...
      ---> v1.46.6
           v1.46.5
           v1.46.4
           v1.46.3
           v1.46.2
           v1.46.1
           v1.46.0
           v1.45.4
           v1.45.3.1
           v1.45.3
           v1.45.2
           v1.45.1
           v1.45.0
           v1.44.7
           v1.44.6.1
           v1.44.6
           v1.44.5
           v1.44.4
           v1.44.3
           v1.44.2
      
      Thus, the container image for v1.46.6 must be marked as latest.
      ```
      
      * Remove unnecessary whitespace
      
      [ci skip]
      90b9ef00
  4. Jul 01, 2023
  5. Jun 30, 2023
Loading