Skip to content

Notification center (SHELL-SPEC step 3) - #90

Merged
henrikklee merged 17 commits into
mainfrom
notification-center
Nov 20, 2026
Merged

henrikklee merged 17 commits into
mainfrom
notification-center

Conversation

@henrikklee

@henrikklee henrikklee commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The notification center (SHELL-SPEC step 3) over upstream's notification history.

  • Content: what is on screen plus what timed out, was swiped away or was replaced, grouped by app (opened and withdrawn ones are done with); "n more" opens a stack. Today: clock, date, weather (the weather panel hosted for its data, fetched only once the center has been opened); no agenda (no calendar backend).
  • Layout: iPad landscape two columns; portrait and phone a compact Today row over the list. The lock screen's scrim over the wallpaper; the bar stays visible and reachable; no banner shows while it is open.
  • Cards: laid out as banners (app icon from the launcher's icon set, a placeholder without one; bold title, time; app name only without an icon); only the sender's own buttons and its inline reply. Tap opens (a history entry focuses or starts its app); a sideways swipe clears it (kinetic), a collapsed stack whole. Header: Focus (Do Not Disturb) and Clear all.
  • Motion: stacks open and close with a transition (shapes fade and fold), new notifications arriving while it is open come in, a group a new message sorts up slides there. The pull and the popup as the control center's; both share a slightly calmer spring now (0.86 of critical).
  • Opening/closing: pull from the bar's left two thirds; the clock opens it popup-style (instead of upstream's calendar); Super+Ctrl+2 (migration); Home, Escape, a tap on the empty screen; a swipe up from the bottom edge follows the finger and closes on release (labwc lists the center and control center in bottomSwipeIgnoreNamespace, migration; omarchy-bottom-swipe as bottomSwipeCommand closes them on an older labwc and otherwise opens the keyboard). It, the control center, the launcher and bar popups close each other. Software rendering skips the fades.
  • Also: the banners use the launcher's app icons and a placeholder icon; a tap on a phone's empty control center sheet closes it.

Needs OrchardLinux/packages#11 (labwc 0009) published first, or the bottom swipe does nothing over the center.

Tested in the simulator on the iPad (portrait) and iPhone: opening by pull, clock, IPC; closing by Escape, Home, clock, bottom swipe; mutual closing with the control center; stacks; swipes; Focus; buttons; reply as a banner; arrivals and re-sorting. Not yet: iPad landscape, keyboard navigation (planned next, for both centers), Clear all, hardware.

A surface over upstream's notification history: what is on screen and
what timed out, was swiped away or was replaced, grouped by app (opened
and withdrawn ones are done with). "Today" has a large clock, the date
and the weather from the weather panel, hosted for its data once the
center has been opened; no agenda, as there is no calendar behind it.
An iPad in landscape has Today and the notifications side by side,
portrait and a phone stacked.

Cards in the banners' family: the app's icon and name, the time, a bold
title, the body and only the sender's own buttons; "n more" opens a
stack. A tap opens the notification (a history entry its app), a finger
sliding a card sideways clears it (kinetic), a collapsed stack whole.
Focus (Do Not Disturb) and Clear all in the header.

It moves as the control center: a finger pulls it down from the bar's
left two thirds holding the bottom of what it shows, a spring carries
it, it is pushed up on the empty screen or by its handle; the clock
opens it as a popup; Super+Ctrl+2 (with a migration for existing
rc.xml), Home, Escape and a tap on the empty screen. It, the control
center, the launcher and the bar's popups put each other away, the bar
stays reachable, and no banner shows under it. Keyboard: Up/Down, Enter,
Delete, Escape. Software rendering skips the fades.

Assisted-by: LLM
@henrikklee
henrikklee deleted the branch notifications November 20, 2026 00:57
@henrikklee henrikklee closed this Nov 20, 2026
@henrikklee henrikklee reopened this Nov 20, 2026
@henrikklee
henrikklee changed the base branch from notifications to main November 20, 2026 00:58
…pe closes

- Portrait and a phone: Today is one row over the notifications (the
  clock and the date at the left, the weather at the right) instead of a
  large clock taking the top of the screen; landscape keeps its column.
- The background is the theme's, opaque: a translucent dark over the
  wallpaper only muddied it.
- A quick swipe in a long list scrolls it: the background's push-up
  closed the center instead, taking the swipe from the list, and often
  caught a swipe down too. It only applies while there is nothing to
  scroll; the handle, Home and Escape always close.
- Stacks open closed again, and the list starts at the top, each time.
- A swipe up from the bottom edge puts the notification center, or the
  control center, away instead of opening the keyboard over it
  (omarchy-bottom-swipe as labwc's bottomSwipeCommand, with a migration
  for an existing rc.xml).

Assisted-by: LLM
Opaque, the wallpaper was gone. It has the lock screen's scrim: even,
the theme's lock scrim, taken toward black on a dark theme so it does
not grey the wallpaper to mud.

Assisted-by: LLM
- A card is laid out as a banner: the app's icon at the left, a bold
  title with the time at its end, the body, the sender's buttons under
  the text, and the app's name only when there is no icon. "n more"
  sits on the title line.
- Opening a stack, its cards slide out from under its head and fade in
  while what follows moves down with them, and closing reverses it
  (300 ms, at once in software); the shapes behind a closed stack fade
  as it opens. Its other cards are built only while they show.

Assisted-by: LLM
Opening a stack dropped the shapes behind its head at once (their count
followed the open state); they fade and fold away with the opening and
come back with the closing.

Assisted-by: LLM
…tack

- labwc leaves the bottom-edge swipe to the notification center and the
  control center (bottomSwipeIgnoreNamespace lists them beside the
  keyboard, labwc's 0009; with a migration for an existing rc.xml): a
  swipe up from the bottom follows the finger and closes on release,
  instead of the gesture's command closing it at once mid-touch.
- The shapes behind a closed stack lie behind the card above and reach
  up under it: their outlines met the card's on one row of pixels and
  added up to a brighter line.

Needs labwc 1:0.20.2-6 (OrchardLinux/packages, 0009).

Assisted-by: LLM
- Its list is kept up to date while closed: built only as it opened,
  the cards were made in the opening's first frames and it stuttered.
- Pulled, it grows out of its top centre from 94 % as the control center
  does from 86 %, the bottom of what it shows staying at the finger.

Assisted-by: LLM
- The notification center slides without growing, and its motion is no
  longer capped at its place: it stopped dead where the control center,
  on the same spring, swung past. It lands with the swing now.
- Both springs are damped a little more going in (0.86 of critical
  rather than 0.78): the control center's landing read as a bounce.

Assisted-by: LLM
The handle's pill stood still at the screen's bottom while the sheet
slid and swung. It is drawn in the sheet now and moves, fades and
swings with it; where it is grabbed stays at the screen's edge, so the
drag measures against something still.

Assisted-by: LLM
The pill at the bottom goes. A swipe up from the screen's bottom edge
still pushes the center away, following the finger: the place where it
lands stays, undrawn.

Assisted-by: LLM
…older icon

- A sender's button closes the center before it acts: the press changes
  the list and remade the card it came from, which dropped the close.
- Inline reply on a card, as on a banner: the field takes the keyboard
  on its tap (opening the on-screen keyboard for a finger, which then
  lies over the center), Escape ends it.
- A notification arriving while the center is open comes in with a
  transition: a new app's group grows in at the top and fades in, what
  follows moving down; a group that was there fades its head in. What
  was there on opening does not move.
- Without an icon, a card (and a banner) has a quiet square with a bell
  in the icon's place, so every card's text lines up.

Assisted-by: LLM
The list was made again on every change, so a group a new message sorted
to the top jumped there. The groups are a model keyed by app now, kept
in step by moves, inserts and removals: the group's card stays and
slides to the top while the others make room (320 ms ease-out). The
slide applies only while re-sorting; a stack opening keeps its own
motion.

Assisted-by: LLM
Banners and the notification center looked an app's icon up in the icon
theme, which found Firefox's own icon before the icon set's drawing the
launcher shows (Papercraft by default, in the theme's colours; other
apps have no themed icon, so they fell back to the drawing anyway). They
ask the app library first now, as the launcher does.

Assisted-by: LLM
…he bar

- A phone's weather card shows the temperature and the day's high and
  low without the place, which did not fit and was cut off at the card's
  edge; a line too long elsewhere ends in an ellipsis. The card's width
  comes from its texts' full widths.
- The clock is checked every second while the center shows: its minute
  timer was set once and could lag the bar's by a minute.

Assisted-by: LLM
On a phone the card is the whole screen and took every tap, so the
empty sheet under the tiles did not close it. Only its content takes
taps there now; a tap below closes, as a tap beside an iPad's card and
on the notification center's empty screen do.

Assisted-by: LLM
@henrikklee
henrikklee merged commit fb80ee0 into main Nov 20, 2026
9 checks passed
@henrikklee
henrikklee deleted the notification-center branch November 20, 2026 01:59
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