This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jun 03, 2024
-
-
github-automation-metabase authored
Show the columns for the correct stage when using combine/extract in the presence of an aggregation (#43226) (#43450) * Do not use asReturned to determine columns for extractions and combine columns * Add reproduction for #43226 for combine columns * Add reproduction for #43226 for extract columns * Remove commented out code * Only render extraction shortcut when there are extractions * Only render combination shortcut when there are combinations * Use hasCombinations from CombineColumns * Add hasExtractions from ExtractColumn * Use appendStageIfAggregated over Lib.asReturned * Only show combine column shortcut when there are two or more columns to be combined * Lift appendStageIfAggregated to top-level drill * Add test for extraction on table with just breakout * Add test for combinations on table with just breakouts * Disable the 2-column requirement for combinations * Remove Lib.asReturned in appendStageIfAggregated * Remove + 1 to stageIndex in appendStageIfAggregated * Check for empty breakouts too in as-returned * Switch back to Lib.asReturned * Fix test for combine column on breakouts * Reference the correct query and stageIndex * add CLJS unit tests for as-returned with only aggs, breakouts --------- Co-authored-by:
Romeo Van Snick <romeo@romeovansnick.be> Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
github-automation-metabase authored
* Fix unit tests running multiple times in watch mode * Ignore even more Co-authored-by:
Kamil Mielnik <kamil@kamilmielnik.com>
-
- Jun 01, 2024
-
-
github-automation-metabase authored
* remove unused variable * conditionally render labels sparsely if large amount of data points * update loki snapshots * refactor data label formatter conditions * setup intelligent label plotting * handle the case when there are no labels * add sparse data label rendering to bar charts * do not compute if no labels need to be shown or hidden * add sparse data labeling to waterfall charts * adjustment for large series waterfall labels * revert change * refactor name * add sparse labels to stacked bar and area * improve scaleFactor * fix type errors * remove unused labelFormatter * update snapshots * patch ECharts - labels with no text, i.e. "", were still being considered as plot-able labels which was causing labels with real text "asdfec.." to be hidden because of overlap. - This patch makes it so that labels with no text, i.e. "", are not considered to be candidates for overlap checking. * update loki snapshots * only loop over dataset once for getWaterfallChartDataDensity * improve performance of chart data density calculations * update loki snapshots * update E2E spec * update E2E spec * increase cartesian label density allotment * update loki snapshots * update loki snapshots * comment out node_modules cache since it cannot be skipped by commit and is breaking CI * fix type errors * Reset node modules if patches are changed * refactor type naming --------- Co-authored-by:
Jesse Devaney <22608765+JesseSDevaney@users.noreply.github.com> Co-authored-by:
Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
- May 31, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
* add hook to check token features * add cache upsell to performance page * upsell cards are white * fix rebase # Conflicts: # frontend/src/metabase/admin/performance/components/StrategyEditorForDatabases.tsx Co-authored-by:
Ryan Laurie <30528226+iethree@users.noreply.github.com>
-
github-automation-metabase authored
-
github-automation-metabase authored
Co-authored-by:
Noah Moss <32746338+noahmoss@users.noreply.github.com>
-
github-automation-metabase authored
-
github-automation-metabase authored
* Auto tag embedding team for PR review + dry run npm publish * Install changelog generation package * Add the initial changelog * feat(sdk): This is an empty commit. For testing purposes. * Update SDk build script to include changelog * Check if a tag exists * Ensure changelog is in the released package * Fix workflow * Remove unnecessary step * Ensure we can have access to release utils script when checking out master * Fix the step to create a PR updating readme and changelog * Fix changelog generation * Fix couldn't download changelog * Clean up steps Co-authored-by:
Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
-
github-automation-metabase authored
backported "Fix not being able to upload to a table if the uploads database has switched" (#43353) Co-authored-by:Cal Herries <39073188+calherries@users.noreply.github.com>
-
github-automation-metabase authored
Fixes #40176. Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
github-automation-metabase authored
Models are treated as opaque here, but for a saved question we expose filters on the query before its final aggregation step. This drops the aggregation clauses and gets the possible values for the column of interest. Fixes #43154. Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
- May 30, 2024
-
-
github-automation-metabase authored
Co-authored-by:
Sloan Sparger <sloansparger@users.noreply.github.com>
-
github-automation-metabase authored
* refactor scatter plot to separate code path (#43032) * 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 * support stacked series values labels (#42803) * drop comment --------- Co-authored-by:
Emmad Usmani <emmadusmani@berkeley.edu> Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com> Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com>
-
github-automation-metabase authored
* Multiple Measures Requires Additional Header Row in Pivot Exports Mulitple measures can be set in our pivots. We indicate these properly in the fronted with a header row that shows which measure is reprsented in that particular column. The header builder fn in the pivot export post processing didn't handle this case, but after this PR, it correctly adds the final header when necessary. * Fix up header tests * Remove comment form; the tests are derived from that work already Co-authored-by:
adam-james <21064735+adam-james-v@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
github-automation-metabase authored
These databases previously had impoverished support for regular expressions. The `:regex` driver feature requires advanced, "Perl-compatible" regular expressions that can do things like lookahead assertions. - MySQL supports this from 8.0.4; we recommend 8.0.33+. - MariaDB supports this from 10.0.5; we recommend 10.4+. Fixes #43180. Co-authored-by:
Braden Shepherdson <braden@metabase.com>
-
github-automation-metabase authored
Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
github-automation-metabase authored
Fixes #42831. Co-authored-by:
Braden Shepherdson <braden@metabase.com> Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
* [Manual backport] Backfill `:effective-type` for coerced fields (#43144) (#43357) - Update how base type and effective type is added in query-method :mbql/query. - Base type and effective type is added also during the conversion of query-method :query. - Adds warning suppression for expressions to places where normalize is called something that does not conform schme (eg. ->pMBQL :dispatch-type/map called in query-method :query). --------- Co-authored-by:
lbrdnk <lbrdnk@users.noreply.github.com>
-
github-automation-metabase authored
Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
* Single metadata endpoint for a dashboard (#43283) * Fix backport * Backport dependent-metadata changes * Fix lint --------- Co-authored-by:
Case Nelson <case@metabase.com> Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
github-automation-metabase authored
* pulls out test changes from react 18 / rtl 15 refactor that are comptable with react 17 / rtl 12 * impls pr feedback Co-authored-by:
Sloan Sparger <sloansparger@users.noreply.github.com>
-
github-automation-metabase authored
* Keep a single null dimension value * Add Loki test * Remove Loki test * Throw an error if dataset is empty after filtering * Extract error message into a constant Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
github-automation-metabase authored
Co-authored-by:
Tamás Benkő <tamas@metabase.com>
-
metabase-bot[bot] authored
-
github-automation-metabase authored
Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
github-automation-metabase authored
* syncs with BE better for using prod/staging store links * updates init step, fixes tests * updates start confirmation modal design * copy changes * adjusting unit test * removing unneeded code * PR feedback, updating tests --------- Co-authored-by:
Sloan Sparger <sloansparger@users.noreply.github.com> Co-authored-by:
Nick Fitzpatrick <nickfitz.582@gmail.com>
-
github-automation-metabase authored
Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
metabase-bot[bot] authored
-
github-automation-metabase authored
Fixes #43089. Co-authored-by:
metamben <103100869+metamben@users.noreply.github.com>
-
github-automation-metabase authored
* Update expression suggestion design (#43232) * Use sentence case for suggestion headers * Remove suggestion group dividers * Highlight suggestions when mousing over them * Remove unused hoverparent * Remove custom highlighting for icons * Allow passing color to metadata info icon * Make suggestions icons have a consisten color * Update documentation suggestion style * Add margin to suggestion sections * Reorder suggestion sections * Add test for mouse over highlight on suggestions * Fix test for suggestion footers * Remove debugging true * Rename 'Most used functions/aggregations' to 'Common functions/aggregations' * Highlight suggestion on mouse move * Only call onHighlightSuggestion if it is not already highlighted * Use arrow functions * Fix test for suggestion highlight * Add delay to fix broken test * Use findAllByRole instead of wait --------- Co-authored-by:
Romeo Van Snick <romeo@romeovansnick.be>
-
github-automation-metabase authored
* Use internal Link for relative and same-origin URLs * Update frontend/test/metabase/lib/formatting.unit.spec.js * Update frontend/test/metabase/lib/formatting.unit.spec.js --------- Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com> Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
metabase-bot[bot] authored
backported "Optimize initial dashboard load - load dashboard metadata in parallel with the query" (#43148)
-
github-automation-metabase authored
Co-authored-by:
Filipe Silva <filipematossilva@gmail.com>
-
github-automation-metabase authored
Co-authored-by:
Alexander Polyankin <alexander.polyankin@metabase.com>
-
Jeff Bruemmer authored
-
github-automation-metabase authored
* Use `useBrowserRenderingContext` in most charts * Add font family fallbacks Co-authored-by:
Anton Kulyk <kuliks.anton@gmail.com>
-
- May 29, 2024
-
-
Raphael Krut-Landau authored
-
github-automation-metabase authored
Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-