Skip to content

feat(session): slide the background work popover into its pill as one outline - #332

Merged
Tarquinen merged 2 commits into
devfrom
background-work-merge
Nov 27, 2026
Merged

Tarquinen merged 2 commits into
devfrom
background-work-merge

Conversation

@Tarquinen

@Tarquinen Tarquinen commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Closing the background work popover faded and shrank it above the pill, and the popover and the pill kept separate borders and shadows. Its rows were also tall, each holding an outlined stop button.

Now the popover slides down into the pill, narrowing to its width, and the two are drawn as one shape with one border and one shadow. Rows are compact, and Stop is the desktop's plain X.

before-after-x.mp4
  • Rows are 32 dp tall instead of 48 dp, and the Stop target is 34 × 32 dp, under the 48 dp rule.
  • The motion is occasional: it plays when someone opens or closes the popover. It uses Motion.panelOpen and Motion.panelClose.
  • Reduce Motion keeps the popover as its own surface with the short fade, as before.

Verified with scripts/check.sh :feature:session and on the emulator against session-lab: open, close on the pill, pull to close, closing while still opening, rows arriving while open, a twelve-row list, dark mode, the X ending a shell, and Reduce Motion. Not checked on a phone.

… outline

Closing the popover faded and shrank it above the pill, and the two kept
separate borders and shadows. Now it slides down into the pill, narrowing
to the pill's width, and a pull moves it the same way and keeps its speed
when let go. While it is open the popover and the pill share one fill,
border and shadow: two outlines at rest, one once they touch, with the
corners between them closing up and the step between their widths
rounding. Rows fade as they reach the pill.

Rows are 40 dp tall instead of 48 dp, so the Stop button's target is
44 x 40 dp, under the 48 dp rule.

Reduce Motion keeps the popover as its own surface with the short fade.
BackgroundWorkMotion.presentScale is removed.

Verified with scripts/check.sh :feature:session on the VM, and on the VM
emulator against session-lab: open, close on the pill, pull to close,
closing while still opening, rows arriving while open, a twelve-row list
and Reduce Motion. motion-check at 5x slow motion flagged no jump or
stall in open, tap close or pull close, 3 of 3 repeats.
The popover's rows were 40 dp tall because each held a 28 dp outlined
stop button. Rows are now 32 dp and Stop is the desktop's plain X, so
the list reads as a list instead of a column of buttons. The Stop
target is 34 x 32 dp, under the 48 dp rule.

Verified with scripts/check.sh :feature:session and on the VM emulator
against session-lab: light and dark, six rows, and the X ending a shell.
@Tarquinen
Tarquinen merged commit fa303f1 into dev Nov 27, 2026
2 checks passed
@Tarquinen
Tarquinen deleted the background-work-merge branch November 27, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant