gristlabs_grist-core/app/client/ui
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
..
AccountWidget.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
AddNewButton.ts
ApiKey.ts
App.css
App.ts
AppHeader.ts
AppUI.ts (core) Make side panels responsive and start closed on small screens. 2021-02-08 15:07:04 -05:00
BillingForm.ts
BillingPage.ts
BillingPageCss.ts (core) Make side panels responsive and start closed on small screens. 2021-02-08 15:07:04 -05:00
BillingPlanManagers.ts
BottomBar.ts
buttons.ts
ColumnFilterMenu.ts
CustomThemes.ts
DocHistory.ts
DocMenu.ts
DocMenuCss.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
Document.css
DocumentSettings.ts
errorPages.ts
ExampleCard.ts (core) A few improvements to CSS on mobile. 2021-03-01 11:17:51 -05:00
ExampleInfo.ts
FieldMenus.ts
FileDialog.ts
forms.ts
GridOptions.ts
GridViewMenus.ts (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
HomeImports.ts
HomeIntro.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
HomeLeftPane.ts
LeftPanelCommon.ts (core) granular access control in the presence of schema changes 2021-03-01 13:49:31 -05:00
MakeCopyMenu.ts
modals.ts
mouseDrag.ts
MultiSelector.ts
NotifyUI.ts (core) give more detailed reasons for access denied when memos are present 2021-02-15 17:02:24 -05:00
PagePanels.ts (core) A few improvements to CSS on mobile. 2021-03-01 11:17:51 -05:00
Pages.ts
PageWidgetPicker.ts
PinnedDocs.ts
ProfileDialog.ts
resizeHandle.ts
RightPanel.ts
selectBy.ts
shadowScroll.ts
ShareMenu.ts (core) A few improvements to CSS on mobile. 2021-03-01 11:17:51 -05:00
Tools.ts (core) freshen "view as user" behavior 2021-03-03 09:40:20 -05:00
tooltips.ts (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
TopBar.ts (core) A few improvements to CSS on mobile. 2021-03-01 11:17:51 -05:00
TopBarCss.ts
transientInput.ts
transitions.ts
TreeViewComponent.ts
TreeViewComponentCss.ts
UserImage.ts
UserManager.ts
ViewLayoutMenu.ts
viewport.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
ViewSectionMenu.ts
VisibleFieldsConfig.ts
WelcomePage.ts (core) Make side panels responsive and start closed on small screens. 2021-02-08 15:07:04 -05:00
widgetTypes.ts