This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- May 02, 2024
-
-
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
-
Anton Kulyk authored
-
Romeo Van Snick authored
* Add shortcuts to suggestions * Add shortcuts group * Add split icon * Start implementing extract column modal * Pass alwaysExpanded from prop to accordion items * Allow disabling search on QueryColumnPicker * Only render columns that support extraction * Add columnExtractions helper to Lib * WIP * Add examples for column extraction * Use Lib.columnExtractions to create extraction picker * WIP: Create clause from extraction * Use mb- prefix in color * Add extract wrapper * Use updated column extraction types * WIP: extract clause * Use JSDoc for todo * Handle extract column submit in expression editor * Set name based on extract expression * Suffix column displayNames to avoid conflicts * Rename combine test to disambiguate it from extract test * Add e2e test for column extractions * Correctly render button as button * Add tests for email extractions * Use correct font in expression button * Remove error when selecting an extraction * Use last expression * Use handleExpressionChange * Add tests for url extractions * Rename to lastExpression * Add issue link to the todo * Move Button into ExtractColumn * Use unstyled button for ExtractColumnButton
-
lbrdnk authored
-
Ngoc Khuat authored
-
- Apr 30, 2024
-
-
Cam Saul authored
* Fix Snowflake filtering on date for `timestamp with time zone` columns * Snowflake should just generate raw SQL for literals * Go ahead and fix other Snowflake stuff and reenable a bunch of disabled tests * Snowflake test fixes
* Minor test improvements * Fix Redshift and Vertica as well. * Address PR feedback -
Cam Saul authored
-
Noah Moss authored
-
Alex Yarosh authored
* update the option name * Update docs/configuring-metabase/slack.md Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com> --------- Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
-
Alex Yarosh authored
-
Nemanja Glumac authored
-
Uladzimir Havenchyk authored
-
Phoomparin Mano authored
-
Nemanja Glumac authored
* Use RTK Query endpoint to fetch native dataset in preview query modal * Remove unused selector * Remove endpoint from `services` * Fix type error * Use `getLearnUrl` selector instead of the deprecated MetabaseSettings * Fix the error potentially being undefined when passed to a helper * Fix weird destructuring syntax
-
Phoomparin Mano authored
* bump react embedding sdk version to 0.1.0 * publish to metabase-embedding-sdk-react using version 0.1.1 * add commands to copy LICENSE and README files to output * use the scoped metabase package * rename file content variable Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> * update embedding sdk package description * update content variable in script Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev> --------- Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
Mahatthana (Kelvin) Nomsawadi authored
It should be capitalized
-
adam-james authored
* Store Parameter Values Set by User on a per-user basis This is a WIP for #28181 and the notion doc: https://www.notion.so/metabase/Tech-Maintain-user-level-state-in-dashboards-for-filters-fc16909a3216482f896934dd94b54f9a Still to do: - [ ] validate the table/model design - [ ] hook up the endpoints mentioned in the doc (2 in api/dashboard) - [ ] return the user specific parameter values on /api/dashboard/:dashboardID endpoints - [ ] write a few tests to capture the intent of this feature * Accidentally deleted a digit in the change ID timestamp * first pass at writing user param values to the db. It's in a doseq here which is probably not the correct way to go yet, but it's a step in the right direction. * Hydrate dashboard response with `:last_used_param_values` key If the user has previously set a parameter's value, it will show up in the map under that parameter id. If the user has no parameter value set, that entry will be 'null'. * Use proper fn name * Only save or retreive user params if there's a current user id * Add model to necessary lists * Only run query when there are parameter ids to run it with * Add a test to confirm that last_used_param_values works * Add models test namespace for CRUD test * The hydration is checked in the dashboard api test already
-