gristlabs_grist-core/app
Jarosław Sadziński 24dca831c0 (core) Renaming column by clicking away resulted in renaming different column.
Summary:
Bug summary: if in right bar user starts changing name of column, but then clicks on a different column name in table, THAT column will have its name changed.

This bug occurs because the save method is invoked by a blur event on a input field, which is triggered after all computed observables are calculated. Save method gets an observable to update, which by the time a blur event triggers, is changed to a new column.

The solution was to forcefully trigger the blur event as soon as possible - here by subscribing to the cursor position observable.

Test Plan: Browser tests

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2845
2021-06-08 20:27:06 +02:00
..
client (core) Renaming column by clicking away resulted in renaming different column. 2021-06-08 20:27:06 +02:00
common (core) Download as CSV button on sections 2021-05-27 15:48:12 +02:00
gen-server (core) avoid typeorm's .save() method for relation with multi-column primary key 2021-06-04 13:58:22 -04:00
plugin (core) Showing censored values as a grey cell 2021-06-07 13:11:41 +02:00
server (core) Showing censored values as a grey cell 2021-06-07 13:11:41 +02:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00