mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Small changes to Access Rules page to clearify behavior of table default rules
Summary: - Rename "Add Default Rule" to "Add Table-wide Rule", and enable always. - Rename "All Other" to "All". Test Plan: Updated test; new behavior (for when menu option is newly enabled) only tested manually. Reviewers: jarek Reviewed By: jarek Differential Revision: https://phab.getgrist.com/D4195
This commit is contained in:
@@ -50,7 +50,8 @@ export type Tooltip =
|
||||
| 'addColumnConditionalStyle'
|
||||
| 'uuid'
|
||||
| 'lookups'
|
||||
| 'formulaColumn';
|
||||
| 'formulaColumn'
|
||||
| 'accessRulesTableWide';
|
||||
|
||||
export type TooltipContentFunc = (...domArgs: DomElementArg[]) => DomContents;
|
||||
|
||||
@@ -135,6 +136,9 @@ see or edit which parts of your document.')
|
||||
),
|
||||
...args,
|
||||
),
|
||||
accessRulesTableWide: (...args: DomElementArg[]) => cssTooltipContent(
|
||||
dom('div', t('These rules are applied after all column rules have been processed, if applicable.'))
|
||||
),
|
||||
};
|
||||
|
||||
export interface BehavioralPromptContent {
|
||||
|
||||
Reference in New Issue
Block a user