This project is mirrored from https://github.com/metabase/metabase.
Pull mirroring updated .
- Jul 01, 2024
-
-
Aleksandr Lesnenko authored
* support sorting on funnel bar charts * fix funnel bar row display setting * spec
-
- Jun 28, 2024
-
-
Denis Berezin authored
* Upgrade visx packages * Fixup some dependencies * Fix textarea styles * Fix charts diff
-
- Jun 26, 2024
-
-
Phoomparin Mano authored
-
- Jun 25, 2024
-
-
Emmad Usmani authored
* fix pivot horizontal scroll * fix scroll on dashboard * add e2e test * fix unit tests * fix e2e test
-
- Jun 21, 2024
-
-
Denis Berezin authored
* Add global styles to storybook, fix default fonts display * Update loki testing screenshots
-
- Jun 20, 2024
-
-
Phoomparin Mano authored
* funnel start color should be text-dark * change pivot table font size unit to em for scaling * change funnel and legend item unit to em * change funnel font size to em * change object detail font size to em * change gauge font size to em * add cartesian chart padding config * update docs * remove isEmbeddingSdk prop * simulate the 0.875em base font size * chart padding override should apply in query builder * add cartesian padding to stories * update readme docs * fix collection browser option in readme docs * fix pivot table font size scaling * update loki * update loki * use em for smart scalar * update chart default padding * revert smart scalar font size scaling due to measurement * dynamic font family and font size as defaults * pivot table * add more properties to sdk docs * make FONT_SIZES constant local * link to discussion on query builder extra spacing * enforce that font is passed to getLeftHeaderWidths
-
- Jun 17, 2024
-
-
Jesse Devaney authored
* refactor: de-duplicate variable usage * fix incorrect goal-line plotting in pow and log y-axis scales * add Loki variants to validate and enforce desired behavior * update loki snapshots
-
- Jun 14, 2024
-
-
Aleksandr Lesnenko authored
* fix charts crash in safari when dataset timezone is not in iana format * Update Loki Snapshots * better fix: apply offset instead of finding a timezone with such offset * remove unused specs * Update Loki Snapshots * review --------- Co-authored-by:
Metabase Automation <github-automation@metabase.com>
-
- Jun 13, 2024
-
-
Phoomparin Mano authored
* apply cell background color * add id column overrides * do not add transparency to id column cell when overridden * fix static dashboard theming * update loki reference image * add style resets and regenerate loki snapshots * add style resets and regenerate loki snapshots
-
Aleksandr Lesnenko authored
* fix area step * specs
-
- Jun 06, 2024
-
-
Jesse Devaney authored
* fix RowChart XAxis ticks formatter - remove scaling from x-axis tick values like we did for y-axis tick values in ECharts charts * add loki variant
-
Phoomparin Mano authored
* highlight id cell column * add simpletable stories * add simple table test data * add loki reference image * Update frontend/src/metabase/visualizations/components/TableSimple/TableCell.styled.tsx Co-authored-by:
Denis Berezin <denis.berezin@metabase.com> --------- Co-authored-by:
Denis Berezin <denis.berezin@metabase.com>
-
Aleksandr Lesnenko authored
* make compact formatting consistent across all series * fix rebase
-
- Jun 05, 2024
-
-
Jesse Devaney authored
* return empty string so non-empty labels do not get hidden by empty labels * fix function name * apply scaling in transformed dataset * add missing option to OptionsType * fix double scaling * add column scaling to waterfall transformed dataset * add column value scaling to dataset transform * fix stacked bar segment labels not responding to column scaling * fix tooltip values displayed * since scaling as added to transformedDataset, use transformedDataset for formatters * revert changes to display percentage instead of absolute value * fix stacked data labels * add loki variant for custom y-axis range with column scaling * fix stack segmented label formatters compact calculation * scale original dataset and use that instead of modifying transformedDataset * update loki snapshots * fix scatter plot dataset scaling * fix tooltip values being double scaled * add E2E test to validate behavior * add helper for not duplicating the column scaling * port multiple y-axis metrics with column scaling fixes to RowChart * add waterfall and scatterplot loki variants * fix type errors and failing unit tests * fix failing unit tests * update loki snapshots
-
Aleksandr Lesnenko authored
* set min bar height for non-zero values * fix y-axis split logic uses transformed dataset instead of actual data
-
- Jun 04, 2024
-
-
Phoomparin Mano authored
* support test utilities in sdk import * add relative unit default chart font size in embedding defaults * make font size follow sdk root * feat(sdk): add font size settings to axis ticks * feat(sdk): add font size settings to series labels * re-add hasTimelineEvents from merge commits * apply default font size at the theme level * add table header cell font size * calculate cell font size based on 12.5px * rename theme.chart to theme.cartesian * refactor visualization theme * refactor default viz theme * remove chart style config * add goal line * pass font size to chart measurements * use px as reference unit * support row chart viz * add missing echarts font size * add table cell font sizes * use css variables for funnel color * fix theme type in smart scalar story * add bar chart to storybook for visual test * add line chart to storybook for visual test * add loki reference images * add loki reference images for row chart * add loki shared reference images to stories filter * update loki reference image * synchronize base font size * add theme provider to funnel test setup * add missing default visualization theme * add unit test for get size in px * update loki reference image * fix static viz build error
-
- Jun 03, 2024
-
-
Emmad Usmani authored
* fix data labels under trend/goal lines * fix fontFamily missing * update specs * fix type errors * snapshots --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com>
-
Aleksandr Lesnenko authored
* measure auto compactness on correct values * snapshots
-
Aleksandr Lesnenko authored
-
- Jun 01, 2024
-
-
Jesse Devaney 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:
Uladzimir Havenchyk <uladzimir.dev@gmail.com> Co-authored-by:
Uladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
-
- May 30, 2024
-
-
Aleksandr Lesnenko authored
-
Aleksandr Lesnenko authored
-
Phoomparin Mano authored
* feat(sdk): colors for pivot tables * fix theme type * feat(sdk): basic pivot table theming * fix emphasis hover color * customizable row toggle color * add storybook story and refactor hover color logic * add sdk visualization wrapper * make theme values with defaults internally non-optional but externally optional * update test to render with providers * update test wrapper to have height container * update pivot table loki reference image * update theme names * make all theme options optional in the public config * update readme * readme update for consistency
-
- May 28, 2024
-
-
Phoomparin Mano authored
* feat(sdk): allow overriding positive and negative values * docs(sdk): add positive and negative colors to docs * feat(sdk): add smart scalar font size * feat(sdk): add smart scalar line height settings * feat(sdk): get rid of custom embedding mantine theme type * wip: setup storybook and loki for smart scalar * fix missing state for rendering visualizations * docs(sdk): add scalar customizations to readme * test(sdk): add test cases to loki * add smart scalar reference image * use css variables for brand * make embedding theme options partial * fix scalar value wrapper line height * update loki snapshot --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com>
-
Anton Kulyk authored
* Fix typos * Tweak `maxTicksForChartWidth` calculation * Update Loki screenshots * Tweak `PIXELS_PER_CHARACTER` * Update test
-
- May 24, 2024
-
-
Aleksandr Lesnenko authored
-
- May 21, 2024
-
-
Jesse Devaney authored
* hide symbols for charts with too many of them * update loki * prevent series dots showing up after manually disabling another series * update loki snapshots * refactor conditional * update loki snapshots
-
- May 17, 2024
-
-
Jesse Devaney authored
* move series data label formatters to the model - TODO: move stacked data label formatters to the model * combo stacked chart * spec * remove irrelevant spec * combo stacking * fix selecting y-axis on stacked charts * snapshot * linter, specs, types * propagate combo stacking to area and bar charts * enable combo stacking for bar/area charts, fix data transform * fix types, specs * fix y-axis extents calculations * remove spec that tested the removed control, update specs, update test data * propagate combo stacking to area and bar charts (#42600) * propagate combo stacking to area and bar charts * enable combo stacking for bar/area charts, fix data transform * fix types, specs * fix y-axis extents calculations * remove spec that tested the removed control, update specs, update test data * review * remove unused formatting options parameter * move stacked labels formatter to model * fix stacked combo chart label display for non-stacked lines * combo stacked chart * spec * remove irrelevant spec * combo stacking * fix selecting y-axis on stacked charts * snapshot * linter, specs, types * propagate combo stacking to area and bar charts (#42600) * propagate combo stacking to area and bar charts * enable combo stacking for bar/area charts, fix data transform * fix types, specs * fix y-axis extents calculations * remove spec that tested the removed control, update specs, update test data * review * fix waterfall chart labels --------- Co-authored-by:
Aleksandr Lesnenko <alxnddr@gmail.com> Co-authored-by:
Aleksandr Lesnenko <alxnddr@users.noreply.github.com>
-
- May 16, 2024
-
-
Aleksandr Lesnenko authored
* combo stacked chart * spec * remove irrelevant spec * combo stacking * fix selecting y-axis on stacked charts * snapshot * linter, specs, types * propagate combo stacking to area and bar charts (#42600) * propagate combo stacking to area and bar charts * enable combo stacking for bar/area charts, fix data transform * fix types, specs * fix y-axis extents calculations * remove spec that tested the removed control, update specs, update test data * review * show show data values setting on normalized charts that have a line series * fixes
-
- May 14, 2024
-
-
Aleksandr Lesnenko authored
* fix static combo chart crashes when viz settings are invalid * spec
-
- May 06, 2024
-
-
Aleksandr Lesnenko authored
-
- May 03, 2024
-
-
Anton Kulyk authored
* Rename "Line style" to "Line shape" * Add "line.style" viz setting * Add "line.size" viz setting * Apply new viz settings in line/area charts * Clean up `ChartSettings` test suite * Fix default values not applied * Add visual test * Add E2E test * Rework default values * Use constant S/M/L values for "line.size" setting
-
- May 02, 2024
-
-
Aleksandr Lesnenko authored
-
- May 01, 2024
-
-
Aleksandr Lesnenko 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>
-