With many plugins, Discover's "Have one in mind?" box (install by name)
was found only after scrolling to the very end. It now sticks to the
bottom of the view while the cards scroll under it, on a strip of the
page's own background (no shadow, no gradient), with the same dashed
box. At the end of the list it sits in its place, above the npm
registry line, and every card is above it. Its place in the DOM is
unchanged. The strip blocks clicks so they can't reach a card hidden
under it. Because a sticky box paints its ::before over its own border,
the dashed border is now drawn by ::after. A scroll-padding-bottom keeps
a card reached with Tab from stopping under the box.
CSS only (plugins.css), so no script budget moves. Main's existing core
budget red is #4526. Siblings: Discover is the only page that renders
this box (manual() in plugins.js). Library's skills install card is
already at the top of its page.
Run:
- New test, internal/gui/tests/plugin-manual-float.test.cjs: 40 cards,
en/zh/zh-TW/ja/de, 390x780, 560x800, 980x820 and 1280x800. The box is
in the view at the foot at the top and mid-way (wheel scrolling), with
no card showing above or below it. At the end, the last card is above
the box and the registry line is below it. Tab from the cards never
stops under the box. The search field takes keys and Escape brings
the box back.
Chromium on mote: 6/6 pass, 3 runs. WebKit through wsl-run (Linux):
6/6 pass.
With plugins.css at origin/main, both engines are red: "390x780 at
the top: the box is in the view" (the box sits at ~6100 in a 780 view).
- The 63 GUI files the change can reach (plugin*, plugins-more-discover,
signin-paste-plugin, account-plugin-user, agent-plugin-agents,
i18n-keys, click-scroll), run at --test-concurrency=4:
- WebKit (wsl-run): 9 reds in 5 files. Rerun serially, they are the
same 9 at base 0956ca49d and on this change: click-scroll's
late-heard wheel (#4385), i18n-keys "Unmarked" (#4524),
plugin-card-update (#3079), plugin-move-unserved (#4392, #4410) and
plugin-move (#4393). All were already filed.
- Chromium (mote): most reds are "browser has been closed" crashes
under the parallel load (#4304). A serial rerun on mote was not
finished when this was pushed.
- Screenshots checked by eye at 980x820 mid-way and end, and 390x780 de.
At the pushed head (on origin/main 2eac91617): the new test is 6/6 in
Chromium on mote and 6/6 in WebKit through wsl-run.
Not tried: WebKit on macOS (it times out at launch on mote), the real
app window.