(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
pull/3/head
Paul Fitzpatrick 4 years ago
parent a1a84d99c0
commit 85a2492123

@ -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'),
)
),
);

Loading…
Cancel
Save