This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- 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>
-
Kamil Mielnik authored
* Remove dead CSS * Use proper types * Properly type parameterValues * Add href prop support to LegendCaption * Extract getNewCardUrl - move getParametersMappedToDashcard * Use href in CartesianChart * Handle RowChart * Handle Funnel * Format code * Fix types * Update first test in title-drill * Update test * Update test * Update tests - pass questionId in createQuestionAndDashboard * Add test for links * Fix createDashboardWithQuestions * Add missing click handler * Fix crash * Fix typo * Add a workaround for #42999 * Fix tests * Fix hover color * Update comment * Get rid of mapStateToProps in DashboardGrid * Invert condition * Use useCallback instead useMemo * Do not pass getNewCardUrl down if navigateToNewCardFromDashboard is not present - Remove default noop for navigateToNewCardFromDashboard in PublicDashboard * Remove explicit undefined prop
-
Phoomparin Mano authored
* add color types for chart sdk colors * simplify chart color types * chart color mappings * apply mapping to master branch * add chart mapping to mantine * feat(sdk): apply chart accent colors to mantine and color getter * rename tint and shade * remove chart color logic from mantine * add a color mapping test * docs(sdk): add chart customizations to readme * add type comments on MappableSdkColor * cleanup sdk colors
-
Mahatthana (Kelvin) Nomsawadi authored
-
Cal Herries authored
Fix flaky migration rollback test for mysql: metabase.db.custom-migrations-test/migrate-uploads-settings-test-1 (#43210)
-
- May 27, 2024
-
-
Cal Herries authored
-
Alexander Polyankin authored
-
Case Nelson authored
* [Metrics V2] Remove legacy-metric metadata Fixes #43131 * Don't mock metric * Drop definition_description hydration on legacy metric * Remove defintion_description tests * Update src/metabase/lib/metadata.cljc Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com> --------- Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
Cal Herries authored
Migrate uploads settings to the db-level behind the scenes, so the uploads DB can be set by the config file (#42869)
-
Phoomparin Mano authored
-
Uladzimir Havenchyk authored
* Avoid unnecessary re-renderings in dashboard - dashboard controls * Comment
-
Kamil Mielnik authored
* Fix missing React key prop * Fix missing React key prop * Fix order of conditions and make the code easier to follow
-
Uladzimir Havenchyk authored
-
Kamil Mielnik authored
* Update & tag a test * Run tests also on TS files * Update mongo test
-
Alexander Solovyov authored
-
- May 24, 2024
-
-
Cal Herries authored
-
metamben authored
-
metamben authored
-
metamben authored
-
Alexander Polyankin authored
-
Nick Fitzpatrick authored
* add media query to search button * useSmallScreen hook
-
Ryan Laurie authored
-
Ryan Laurie authored
* hide creation buttons on search and recents tabs * update e2e tests
-
Oisin Coveney authored
* Convert DashboardControls to TS hooks * fix types * Modify dashboard url params to ensure that we keep hash options that haven't changed * Fix PublicDashboard and DashboardTabs tests * Use synced dashboard tabs for automatic dashboard, and use normal tabs for those with DashboardControls * reduce hash option location changes to only the ones we can change through the UI * Add comment on state management * Remove console * Attempt to solve more tests * Remove loadDashboardParams as a passed prop * Fix some tests, but will cause unit test to break * Change names to reflect actual usage * Fix lint and type issues * Add simpler url param control, simplify types, and simplify fullscreen hook * Add two way binding with url params to attempt to fix tests * Fix unit test + types * Move folders and fix imports * Use Record<string, unknown> for refresh hook * Remove console.log * Clear query parameters when ParametersList unmounts * Add comment * Revert DisplayTheme changes * Fix weird reloading problem * Fix reducers test * add code comments on selecting the tab once tab data is loaded * add code comments on unsyncing parameters * Fix e2e tests, move url reset to tabs context * Fix e2e tests * Hotfix --------- Co-authored-by:
Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Phoomparin Mano <poom@metabase.com> Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
Raphael Krut-Landau authored
* Limit options on OSS Admin/Performance page * simplify * simplify * simplify * divide constants to avoid circular imports * divide constants to avoid circular imports * divide constants to avoid circular imports * simplify * simplify * simp * fix * simplify * simplify * fix test
-
Aleksandr Lesnenko authored
This reverts commit bf6fd9ef.
-
Aleksandr Lesnenko authored
-
Uladzimir Havenchyk authored
[Dashboard] Optimize rendering by reducing the number of props passing down to from the very top (#43114) * Avoid unnecessary re-renderings in dashboard - getEmbeddedParameterVisibility * Avoid unnecessary re-renderings in dashboard - favicon, page title * Exclude isLoadingComplete from passing down * Avoid unnecessary re-renderings in dashboard - metadata * Drop metadata from Public Dashboard * Avoid unnecessary re-renderings in dashboard - dashcardData
-
Nicolò Pretto authored
* minimal support for multiple origins in security middleware * if -> when to be more idiomatic * adds tests for parse-url * if -> when * add missing new line in tests * split the logic of validation in functions * adds tests for the small functions * use namespace in tests instead of :refer
-
Romeo Van Snick authored
-
Romeo Van Snick authored
* Limit the height of the breakout popover * Allow the click action popover to untether to prevent overflowing the screen * Add reproduction for #43075 * Rename breaktrhough to breakout Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Use findAllByTestId Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Remove copy pasted question name Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> * Remove unused api intercept Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com> --------- Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
Romeo Van Snick authored
* Make accordion list item content 100% wide * Remove unused Dot component * Move bucket popover trigger to the end of the item * Revert QueryColumnPicker styles to what they were before adding the info icons * Fix the height of the bucket picker
-
Uladzimir Havenchyk authored
-
- May 23, 2024
-
-
Case Nelson authored
* [Metrics V2] Port Legacy metric tests and fixes Fixes #43093 * Address pr review
-
Alexander Polyankin authored
-
metamben authored
* Stop returning archived metrics in available metrics * Add archived metric test * Migrate legacy metric tests * Delete lib/legacy_metric.cljc
-
metamben authored
-
Emmad Usmani authored
* refactor scatter plot model to separate function * (2/3) refactor scatter plot option to separate function (#43033) * use getScatterPlotOption * use buildEChartsScatterSeries directly * remove hoveredSeriesDataKey from scatter * (3/3) improve chart model types (#43034) * create WaterfallChartModel type * create ScatterPlotModel type * rename BaseCartesianChartModel to CartesianChartModel * simplify chartModel creation in hook
-
Nick Fitzpatrick authored
* modal built * code cleanup, removing unused components * whitespace shame * adjusting unit test * removing px shame
-
Ngoc Khuat authored
-