Repository navigation
Notification center (SHELL-SPEC step 3) - #90
Merged
Merged
Conversation
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
…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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The notification center (SHELL-SPEC step 3) over upstream's notification history.
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.