Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. May 03, 2024
  2. May 02, 2024
  3. May 01, 2024
    • Aleksandr Lesnenko's avatar
    • Alex Yarosh's avatar
      [docs] Use SQL questions as sources for other questions (#42077) · 2c6b94d6
      Alex Yarosh authored
      
      * sql questions
      
      * Update docs/questions/native-editor/writing-sql.md
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      
      * Update docs/questions/native-editor/writing-sql.md
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      
      ---------
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      Unverified
      2c6b94d6
    • Alex Yarosh's avatar
      [docs] Custom destinations in static embedding (#42080) · 4a0514b5
      Alex Yarosh authored
      
      * custom destinations in static embedding
      
      * Update docs/embedding/static-embedding.md
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      
      ---------
      
      Co-authored-by: default avatarJeff Bruemmer <jeff.bruemmer@gmail.com>
      Unverified
      4a0514b5
    • Alex Yarosh's avatar
      cast (#42064) · e09397ca
      Alex Yarosh authored
      Unverified
      e09397ca
    • Alex Yarosh's avatar
      [docs] Add "check table visibility" to troubleshooting guide (#42072) · 7329a9d8
      Alex Yarosh authored
      * check visibility
      
      * more precise
      
      * Update docs/troubleshooting-guide/cant-see-tables.md
      Unverified
      7329a9d8
    • Alex Yarosh's avatar
      surface dashboard width in toc (#42083) · 191b59d4
      Alex Yarosh authored
      Unverified
      191b59d4
    • Alex Yarosh's avatar
      [docs] use SSO for MFA (#42084) · 892006e5
      Alex Yarosh authored
      * mfa
      
      * plans
      Unverified
      892006e5
    • Uladzimir Havenchyk's avatar
    • Romeo Van Snick's avatar
      Combine columns (#42021) · 0dc75042
      Romeo Van Snick authored
      * [MLv2] Add `preview-expression` to eval an expression on sample data
      
      This is needed to show the previews in the UX for the combining columns
      epic #39977.
      
      Fixes #39979.
      
      * [MBQL lib] Add "Combine columns" drill-thru
      
      This is following the original plan of using a drill for this. It's hard
      to combine that with the "preview" functionality.
      
      See [thread](https://metaboat.slack.com/archives/C06P22KS4JH/p1712264174056569)
      for discussion of how we might approach that issue.
      
      Fixes #39978.
      
      * [MBQL lib] Add "Combine columns" drill-thru
      
      This is following the original plan of using a drill for this. It's hard
      to combine that with the "preview" functionality.
      
      See [thread](https://metaboat.slack.com/archives/C06P22KS4JH/p1712264174056569
      
      )
      for discussion of how we might approach that issue.
      
      Fixes #39978.
      
      * [MLv2] Add `preview-expression` to eval an expression on sample data
      
      This is needed to show the previews in the UX for the combining columns
      epic #39977.
      
      Fixes #39979.
      
      * [MLv2] Add `preview-expression` to eval an expression on sample data
      
      This is needed to show the previews in the UX for the combining columns
      epic #39977.
      
      Fixes #39979.
      
      * Revert "Merge branch 'mblib-preview-expressions' into combine-columns"
      
      This reverts commit dac17f84aaae09906a206106290f7f58dea659bd, reversing
      changes made to 2934fab19db495ca8104801d41bc8aba457e401f.
      
      * Revert "Merge branch 'mblib-preview-expressions' into combine-columns"
      
      This reverts commit 2934fab19db495ca8104801d41bc8aba457e401f, reversing
      changes made to 6a43c22e78fb616c7ac0b024811b2989a1ae0f20.
      
      * Revert "Merge branch 'mblib-preview-expressions' into combine-columns"
      
      This reverts commit 6a43c22e78fb616c7ac0b024811b2989a1ae0f20, reversing
      changes made to 2257333a8ae69f0c9a6f6fdf0c8f5d837263f97a.
      
      * [FE] "Combine columns" drill thru (#40082)
      
      * Type Section['icon'] properly, including the hack for summarize section
      
      * Add combine columns section
      
      * Add types for combine columns drill
      
      * Add combine columns drill component stub
      
      * Mock combine columns drill
      
      * Add component stub
      
      * Encapsulate typing hacks
      
      * Extract CombineColumnsDrill
      
      * Extract ColumnAndSeparatorRow
      
      * Improve naming, add button to edit separators
      
      * Translate string
      
      * Improve styling
      
      * Separator input
      
      * Handle removing columns
      
      * Rename lib.ts to utils.ts
      
      * Implement onSubmit
      
      * Add getNextColumnAndSeparator
      
      * Use form for a11y
      
      * Handle vertical overflow
      
      * Handle horizontal overflow
      
      * Extract formatSeparator
      
      * Use proper translations
      
      * Adjust min/max sizes
      
      * Fix scrollbar being unnecessarily shown
      
      * Display source column name
      
      * Avoid serializing the entire column and putting it into DOM
      
      * Use module.css extension
      
      * Format code
      
      * Improve a11y
      
      * Mock combineColumnsDrillExpression and previewExpression
      
      * Add Preview component
      
      * Move preview logic to Preview component
      
      * Style Preview
      
      * Format code
      
      * Move styles to CSS modules
      
      * Update UI to latest designs
      - move "Add another column" button
      - remove "Separated by X" button
      - always show separator inputs
      
      * Remove displayInfo mock
      
      * Add asReturned
      
      * Update CombineColumnsDrillThruInfo
      
      * Integrate new way of working with combine columns drill
      
      * Fix generating expression names
      
      * Integrate drill with click actions
      
      * Integrate new preview workflow
      
      * Revert "Update UI to latest designs"
      
      This reverts commit cda039dffe9d452c0866f63800e2e887a540fe67.
      
      * Use previewExpression interface correctly
      
      * Use new preview_expression API
      
      * Make sure columns are created with original query and stage index
      
      * Extract usePreview and handle preview errors
      
      * Update popover title
      
      * Move add column button
      
      * Fix outline being cut off
      
      * Style preview label as per design
      
      * Format empty separator
      
      * Make preview scrollable
      
      * Use project convention
      
      * Simplify ScrollArea usage
      
      * Use ScrollArea in CombineColumnsDrill
      
      * Update comment
      
      * Remove Lib.previewExpression
      
      * Clean up the preview after removing Lib.previewExpression
      
      * Implement getPreview
      
      * Change default column preview to 'text'
      
      * Remove usePreview hook which is no longer in use
      
      * Rename Preview to Example
      
      * Use different placeholder for separator input
      
      * Add whitespace placeholder
      
      * Add ColumnPicker boilerplate
      
      * Export Input
      
      * Use QueryColumnPicker for ColumnPicker
      
      * Pass width to AccordionList
      
      * Add sequences popover events with tippy
      
      * Remove unused ColumnOption helpers
      
      * Add testid to Example
      
      * Add e2e test for combine column in header
      
      * Select content of separator input on focus
      
      * Reduce padding on example
      
      * Add monospace variant to Text
      
      * Use monospace variant in Example
      
      * Use monospace font in textinput
      
      * Match faux-select label styles to our TextInput label styles
      
      * Add missing color
      
      * Remove !important
      
      * Use pre whitespace so consecutive spaces show up
      
      * Remove empty default
      
      * Add example for boolean
      
      * Remove !important
      
      * Use should.have text over contain
      
      ---------
      
      Co-authored-by: default avatarRomeo Van Snick <romeo@romeovansnick.be>
      
      * Remove duplicated code
      
      * Export useMantineTheme from metabase/ui
      
      * Use useMantineTheme instead of reading theme directly
      
      * Remove setTimeout in popover
      
      * Use plain t instead of jt
      
      * Move Popover dropdown sequence hack to metabase/ui
      
      ---------
      
      Co-authored-by: default avatarBraden Shepherdson <braden@metabase.com>
      Co-authored-by: default avatarKamil Mielnik <kamil@kamilmielnik.com>
      Unverified
      0dc75042
    • lbrdnk's avatar
      Add string like filtering capabilities to filter widget (#42065) · 9887f222
      lbrdnk authored
      
      * Add string like filtering capabilities to filter widget
      
      * Address the review suggestions
      
      * Add e2e test
      
      * Address review suggestions
      
      * Update mongo e2e test id so it hopefully corresponds to CI data
      
      * Update e2e test to use id gathered from actual data
      
      * Expand and improve the E2E reproduction
      
      * Explicitly reference the underlying issues we're reproducing
      
      * Update frontend/src/metabase/querying/components/FilterPicker/FilterPickerBody/FilterPickerBody.tsx
      
      Co-authored-by: default avatarNemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
      
      * Fix parens
      
      ---------
      
      Co-authored-by: default avatarNemanja <31325167+nemanjaglumac@users.noreply.github.com>
      Unverified
      9887f222
    • Braden Shepherdson's avatar
      [QP, lib] Allow multiple arguments to `:contains`, `:starts-with`, etc. (#41958) · d142da99
      Braden Shepherdson authored
      These string matching clauses only allowed two arguments previously.
      Typically `[:contains field x]` to match a field against a literal.
      
      This adds similar desugaring for `:contains`, `:does-not-contain`,
      `:starts-with` and `:ends-with` that is currently done for
      multi-argument `:=` and `:!=`:
      
      ```clojure
      [:contains field x y z] ;; ->
      [:or [:contains field x] [:contains field y] [:contains field z]]
      
      [:does-not-contain field x y z] ;; ->
      [:and [:does-not-contain field x]
            [:does-not-contain field y]
            [:does-not-contain field z]]
      ```
      Unverified
      d142da99
    • Anton Kulyk's avatar
Loading