gristlabs_grist-core/app/client/ui2018
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
..
breadcrumbs.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
buttons.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
buttonSelect.ts (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
checkbox.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ColorPalette.ts (core) Brings the new color select. 2021-02-19 16:18:14 +01:00
ColorSelect.ts (core) Makes the hex value editable in the color select 2021-03-08 09:12:47 +01:00
cssVars.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
draggableList.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
editableLabel.ts (core) Makes the hex value editable in the color select 2021-03-08 09:12:47 +01:00
IconList.ts (core) Enhancements to the Public Access UI. 2020-09-23 18:54:23 -04:00
icons.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
links.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
loaders.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
menus.ts (core) Improve the UI for ACL rules. 2020-12-22 13:40:52 -05:00
modals.ts (core) implement a safe mode for opening documents with rule problems 2020-12-14 13:04:13 -05:00
pages.ts (core) granular access control in the presence of schema changes 2021-03-01 13:49:31 -05:00
search.ts (core) A few improvements to CSS on mobile. 2021-03-01 11:17:51 -05:00