gristlabs_grist-core/app/client/components
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
..
AceEditor.css
AceEditor.js (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
AceEditorCompletions.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
ActionLog.css
ActionLog.ts
Base.js
BaseView.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
ChartView.css
ChartView.ts (core) Fix JS error when switching to a page containing a chart. 2021-02-25 10:50:24 -05:00
ClientScope.ts
Clipboard.css
Clipboard.js (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
CodeEditorPanel.css
CodeEditorPanel.js
ColumnFilters.css
ColumnTransform.ts
Comm.ts (core) granular access control in the presence of schema changes 2021-03-01 13:49:31 -05:00
commandList.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
commands.css
commands.js
CopySelection.js
Cursor.ts
CustomView.css
CustomView.ts
DetailView.css
DetailView.js
DocComm.ts (core) granular access control in the presence of schema changes 2021-03-01 13:49:31 -05:00
DocConfigTab.js
duplicatePage.ts
EmbedForm.css
FieldConfigTab.css
FieldConfigTab.js
FormulaTransform.ts
GridView.css
GridView.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
GristDoc.css
GristDoc.ts (core) granular access control in the presence of schema changes 2021-03-01 13:49:31 -05:00
GristWSConnection.ts (core) revamp user attribute handling 2020-12-11 15:15:35 -05:00
Importer.ts
Layout.css (core) Collapse inactive view sections on mobile screens. 2021-02-09 09:17:32 -05:00
Layout.js (core) Collapse inactive view sections on mobile screens. 2021-02-09 09:17:32 -05:00
LayoutEditor.css
LayoutEditor.js
LayoutPreview.css
LayoutPreview.js
LinkingState.js (core) When filter-linking by a reference column, update the filter-linking when the value in that column changes 2021-02-05 10:15:01 -05:00
Login.css
ParseOptions.ts
Preferences.css
Printing.css
Printing.ts
RecordLayout.css
RecordLayout.js
RecordLayoutEditor.js
RefSelect.js
REPLTab.css
REPLTab.js
SearchBar.css
SearchBar.ts
Selector.js
SummaryConfig.js
TypeConversion.ts
TypeTransform.ts
UndoStack.ts
UnsavedChanges.ts
ValidationPanel.css
ValidationPanel.js
viewCommon.css (core) Finish fixing default cell color: error cells should also use black color. 2021-02-22 22:54:20 -05:00
viewCommon.js
ViewConfigTab.css
ViewConfigTab.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
ViewLayout.css (core) Collapse inactive view sections on mobile screens. 2021-02-09 09:17:32 -05:00
ViewLayout.ts (core) Fix resizing of ViewLayout in presence of Custom Views and iframes. 2021-03-05 01:03:22 -05:00
ViewLinker.css
ViewPane.ts