This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 26, 2024
-
-
Alexander Solovyov authored
-
Braden Shepherdson authored
The new expressions `:month-name`, `:quarter-name` and `:day-name` return the (user localized) names for these units, given the corresponding number. For example, 4 yields `"Apr"`, `"Q4"` or `"Wednesday"` respectively. The `column-extract` drill uses these new expressions, rather than generating its own `:case` clauses for them. Note that `:day-of-week` and `:month-of-year` are tricky cases for i18n, but there are tests that exercise them thoroughly. Part of the follow-up for Extract Column epic #38964.
-
Oisin Coveney authored
-
Nemanja Glumac authored
-
Romeo Van Snick authored
* Add subTitle to ClickActions * Add examples to column extractions * Add test for examples * Add test for examples * Use rem helper * Use JSDoc for todo * Disambiguate between ColumnExtraction and ColumnExtractionInfo * Update type of getExample * Use rem helper
-
Alexander Solovyov authored
-
Cal Herries authored
-
Nemanja Glumac authored
* Remove the custom resize handle * Increase the handle width
-
Romeo Van Snick authored
* Notebook combine columns (#41379) * Add CombineColumns dialog component * Add combine columns to the expression editor widget * Add placeholder for empty and space to the input * Drop the first separator * Remove empty string from eventual concat * Add example to Combine Colunmns builder * Show example in monospace * Do not collapse spaces in example * Use monospace in separator input * Reorganise column flatten helper * Add back button on combine buttons modal * Select text when focussing separator input * Add minimum height to example * Use that same separator as the last row * Use ExpressionWidgetHeader instead of hand-rolled header * Fix type when generating example * Correctly update default separator when a url column gets set * Swap url and email checks * Move column input into separate component * Use QuerySelector for column select * WIP: customise dropdown * Export Input * Use a button to render the column selector * Add combine icon * Use shortcut suggestion shortcut for combine columns * Allow interacting with buttons inside the popover * Use longDisplayName for button label * Add asReturned * Use asReturned in CombineColumns modal * Make faux-select button styles match normal input * Return focus to button when select closes * Fix type of focus event * Move ColumnInput component to a separate file * Only show combine column shortcut on custom column * Add missing test ids * Add e2e test for combine column shortcut * Remove white fill from paths * Add color to combine icon * Use function expression, not declaration * Remove comment * Move initial default separator to constant * Remove unused select option helpers * Add isInteger helper to Lib * Add case for integer columns * Add unit tests for util * Add SuggestionShortcut type to props for Suggestions * Remove {enter} which broke test * Do not use !important * Simplify classname into object-style Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> * Use direct override on Button instead of class * Fix formatting issue * Use .select() to select input * Avoid selecting placeholder text * Avoid losing focus when window loses focus * Rename evt to event * Add monospace variant to Text * Use monospace variant in Example * Use monospace font from theme * Match faux-select label styles to our TextInput label styles * Remove empty default variant * Add limit to the test case * Remove unnecessary within wrapper * Use rem Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> --------- Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com> * Remove intercept we're not waiting for * Use have.text instead of contain * Use cy.button * Expand cancel test * Remove duplicate title --------- Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
-
Ngoc Khuat authored
-
Nemanja Glumac authored
* Re-write E2E repro for 39221 * Convert to TS
-
dependabot[bot] authored
Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.9.4 to 3.9.7. - [Release notes](https://github.com/sidorares/node-mysql2/releases) - [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md) - [Commits](https://github.com/sidorares/node-mysql2/compare/v3.9.4...v3.9.7 ) --- updated-dependencies: - dependency-name: mysql2 dependency-type: direct:development ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
Chris Truter <chris@metabase.com>
-
Ngoc Khuat authored
* Fix the flake in add-required-filter-if-needed-test due to field order * /s/oredered-filter/ordered-filter
-
- Apr 25, 2024
-
-
Braden Shepherdson authored
Column extractions are "canned" expressions based on a column's type. For example, we might extract the weekday from a temporal column, or the domain from an email or URL column. This logic already existed inside the `column-extract` drill; this pulls it out as a top-level concept, since extractions are also being integrated into the notebook editor apart from drills. Part of the follow-up for Extract Column epic #38964.
-
Noah Moss authored
-
Luis Paolini authored
I need to test a bugfix with a customer (Fixed an issue with parsing large responses (greater than 16MB)) in 49.7
-
Tim Macdonald authored
Also add the replace-names fn, which is a simple pass-through to Macaw #modularity
-
Oisin Coveney authored
-
Tim Macdonald authored
(It's coming back in similar form, but EE-only)
-
Noah Moss authored
-
Ryan Laurie authored
* use rtk in entity picker * use rtk for collection creation * fix tricky entity shenanigans * update collection_id type
-
Cal Herries authored
-
Nemanja Glumac authored
* Throw on `Pulse.api.delete` * Add boilerplate `subscriptionApi` * Add `unsubscribe` endpoint * Add types * Delete unused `Pulses.objectActions` * Re-wire `Pulses` entity to use RTK Query for `objectActions` * Re-wire `Pulses.api` to use RTK Query under the hood * Add cache invalidation * Fix `setArchived` objectAction * Update DELETE response type * Fix `params`
-
Oisin Coveney authored
-
Alexander Solovyov authored
This reverts commit f5bd6344.
-
- Apr 24, 2024
-
-
Jeff Bruemmer authored
-
John Swanson authored
Pretty much does what it says on the tin.
-
Nick Fitzpatrick authored
* Migrate SMTPConnectionForm to Form Provider * e2e test adjustment * updaing setting mock * PR feedback
-
Tim Macdonald authored
It has a slightly different API shape. We're not using it right this minute, but we're about to and it seemed nice to separate this out into its own PR
-
Denis Berezin authored
* Isolate click actions * Self review fixes * Add global plugin config * Review fixes * Drill with custom view * Review fixes
-
Alexander Solovyov authored
-
Romeo Van Snick authored
* Export Input * Move TextInput overrides to Input * Remove the :not(:only-child) hack the Schedule component * Remove the :not(:only-child) hack from DateInput * Remove the :not(:only-child) hack from FileInput * Remove the :not(:only-child) hack from Select * Remove the :not(:only-child) hack from TextArea * Remove the :not(:only-child) hack from TimeInput * Reproduce pre-hack margin in Schedule component * Undo overzealous refactor
-
Nemanja Glumac authored
* Add persisted info types * Keep exports sorted alphabetically * Add boilerplate `perist` API * Use RTK Query for the `PersistedModels.list` * Throw for unused `PersistedModels` endpoints * Update types * Re-wire PersistedModels `get` requests to use RTK Query * Fix the endpoint * Refresh model cache using RTK Query * Add cache invalidation * Fix `PersistedModels.api.get` endpoint options * Remove stray TODO comment * Explain the difference between the `persisted-info` and the `persisted-model` tags * Invalidate `persisted-info` list upon refreshing a single model
-
Mahatthana (Kelvin) Nomsawadi authored
-
Cal Herries authored
Co-authored-by:
Chris Truter <crisptrutski@users.noreply.github.com>
-
Cal Herries authored
-
Cal Herries authored
-
- Apr 23, 2024
-
-
Emmad Usmani authored
* allow scientific notation (`e`) in `ChartSettingInputNumeric.tsx` * update spec * update comment
-
Sloan Sparger authored
-
Nick Fitzpatrick authored
-