R244 Attach screenshots of each changed page in each theme and language

On by default

Attach to a pull request that changes how a page looks screenshots of each page it changes, in each theme and each language the site has, made with the repository’s screenshot script where it has one.

Reason

A reviewer cannot see from a diff of styles and templates how a page looks; the screenshots are the grounds on which it can check the result without building the site itself (Art. VII §1(1)). A script makes the same shots each time, so that two of them can be compared.

Verification

A change changes how a page looks when it changes the page’s styles, templates, icons, or components or their states. The themes are those the site offers, such as light and dark.

Violated when a pull request that changes how a page looks lacks a screenshot of a page it changes in one of the site’s themes or languages, or has them made otherwise although the repository has a screenshot script.

Provisions of the constitution it cites

Relations

Parent
R240 Frontend
Requires
none
Conflicts with
none

Metadata

ID
244
Revision
1
Kind
rule
Status
trial
Slug
frontend-screenshots
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh