Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Dec 04, 2024
  2. Nov 29, 2024
  3. Nov 27, 2024
    • github-automation-metabase's avatar
      feat(sdk): make tooltips themeable (#50457) (#50596) · 9af0d46d
      github-automation-metabase authored
      
      * add background-inverse color mapping
      
      * add tooltip themes
      
      * tooltip theming
      
      * apply to echarts tooltip
      
      * update tooltip default color
      
      * update tooltip defaults
      
      * add sdk color mapping
      
      * add additional theme colors
      
      * add echarts tooltip story
      
      * add loki tests
      
      * remove background-inverse theme color option
      
      * add to docs
      
      * use ChartTooltipRoot for story and update loki snapshot
      
      * update secondaryTextColor docstring
      
      * fix unit tests
      
      Co-authored-by: default avatarPhoomparin Mano <poom@metabase.com>
      Unverified
      9af0d46d
  4. Nov 26, 2024
  5. Nov 25, 2024
  6. Nov 20, 2024
  7. Nov 18, 2024
  8. Nov 14, 2024
  9. Nov 01, 2024
    • Romeo Van Snick's avatar
      Use list picker when searching a single value (#49323) · 896c516d
      Romeo Van Snick authored
      * WIP: use list picker when searching a single value
      
      * Add test case for multi vs non-multi search fields
      
      * Update loki snapshots
      
      * Add special case to test for multiautocomplete filter
      
      * Use single select value in test
      
      * Add test for using list picker
      
      * Explicitly make sure elements are visible
      
      * Do not use list selector when search is disabled
      
      * Add margin to multi autocomplete dropdown
      
      * Update loki snapshots
      
      * Update loki snapshots
      Unverified
      896c516d
  10. Oct 28, 2024
  11. Oct 25, 2024
  12. Oct 23, 2024
    • Anton Kulyk's avatar
      Allow grouping bar chart series into "Other" category (#48265) · dbdef76e
      Anton Kulyk authored
      
      * Add `graph.max_categories` viz setting
      
      * Allow grouping series into "other" category
      
      * Add tooltip
      
      * Toggle "other" series visibility
      
      * WIP: new implementation for `graph.series_order`
      
      * Remove not used function
      
      * Make "other" series a regular `SeriesModel`
      
      * Fix stacked bar charts
      
      * Remove colors from "other" tooltip
      
      * Sort "other" tooltip values
      
      * Update `graph.max_categories` setting
      
      - negative number validation
      - 0 value turns off grouping
      
      * Fix Loki test
      
      * Add basic loki test
      
      * Add loki test for stacked chart
      
      * Add loki test for stacked normalized chart
      
      * slight refactor of series_order setting
      
      * Add screenshots
      
      * Handle different kinds of aggregations for "other"
      
      * Handle different aggregation kinds in tooltips
      
      * Add `graph.other_series_aggregation_fn` viz setting
      
      * Fix type errors
      
      * Fix unit tests
      
      * settings ui
      
      * remove sorting by value to match series order setting, other color
      
      * hide grouped series controls
      
      * Add e2e test
      
      * Update screenshots
      
      * Fix incorrect series grouping for stacked charts
      
      * group series into other settings
      
      * Update e2e test to work with new viz settings
      
      * Disable drills for the "Other" series
      
      * fix max_categories setting popover positioning
      
      * fix total row has misaligned columns on other series values
      
      * Remove redundant `click({ force: true })`
      
      * Rename aggregation fn viz setting
      
      * Move aggregation fn setting to the popover
      
      * WIP
      
      * Update popover
      
      * Fix `it.only`
      
      * Fix legend sync issue
      
      * Disable "Other" category by default (temporary)
      
      * Enable aggregation fn picker for MBQL queries (temporary)
      
      * Move "Other" category summary to a tooltip row
      
      * Add `graph.max_categories_enabled` to viz settings type
      
      * Reuse already computed "Other" value in tooltips
      
      * Add null check
      
      * Fix series length check
      
      ---------
      
      Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
      Unverified
      dbdef76e
  13. Oct 22, 2024
  14. Oct 21, 2024
  15. Oct 17, 2024
  16. Oct 10, 2024
  17. Oct 08, 2024
  18. Oct 07, 2024
  19. Oct 04, 2024
  20. Oct 02, 2024
    • Emmad Usmani's avatar
      add sunburst to pie chart (#47208) · 61e610b3
      Emmad Usmani authored
      * add sunburst to pie chart
      
      * fix type errors
      
      * consider all slice percent values for formatting percent on chart
      
      * fix lint error
      
      * refactor nested functions outside of parent
      
      * create and use getArrayFromMapValues helper
      
      * fix bug with percent significant digits
      
      * improve color picker
      
      * fix total visibility in small dashcards
      
      * fix missing field remappings
      
      * use aggregated value for click behavior
      
      * update minimum slice percentage logic
      
      * fix total text truncation
      
      * remove colors from tooltip for middle and outer slices
      
      * update e2e spec
      
      * update snapshot
      
      * update ring setting titles
      
      * address feedback
      
      * update comment
      Unverified
      61e610b3
  21. Sep 13, 2024
  22. Sep 04, 2024
  23. Aug 30, 2024
  24. Aug 29, 2024
    • Emmad Usmani's avatar
      allow re-ordering and re-naming pie chart slices (#46607) · 0139fd78
      Emmad Usmani authored
      * allow re-ordering and re-naming pie chart slices
      
      * aggregate rows with same dimension value
      
      * show warning when dimension has unaggregated values
      
      * change colors from sidebar
      
      * implement renaming
      
      * styles for slice name widget
      
      * handle numeric slice keys for binned values relative dates etc
      
      * implement slice disabling
      
      * remove old colors setting
      
      * implement merging new and removing existing rows from query results
      
      * fix formatting bugs
      
      * port settings to static viz
      
      * fix bug with unaggregated data
      
      * address todos
      
      * add loki test
      
      * fix measure column settings widget erroring
      
      * fix settings sidebar crashing
      
      * add e2e tests
      
      * update snapshots
      
      * fix pie_chart.cy.spec.js CI-only flakes
      
      * fix #21504 repro failure
      
      * fix click action value
      
      * use nestedSettings instead of seriesSettings
      
      * fix settings sidebar crashing
      
      * fix row with 0 key not being draggable
      
      * fix flaky test
      
      * filter other slices from sidebar
      Unverified
      0139fd78
  25. Aug 27, 2024
  26. Aug 22, 2024
  27. Aug 21, 2024
  28. Aug 19, 2024
  29. Aug 16, 2024
    • Aleksandr Lesnenko's avatar
      use echarts tooltip (#46359) · c6141aa7
      Aleksandr Lesnenko authored
      
      * use ECharts tooltip on cartesian charts
      
      * fix tooltip lag when changing hovered series
      
      * facelift tooltip
      
      * fix static viz crashes due to tooltip option
      
      * facelift
      
      * pie chart echarts tooltip
      
      * facelift
      
      * facelift
      
      * facelift
      
      * tweaks
      
      * e2e specs
      
      * return back the pie other slices tooltip
      
      * more specs
      
      * specs
      
      * fix pie total
      
      * fix tooltip overflow
      
      * fix specs
      
      * fix infinite rerender in embedding mode for charts that have warnings
      
      * Update Loki Snapshots
      
      ---------
      
      Co-authored-by: default avatarMetabase Automation <github-automation@metabase.com>
      Unverified
      c6141aa7
  30. Aug 14, 2024
  31. Aug 13, 2024
  32. Aug 12, 2024
  33. Aug 08, 2024
    • Emmad Usmani's avatar
      automatically use compact formatting for pie chart total (#46505) · a4bec904
      Emmad Usmani authored
      * automatically use compact formatting for pie chart total
      
      * add story and snapshots
      Unverified
      a4bec904
    • Mahatthana (Kelvin) Nomsawadi's avatar
      Follow-up milestone 2 for [Epic] Re-design transparent theme for static... · a4df4eb7
      Mahatthana (Kelvin) Nomsawadi authored
      Follow-up milestone 2 for [Epic] Re-design transparent theme for static embedding and public links (#46491)
      
      * Update new Metabase base colors
      
      * Make hover and selected state consistency
      
      * Fix wrong embed frame border color
      
      * Refactor: extract props
      
      * Fix border color
      
      * Fix pivot table cell hover color
      
      * Fix smart scalar text contrast
      
      * Add smart scalar tests + update text color design
      
      * Theme dashboard card menu
      
      * Remove dashcard action menu tests since they don't work in loki
      
      * Fix storybook background color for dark theme
      
      * Update loki snapshots
      
      * Disable untestable tests
      
      * Make sure all storybook inherit all necessary base styles
      
      * Skip untestable tests
      
      * Update loki snapshots
      Unverified
      a4df4eb7
Loading