gristlabs_grist-core/app/client
Dmitry S 48e90c4998 (core) Change how formula columns can be converted to data.
Summary:
- No longer convert data columns to formula by typing a leading "=". Instead,
  show a tooltip with a link to click if the conversion was intended.
- No longer convert a formula column to data by deleting its formula. Leave the
  column empty instead.
- Offer the option "Convert formula to data" in column menu for formulas.
- Offer the option to "Clear column"
- If a subset of rows is shown, offer "Clear values" and "Clear entire column".

- Add logic to detect when a view shows a subset of all rows.
- Factor out showTooltip() from showTransientTooltip().

- Add a bunch of test cases to cover various combinations (there are small
  variations in options depending on whether all rows are shown, on whether
  multiple columns are selected, and whether columns include data columns).

Test Plan: Added a bunch of test cases.

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2746
2021-03-05 12:42:57 -05:00
..
aclui (core) allow multiple rule sets for overlapping columns if they are all allows or all denies 2021-03-04 11:22:09 -05:00
components (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
lib (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
models (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
ui (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
ui2018 (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
widgets (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
app.css (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
app.js (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
declarations.d.ts (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
exposeModulesForTests.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json freshen app/client/ui2018/cssVars.ts 2020-06-23 16:16:38 -04:00