gristlabs_grist-core/app
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
..
client (core) Fix hidden columns bug when editing data selection 2022-10-18 08:36:11 -07:00
common (core) Comments 2022-10-17 13:38:21 +02:00
gen-server (core) Tweak autocomplete to only suggest team members 2022-10-18 08:08:05 -07:00
plugin (core) Add BulkAddOrUpdateRecord action for efficiency 2022-09-28 17:58:33 +02:00
server (core) updates from grist-core 2022-10-17 10:53:21 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00