This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Apr 29, 2024
-
-
Raphael Krut-Landau authored
preliminary work for https://github.com/metabase/metabase/pull/41614
-
Romeo Van Snick authored
-
- Apr 26, 2024
-
-
Aleksandr Lesnenko authored
Co-authored-by:
Emmad Usmani <emmadusmani@berkeley.edu> Co-authored-by:
Adam James <adam.vermeer2@gmail.com> Co-authored-by:
Mark Bastian <markbastian@gmail.com> Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
Sloan Sparger authored
-
Ryan Laurie authored
* remove popular items entity * support secondary icons
-
Ryan Laurie authored
-
Ryan Laurie authored
* remove defunct form components * fix lil type errros
-
Ryan Laurie authored
* add entity agnostic getIcon function * remove recent items entity * fix tests and support secondary icon * fix display name
-
Nick Fitzpatrick authored
* prioritize recent items, do not filter search results * fixing unit test
-
Nick Fitzpatrick authored
-
Nick Fitzpatrick authored
* temp * rework DatasetFieldMetadataSidebar to use new form components * temp * removing unneeded import * fixing display name form field * temp * more temp * onChange for form elements * e2e adjustment
-
Denis Berezin authored
* Button * Reset button * Skip failing unit test * Fixes after merge
-
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
-
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>
-
- 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.
-
Oisin Coveney authored
-
Ryan Laurie authored
* use rtk in entity picker * use rtk for collection creation * fix tricky entity shenanigans * update collection_id type
-
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
-
- Apr 24, 2024
-
-
Nick Fitzpatrick authored
* Migrate SMTPConnectionForm to Form Provider * e2e test adjustment * updaing setting mock * PR feedback
-
Denis Berezin authored
* Isolate click actions * Self review fixes * Add global plugin config * Review fixes * Drill with custom view * Review fixes
-
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
-
- Apr 23, 2024
-
-
Emmad Usmani authored
* allow scientific notation (`e`) in `ChartSettingInputNumeric.tsx` * update spec * update comment
-
Nick Fitzpatrick authored
-
Jesse Devaney authored
* fix queries being re-run because parameters were being compared with different sorts * add test to validate and enforce behavior
-
Romeo Van Snick authored
* Be more consistent with borders and avoid double borders * Mark the aggregation 'Custom Expression' button as an action * Remove color from action headers * Remove bottom border from last child * Remove top border from first child * Make section header classes consistent * Add border to search header * Use correct color for borders * Add props to enable borders in AccordionList * Add borders to column picker elements
-
Mahatthana (Kelvin) Nomsawadi authored
-
Nick Fitzpatrick authored
* CopyQuestionForm * CopyDashboardForm * inital values adjustment, e2e tests * FormObserver
-
Oisin Coveney authored
-
Nemanja Glumac authored
* Use proper case for year date format Fixes #40493 * Add regression test for specific filters in different locales * Actually use the locale
-
Mahatthana (Kelvin) Nomsawadi authored
-
Oisin Coveney authored
-
- Apr 22, 2024
-
-
Raphael Krut-Landau authored
BaseItemsTable BaseTableItem BulkActions CollectionContentView CollectionCopyEntityModal ItemsTable
-
Nemanja Glumac authored
* Throw for `Snippets.api.delete` * Add boilerplate `snippet` RTK API * Add boilerplate RTK-compatibility layer for main `Snippets.api` endpoints * Add types * Add cache invalidation
-