Repository navigation
Conversation
- The sidebar closes to a 56px rail of icons (named in their tooltips) by a chevron tab inside its right edge, tinted with New Task's color; the choice is kept (store/sidebar-store.ts). The main area and the board's scroller follow its width, so the board gains about 200px. - The brand, as ytd and torrenter show theirs: the icon, "Code-Automata", "v3.3.7 · by danted4" (the release and the owner's GitHub profile) and the tagline head the open sidebar; while it is closed the same line sits at the page's top left (BrandBar). After a click the old content goes at once and the new fades in (globals.css). - Page messages are toasts at the bottom right instead of strips that pushed the content down: the board's connection, refused project and task load (lib/board-notice.ts; connecting only after a 1.5 s grace), unreadable task files with their Delete buttons, a failed worktree reload. Toasts go on their own unless fatal (lib/toast-policy.ts: 6 s by default, connecting 8 s, unreadable files 12 s; a refused project or tasks that cannot load stay until fixed); every toast can be closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Euju6UiFfM3Ax8sqArwAHM
…hout a project P49-1: "Retry now" calls preventDefault, so sonner keeps the fatal toast open; a retry failing the same way no longer leaves an empty board with nothing saying why. P49-2: connecting is a plain toast with a spinner icon, not toast.loading (sonner gives that no timer and no close button), so it goes after 8 s and can be closed, as the changelog says. Checked in a browser: spinner and close button shown, gone after its 8 s. P49-3: boardNotice takes whether a project is open; without one there is no stream and no notice. P49-4: an inactive link's colors are classes, so hover changes its text color again (inline color only for the current page); tested. P49-6: the width and padding transitions are off under prefers-reduced-motion, like the fades. Also: the toast close button takes the theme's colors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Euju6UiFfM3Ax8sqArwAHM
…rror icon Sonner merges an update into the toast of the same id, so the error kept the connecting spinner; icon: undefined lets it fall back to the type's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Euju6UiFfM3Ax8sqArwAHM
Their tasks are missing from the board and the toast holds their Delete, so it stays like the fatal ones (TOAST_MS.untilFixed, replacing fatal and the 12 s actionable); its close button still hides it until the board is opened again or the broken files change. Changelog and CLAUDE.md say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Euju6UiFfM3Ax8sqArwAHM
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.
What the user asked for
The user reviewed each of these in a local preview build (
com.code-automata.preview), including a temporary toast scenario (not in this PR), and approved them.Changes
store/sidebar-store.ts:collapsed(persisted,code-automata-sidebar; anything buttruereads as open),toggled(not persisted: only a click animates),sidebarWidth/useSidebarWidth(256 / 56 px).components/layout/sidebar.tsx: the open sidebar (now headed byBrandLockup) or the rail (logo, Open Project, the pages with the worktree count as a corner badge, compact theme picker, New Task; each witharia-labeland tooltip). Samedata-testids for the links and New Task in both. The toggle (sidebar-toggle,aria-expanded) sits inside the right edge (right-0), 25% primary fill, 45% on hover/focus. The open content keeps 256px while the sidebar widens, so nothing wraps.components/layout/brand.tsx:BrandLockup(icon, name →/, "v{version} · by danted4", tagline),BrandBar(one line at the top left beside the rail,router.tsx),releaseUrl,OWNER_URL. Links aretarget=_blank(opened in the browser since 3.3.6).globals.css:sidebar-appear-soon(200 ms after 180 ms) and-late(450 ms after 500 ms), off underprefers-reduced-motion.router.tsxmainpaddingLeft,kanban/board.tsxscroller (board-columns) from the width; Settings headerpt-10while closed (top left is the brand's).theme-switcher.tsx:compact(palette-only trigger, list opens to the right).lib/board-notice.ts(load → refused → connecting, one toast by id; connecting afterCONNECTING_GRACE_MS1.5 s),kanban/unreadable-tasks.tsx(the list with per-file two-click Delete, fixed width so Delete stays visible), Worktrees' failed reload;lib/toast-policy.tsdurations (default 6 s, connecting 8 s, actionable 12 s, fatal ∞),sonner.tsxcloseButtonand the default duration.Verified
yarn lint,typecheck,vitest(255 passed; new:sidebar-store,brand,sidebar,board-notice,unreadable-tasks),yarn build.ca-server(agent-browser, 1440×900): board, Settings and Worktrees with the sidebar open and closed; a broken task file (toast, Delete visible); the server stopped (connecting toast after the grace).🤖 Generated with Claude Code
https://claude.ai/code/session_01Euju6UiFfM3Ax8sqArwAHM