This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 03, 2024
-
-
Phoomparin Mano authored
-
Romeo Van Snick authored
* Add test for email extractions * Fix swapped domain and host examples * Add tests for URL columns * Fix examples for shortcut too * Use arrow function instead of function
-
Cam Saul authored
MLv2: Simplify MetadataProvider protocols (16 methods/3 protocols => 7 methods/2 protocols) (#42070) * Simplified MetadataProvider protocol * Test fix * Ok make CachedMetadataProvider a separate schema again after all. * Consolidate the Metadata schemas * Clean Kondo warnings * Malli-ify the stuff in metabase.lib.metadata.protocols * Fix Kondo warnings * Test fix
* PR feedback
-
- May 02, 2024
-
-
Aleksandr Lesnenko authored
-
Cam Saul authored
* Fix LgeacyMetric/Segment macroexpansion with definitions using ancient MBQL 2 * Remove stray println * PR feedback
-
Cam Saul authored
* Window functions should use all breakouts except first for partitioning * Update the offset() test * Update tests * Rework how we use driver escape-alias in MLv2; fix Oracle * PR feedback * Test fixes
-
Jeff Bruemmer authored
-
Uladzimir Havenchyk authored
* Cleanup parameters popover * Convert to ts * Drop comment * Convert dashboard-options to TS
-
Braden Shepherdson authored
This is a new parameter `:type` (and `:widget-type`) to choose a time granularity (a `:temporal-unit`, eg. `month`, `day`, `day-of-week`) which should replace the unit on the target field for the parameter. The target field should be a breakout with a temporal type (date, datetime) that's compatible with the input unit. The value of the parameter should be a string or keyword naming one of the units: `"month"`, `:month`. Part of #42118.
-
Uladzimir Havenchyk authored
-
Noah Moss authored
Optimize loading of admin permissions pages (add skip_fields flag to database metadata endpoint) (#42062) * add skip_fields flag to database metadata endpoint * skips loading fields on database metadata requests while on admin permissions pages --------- Co-authored-by:
Sloan Sparger <sloansparger@gmail.com>
-
Alex Yarosh authored
* add TOC to Jetty article * add ToC for debian article * vvariables * Update docs/installation-and-operation/running-metabase-on-debian.md Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Romeo Van Snick authored
* Add trackColumnExtractViaHeader helper * Add Lib.extract wrapper * Track column extractions via header * Fix analytics event name * Add tests for extract action analytics * Set up extractions metadata helper * Use functionsUseByExtraction in analytics * Add custom type for ExtractionTag * Use ExtractionTag in analytics * [MBQL lib] Add `Lib.columnExtractDrillExtractions` This gets the extractions from a column-extract drill, which is needed in the UI. * Add extractionExpression wrapper * Add extractionsForDrill helper * Fix type signature of extractionExpression * Use expressionParts for getting expression function * Walk expression to get functions used * Simplify ColumnExtractionTag * Fix expected expression * Be more explicit with what the guard does --------- Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
Alex Yarosh authored
-
Nick Fitzpatrick authored
* Items as links * unit tests
-
Jeff Bruemmer authored
-
Abed Habli authored
-
Nemanja Glumac authored
* Explicitly wait for the result to load * Remove the drill-through part from the repro
-
Phoomparin Mano authored
* use palette for rendering * add unit tests for chart label colors * cleanup test code * update unit test name * cleanup color handler * use theme.fn.themeColor to get color
-
Nick Fitzpatrick authored
* Adding Descriptions to search results in palette * Palette Results List component * adjusting e2e and unit tests * type fix * removing duplicate theme font * fix typo, palette types adjustment
-
Nemanja Glumac authored
-
Phoomparin Mano authored
* ensures metabase theme override is merged with user-supplied theme * ensure both metabase and user themes are merged * ensure existing theme override is applied * add tests for default text colors
-
Nemanja Glumac authored
-
Ngoc Khuat authored
-
lbrdnk authored
-
Ngoc Khuat authored
* Comment out failing snowflake test sync-dynamic-tables-test * unrelated indent
-
Uladzimir Havenchyk authored
-
Phoomparin Mano authored
* expose theme property in MetabaseProvider * add more descriptions on what the theme overrides are for
-
- May 01, 2024
-
-
Aleksandr Lesnenko authored
-
Alex Yarosh authored
* sql questions * Update docs/questions/native-editor/writing-sql.md Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> * Update docs/questions/native-editor/writing-sql.md Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Alex Yarosh authored
* custom destinations in static embedding * Update docs/embedding/static-embedding.md Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Alex Yarosh authored
-
Alex Yarosh authored
* check visibility * more precise * Update docs/troubleshooting-guide/cant-see-tables.md
-
Alex Yarosh authored
-
Alex Yarosh authored
* mfa * plans
-
Uladzimir Havenchyk authored
-
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:
Romeo 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:
Braden Shepherdson <braden@metabase.com> Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
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:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> * Fix parens --------- Co-authored-by:
Nemanja <31325167+nemanjaglumac@users.noreply.github.com>
-
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]] ```
-
Anton Kulyk authored
-