This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jul 30, 2024
-
-
Uladzimir Havenchyk authored
* test: update testing-library packages * upgrade jest * drop useless types * drop babel-jest * fix types * fix canvas error
-
- Jul 29, 2024
-
-
Uladzimir Havenchyk authored
* test(jest): get rid of warnings about duplicate manual mock * update file-paths
-
- Jul 15, 2024
-
-
Ryan Laurie authored
* run release code tests separately * remove extra install from frontend unit tests * use the right dir * fix dependency issues
-
- Jul 05, 2024
-
-
Romeo Van Snick authored
* Add csv-stringify package * Split values at comma WIP: Parse values using json * Add label to ParameterValue and add ParameterValue to value config * Use custom label in FieldValuesWidget * Allow passing displayValue from outside of RemappedValue * Allow passing displayValue in ParameterFieldWidgetValue * Get custom value label in FormatterParameterValue * Allow rendering custom displayValue in FieldValuesWidget * Add custom ParameterValue types * Fix ParameterValuePicker type * Fix jest import for csv-stringify * Add missing RTKQ exports for paramters * Use direct implementation of useGetParameterValues * Fix ValueSourceModal tests * Add tests for value parsing and stringifying * Use custom label in list too * Render the custom label in a parameter value * Setup parameter mocks in embed test * Add info about splitting values with comma * Add model hint when user is using labels * Add test for cusom labels on dashboards * Handle label-value pairs in test * Test custom labels in parameter search input * Use the label to parse the value for text inputs * Fix comma's to commas Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Use strong instead of styling link * Use getInput instead of ignoring eslint rule * Use arrow function * Add newlines between tests * Use uppercase for test value * Name value * Use getLabel and getValue helpers to avoid indexing confusion * Pull out confusing condition * Move out getLabel helper * Be more explicit about non-existent config values Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com> * Move setupParameterValuesEndpoints to setup * Add loading state * Do not use alert to implement info box * Fix formatting * Remove undefined from getValue signature * Use getLearnUrl * Remove dependency on column * Make custom field labels work in the absence of fields * Support custom values for non-field parameters * Add test for native question parameters * Add newline in test * Add test case for when show-metabase-links is false * Just fall back to rendering value when fetching label, or in case it failed * Add test for loading state of FormattedParameterValue * Do not fetch custom label for FormattedParameterValue * Add table with ip addresses * Add test for IPAddress filter with custom labels * Add test for custom labels on type/Quantity fields * Remove getInput helper in test * Remove unused hasCustomLabel value * Split up into common and premium tests * Make fieldValues a map for performance --------- Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
- Jun 26, 2024
-
-
Phoomparin Mano authored
-
- May 31, 2024
-
-
Kamil Mielnik authored
* Fix unit tests running multiple times in watch mode * Ignore even more
-
- May 28, 2024
-
-
Romeo Van Snick authored
* Pass current values to shouldCreate * Allow comma to create new item * Simplify getAvailableSelectItems * Add unit test for MultiAutocomplete input * Use text instead of Text in paste * Handle spaces in MultiAutocomplete * Remove cast * Reuse last var * Use haveLastBeenCalledWith over haveBeenCalledWith * Handle pasting when there is text in the input already * Accept quote-delimited values * Add info icon * Handle tab as a separator * Fix test cases for unsanitized parseValues * Add csv-parse * Use csv-parse to parse values * Apply the correct color to the info icon * Rename util to utils * Break up tooltip text * Only return unique values * Be more accepting around quotes in the middle of unescaped values * provide Buffer for csv-parse package in storybook * Use browser-friendly version of csv-parse * Remove unused eslint rule * Add specital case for csv-parse to jest config * Put uniqueness check in each state update * Only add partial value if it is valid * Only add partial value if it is valid * Fix test case for FilterValuePicker * Just use Set Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Allow parsing more than one value * Use isValid everywhere it makes sense * Add test for RTL languages --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com> Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
- May 17, 2024
-
-
Nemanja Glumac authored
-
Oisin Coveney authored
-
- May 10, 2024
-
-
Aleksandr Lesnenko authored
* use echarts tree shaking api * fix specs * update types * move echarts module registration back to individual components * Transpile echarts in jest --------- Co-authored-by:
Uladzimir Havenchyk <uladzimir.dev@gmail.com>
-
- 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>
-
- Mar 13, 2024
-
-
Alexander Polyankin authored
* v1 * v1 * v1 * Move sync code * Small refactor
-
- Dec 08, 2023
-
-
Ryan Laurie authored
-
- Dec 07, 2023
-
-
Uladzimir Havenchyk authored
-
- Nov 08, 2023
-
-
Uladzimir Havenchyk authored
-