(core) a script for making screenshots for access rules documentation

Summary:
a script I used when preparing access rule documentation.
Committing it since the feature in still in beta, so keeping the
script around may save some time, even if it rusts quickly.
I didn't invest time in cleaning it up.

Test Plan: manual

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2756
This commit is contained in:
Paul Fitzpatrick 2021-03-01 08:56:01 -05:00
parent a1a84d99c0
commit 85a2492123

View File

@ -330,7 +330,7 @@ export class AccessRules extends Disposable {
),
dom.forEach(this._tableRules, (tableRules) => tableRules.buildDom()),
cssSection(
cssSectionHeading('Default Rules'),
cssSectionHeading('Default Rules', testId('rule-table-header')),
cssTableRounded(
cssTableHeaderRow(
cssCell1(cssCell.cls('-rborder'), cssCell.cls('-center'), cssColHeaderCell('Columns')),
@ -344,7 +344,8 @@ export class AccessRules extends Disposable {
)
),
dom.maybe(this._docDefaultRuleSet, ruleSet => ruleSet.buildRuleSetDom()),
)
),
testId('rule-table'),
)
),
);