Round paging follows the finger: faces and dashboards on a track, swiped one to one with the next beside it, turned or sent back on release, rubber-banded at the ends; keys and dots slide the same track; the reading dot a smaller companion of the handle
Docs / docs (push) Successful in 24s
Playwright Tests / test-playwright (1, 2) (push) Failing after 4m14s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m11s
pre-commit / pre-commit (push) Failing after 2m2s
Test Backend / test-backend (push) Failing after 3m23s
Compose Smoke Test / test-compose (push) Successful in 34s
Playwright Tests / merge-reports (push) Successful in 1m33s
Docs / docs (push) Successful in 24s
Playwright Tests / test-playwright (1, 2) (push) Failing after 4m14s
Playwright Tests / test-playwright (2, 2) (push) Successful in 2m11s
pre-commit / pre-commit (push) Failing after 2m2s
Test Backend / test-backend (push) Failing after 3m23s
Compose Smoke Test / test-compose (push) Successful in 34s
Playwright Tests / merge-reports (push) Successful in 1m33s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
541dbce584
commit
603635f947
@@ -28,6 +28,7 @@ export function PanelSurface({
|
||||
rail,
|
||||
touch,
|
||||
onDashboard,
|
||||
around,
|
||||
}: {
|
||||
dashboard: Dashboard
|
||||
/** A landscape arrangement scaled onto a phone comes out at about a fifth of
|
||||
@@ -40,8 +41,9 @@ export function PanelSurface({
|
||||
/** Whether the screen this hangs on is touched. Stated by the panel route. */
|
||||
touch?: boolean
|
||||
/** A round dashboard has no rail: it is swiped up and down to the panel's
|
||||
* others instead. */
|
||||
* others instead, whose names are `around` it. */
|
||||
onDashboard?: (by: number) => void
|
||||
around?: [string | undefined, string | undefined]
|
||||
}) {
|
||||
const hasRail = Boolean(rail)
|
||||
const stack = stacked && !isRound(dashboard)
|
||||
@@ -53,9 +55,10 @@ export function PanelSurface({
|
||||
dashboard={dashboard}
|
||||
rail={hasRail}
|
||||
onDashboard={onDashboard}
|
||||
around={around}
|
||||
/>
|
||||
),
|
||||
[dashboard, hasRail, onDashboard],
|
||||
[dashboard, hasRail, onDashboard, around],
|
||||
)
|
||||
return (
|
||||
<div className="relative size-full">
|
||||
|
||||
Reference in New Issue
Block a user