gristlabs_grist-core/app/client/widgets
Dmitry S 3f29baaded (core) Add a button and a tooltip to Access Rules page item, in View-As mode.
Summary:
- When in View-As mode, clicking the Access Rules page now shows a tooltip
  with a link to return to normal mode and open the Access Rules page.
- A "revert" button is shown next to the item with the same behavior.
- Implemented hoverTooltip() with various options. (It will have other uses.)
- Simplify creation of links based on UrlState:
  - Allow merging with previous urlState using a function
  - Add a helper function to merge in aclAsUser parameter.
  - Add setHref() method to UrlState

Test Plan:
Added test cases:
  - for tooltips generally in test/projects
  - for updating UrlState using a callback
  - for Access Rules tooltip and button behavior

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D2749
2021-03-08 16:08:21 -05:00
..
AbstractWidget.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
AttachmentsEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
AttachmentsWidget.css (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
AttachmentsWidget.ts (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
BaseEditor.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
CheckBox.css (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
CheckBox.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
CheckBoxEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ChoiceEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
ChoiceTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
DateEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeEditor.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DateTimeTextBox.js (core) move client code to core 2020-10-02 13:24:21 -04:00
DiffBox.ts (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
EditorButtons.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorPlacement.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
EditorTooltip.ts (core) Add a button and a tooltip to Access Rules page item, in View-As mode. 2021-03-08 16:08:21 -05:00
ErrorDom.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.css (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldBuilder.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
FieldEditor.ts (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
FormulaEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
HyperLinkEditor.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HyperLinkTextBox.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NewAbstractWidget.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NewBaseEditor.ts (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
NTextBox.ts (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
NTextEditor.ts (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
NumericTextBox.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
Reference.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Reference.ts (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00
ReferenceEditor.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
Spinner.css (core) move client code to core 2020-10-02 13:24:21 -04:00
Spinner.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
Switch.css (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
Switch.js (core) Add new color select to the app 2021-03-02 16:41:37 +01:00
TextBox.css (core) move client code to core 2020-10-02 13:24:21 -04:00
TextEditor.css (core) move client code to core 2020-10-02 13:24:21 -04:00
TextEditor.js (core) Change how formula columns can be converted to data. 2021-03-05 12:42:57 -05:00
UserType.js (core) Revamp attachment editor + preview UI, and support more types, including PDFs. 2020-11-19 21:30:09 -05:00
UserTypeImpl.js (core) Convert a few widgets to typescript and grainjs. 2020-11-23 09:49:55 -05:00