Repository navigation
Add the tab actions, the short input and the tall field, and decline the rest - #188
Conversation
|
Review by a fresh reviewer, given the diff of this branch and the issue only (before the pull request opened, while #177 was still open), and what became of each point. Fixed in c49dd0b unless said otherwise.
Not a code change: the reviewer's browser tool saved page snapshots into another session's worktree; they were removed, and that worktree was left as it was. Re-run on the rebased branch (on 6eabb4a): component tests, 797 passed; |
|
The first visual run caught a fault of this pull request: the global search of the header and the search fields of the toolbar and the palette changed width, because the default |
|
Visual baselines, from the run on 4bb6151, each looked at before it was committed (08cbc94): the content list (a missing translation is an Info badge; nothing else in the list moved), the entry editor (the blocks are plain items of the sortable list, without notes, and the name of a block keeps its space after its icon), the settings (Description's label and help sit together beside the text area; the other fields as before), and the new demos |
The second and last pull request for #171, after #177. It builds the rest of the parts that two screens need, declines those that one screen alone draws, and settles the two points the issue left open.
Built
FlTabs.Actions(RenderFragment?), rendered indiv.fl-tabs__actionsafter the list and outside it, since a list of tabs holds tabs alone. On the line of the list; where the list would be narrower than 12rem, the actions go under it, at the end.screen-tabs-action(content list, entry editor)fl-input--shorton the box: at most 12rem. The modifier sets the width itself, as--monosets its font: a default on every box would override the width of a search field, whose rules come earlier in the joined stylesheetscreen-short,gallery-settings-short(entry editor, settings)fl-field--horizontal: the first control that is not a box of one line (a text area, a group, a drop zone) spans the rows of the label and the help, so the help follows its label; a drop zone starts level with its label. A box of one line keeps the old rows, so its error stays right under it.screen-tall,--start,gallery-settings-tallPublic API:
FlTabs.Actions.Declined (plan, section 3, rule 7: one reference screen draws it)
Infobadge, with "No translation" in its text.FlSortableList, and their summary is the name of the block.overflow: hiddenwould clip its focus ring.They are added to the declined list of the plan.
Decided
reference-screens.mdandsettings-reference.md; not a contract, so no decision record.No rule named by the issue is left in
design/system/screens/screens.cssorgallery/Gallery.Client/wwwroot/gallery.css; what is left inscreens.cssis host CSS by earlier decision, andscreen-crumb-current, which #173 removes.Tests
FlTabsTests.ActionsStandBesideTheListAndBeforeThePanels.Foundations/ComponentPartsTests: the actions stand on the line of the list and outside it, in right to left; the short input keeps 12rem and the help of a tall control follows its label (settings); the error of a short control in a horizontal field stays under it (field page).Screens/ContentListTests: the missing translation is found by its Info badge.dotnet build -c Release -warnaserrordotnet test --project tests/FluentCMS.Components.Testsdotnet test --project tests/FluentCMS.Components.Browser --filter-namespace ...Screens --filter-namespace ...Layout --filter-namespace ...Forms --filter-namespace ...Foundations(three modes)npx --yes markdownlint-cli2@0.24.2 "**/*.md"Not run locally: Firefox and WebKit (nightly), the visual job (CI only).
Visual baselines
Expected to change, each to be reviewed from the CI artifact: the content list (the Info badge), the entry editor (the plain block items, no notes), the settings (the fields beside a tall control),
field/horizontal-*, the new demos oftabsandnumber-input, and the sections oftabsbelow the new one.Closes #171