gristlabs_grist-core/test/nbrowser
George Gevoian acc218398d (core) Fix hidden columns bug when editing data selection
Summary:
Editing data selection would sometimes cause columns to be hidden in the updated view. A
missing conditional was the culprit: generally, field visibility shouldn't be modified after the view is
updated, but we make an exception for charts to keep certain fields visible or hidden between
updates, so that chart configuration doesn't change too significantly and cause unexpected
data to be displayed. This special behavior for charts was erroneously being applied to non-charts
as well.

Also, when no columns were visible in a view, opening the row menu would cause an error to be
thrown. A loop was inadvertently using null control variables - an explicit check for non-null loop
variables was added, which skips the loop when no columns are visible.

Test Plan: Browser tests.

Reviewers: jarek

Reviewed By: jarek

Subscribers: jarek

Differential Revision: https://phab.getgrist.com/D3650
2022-10-18 08:36:11 -07:00
..
ActionLog.ts (core) Use different user in ActionLog tests 2022-05-05 14:04:03 -07:00
ChoiceList.ts Add tests for autocomplete without accents 2022-08-17 19:11:52 +02:00
customUtil.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomView.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomWidgets.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomWidgetsConfig.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
DuplicateDocument.ts (core) tweak duplicate document test to be more reliable 2022-09-22 14:26:56 -04:00
Fork.ts (core) Miscellaneous little logging improvements 2022-07-15 00:21:44 +02:00
gristUtils.ts (core) Fix hidden columns bug when editing data selection 2022-10-18 08:36:11 -07:00
HomeIntro.ts (core) Adding empty workspace intro 2022-09-12 16:19:31 +02:00
homeUtil.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00
Localization.ts Adding dedicated folder for external tests 2022-09-30 16:45:35 +02:00
MultiColumn.ts (core) Multi-column configuration 2022-10-17 09:51:19 +02:00
Pages.ts (core) Comments 2022-10-17 13:38:21 +02:00
ReferenceColumns.ts Add tests for autocomplete without accents 2022-08-17 19:11:52 +02:00
ReferenceList.ts (core) updates from grist-core 2022-08-22 10:23:26 -04:00
RefTransforms.ts (core) Fix bug preventing changes to ref list table 2022-10-17 07:49:54 -07:00
RowMenu.ts (core) Fix hidden columns bug when editing data selection 2022-10-18 08:36:11 -07:00
saveViewSection.ts (core) Fix hidden columns bug when editing data selection 2022-10-18 08:36:11 -07:00
SelectionSummary.ts (core) Add cell selection summary 2022-09-30 09:11:46 -07:00
Smoke.ts (core) Remove code for unused welcome flows 2022-02-28 13:21:28 -08:00
testServer.ts Skipping tests that can't be run on external server. 2022-08-12 17:23:22 +02:00
testUtils.ts (core) Faster builds all around. 2022-07-04 10:42:40 -04:00