fix(charts): show non-filterable columns in metric section for table …#39524
fix(charts): show non-filterable columns in metric section for table …#39524massucattoj wants to merge 1 commit intoapache:masterfrom
Conversation
Code Review Agent Run #fcce81Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
5dd1d49 to
d0a3fbc
Compare
Code Review Agent Run #fd2c1aActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
SUMMARY
Columns with
Is filterableset toNOwere not displayed in the metric section of Table, AG Grid Table, and Handlebars charts, even though they were successfully added to the chart config.The root cause was that the metrics control's
mapStateToPropsincorrectly filtered columns by thefilterableproperty. Thefilterableflag should only control whether a column appears in filter controls(e.g., Filter Bar), not whether it can be used as a metric or dimension.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: Dragging a non-filterable column into the Metrics section adds it to the form data, but the metric pill is not rendered — the Metrics area appears empty even though the chart recognizes the metric.

After: Non-filterable columns display correctly as metric pills in the Metrics section after being added.

TESTING INSTRUCTIONS
birth_names)num)SUM(num)) and click SaveADDITIONAL INFORMATION