You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f9891a9
Browse filesBrowse the repository at this point in the historyBrowse files
delivery engine
committed
A T3 checkout update shows in the sidebar's update pill, like the desktop and harness updates
Web only. The T3 checkout update now shows in the v2 sidebar's update area as a SidebarCheckoutUpdatePill placed next to SidebarProviderUpdatePill in SidebarChromeFooter, reusing the T3 sidebar update pill's tones, icons, small dismiss button and tooltip. One root-mounted controller (CheckoutUpdateProvider in CheckoutUpdateNotification.tsx, wrapping the app shell in __root.tsx) feeds both the pill and the retained toast. The toast is kept only for the legacy sidebar and Settings routes. Both are hidden until client settings load and when the server lacks the checkoutUpdate capability. CheckoutUpdate.logic.ts works out the states: phase titles (installing/building/restarting) that stay even when the server sends a message, undone vs could-not-update told apart even when an earlier undo is still on record, reason fallback to lastOutcome.reason, the pill view (available/starting/not-started notice/progress/undone/failed/reload/none) and the presentation choice. The controller blocks a second start before React re-renders and holds 'Starting…' until the server moves on (or passes on the request). A failed start says it did not start and allows retry. Start requests still in flight from a previous primary environment are ignored. The initiating tab reloads by itself and other tabs offer Reload. The loaded commit and initiating tab survive Settings navigation and a reconnect where the server briefly reports nothing. Offered-commit dismissal shares the existing t3code:checkout-update-dismissed:v1 key, outcome notices close locally, and a toast closed by the code no longer remembers a dismissal (this also fixes a failure toast that reopened after closing). Desktop updater files are unchanged; mobile is not changed because it has no checkout update screen.
Task task-96df4b2119, revision 2, run run-f8807ae82d.
0 commit comments