(core) Auto-check aggregate values option as soon as table is a summary

Summary:
Auto-check makes sure that the “Aggregate Values” option is checked as
soon as the chart table is summarized. Before, user had to check it
explicitly.

More on this:
https://grist.slack.com/archives/C04AYS9JF/p1649400119930389?thread_ts=1649338496.915759&cid=C04AYS9JF

Test Plan: Updated tests

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3422
This commit is contained in:
Cyprien P
2022-04-27 13:59:19 +02:00
parent af1564d410
commit 365f3c7ae2
2 changed files with 8 additions and 8 deletions

View File

@@ -329,7 +329,7 @@ export function buildViewSectionDom(options: {
// With new widgetPopup it is hard to click on viewSection without a activating it, hence we
// add a little blank space to use in test.
const cssTestClick = styled(`div`, `
min-width: 1px;
min-width: 2px;
`);
const cssSigmaIcon = styled(icon, `