SessionSummary: remove inline kicker labels and tests/todos tertiary line.
Next task is plain primary text, done is muted xs below it. No more "next
[text]" / "done [text]" pattern — visual weight carries the meaning.
ClosedBanner: remove the tests status line.
LatestOrchestrationPanel: remove tests/todos/health tertiary line.
"no suite · 0 TODOs · good — tsc clean" is not card-level information.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes the empty toolbar strip from ProjectCard and co-locates the
profile toggle (SlidersHorizontal) and collapse (ChevronsDown) buttons
in the card header's right cluster alongside the external URL link.
Profile icon highlights accent when the panel is open.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- ProjectCard: replace Status/Profile tab bar with gear icon toggle
- ProjectCardHeader: merge Circle indicator inline with title, compact git row
- SessionSummary: remove git commit hashes, remove line-clamp truncation
- IntentButtonPanel: flatten primary+action into one chip row; icon-only auto-continue; single ··· overflow for more intents
- BrainConfigPanel: remove Change▼ toggle; always-inline agent chips + model input; Save/Apply only when hasPendingChange
- agent-catalog.ts: deduplicate modelSuggestions with Set to prevent "sonnet sonnet" repetition
- ClaudeSession (projects view): remove line-clamp, add Raw toggle to show full .md file, improve typography
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When ClosedBanner or ReadyBanner is showing, those banners already carry the
primary CTA (Continue / timed auto-continue). Showing the full intent button
panel simultaneously creates two action areas with overlapping purposes.
Now: when bannerActive, intent panel defaults to collapsed — shows only the
custom prompt input + 'More actions' link. User can expand for full access.
The expand state is local so re-collapsed on next render cycle.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- When agentRunning: intent button panel collapses to interrupt-only input.
A running agent needs no new task — showing 7 action buttons was noise.
- Remove 'Pause auto-continue' from the main button group (it was the same
visual weight as action buttons). Replaced with a tiny on/off toggle at
the bottom of the panel.
- Remove 'via X' sub-label from primary intent buttons — the header already
shows the selected agent.
- Replace hardcoded AGENTS array in ProjectProfile with dynamic registry
from switchableRegistry, threaded through ControlPanel → ProjectCard.
- Extract PromptInput as a shared subcomponent used in both running and
idle states.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Merges stat grid (3 big cards) + FleetStatusBar (text line) into a
single compact headerRight slot in BrainConfigPanel: ● N running,
waiting count, +N commits, timestamp, Refresh, New project
- Removes Zellij tabs pill section — terminal icon on each card already
shows which tabs are open
- Fixes currentAdapter bug: was reading saved API config (stale), now
reads selectedAgent (UI state), so "via X" labels on intent buttons
are always accurate
- Cleans up BrainConfigPanel: removes verbose capability description
paragraph, removes redundant "Selected" pill (already in header),
renames "Use detected default" → "Use default"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Eight more text-text-muted uses upgraded to text-text-tertiary where
the content is informational: AutopilotCard next-run time, ProjectGoalsTab
progress %/milestone count, PersonInteractionsSection inbound arrow,
project-badges score, project-card-sections ×count, ProjectTile branch
name, ProjectPromptsTab schedule expression and job count.
Also replaced the fragile string comparison ("0 TODOs" / "0") in
ClaudeSession with a numeric parse so the check is robust against any
format variant the session renderer might produce.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PersonDetailAttrs: saveEdit/saveNew/deleteAttr all optimistically updated
local state without checking res.ok — UI showed success while server may
have rejected. PersonCard: onLogged fired on API failure, corrupting the
parent list's "last contacted" date. DeleteButton: now catches errors
from onDelete and shows them inline; three callers (EventCard,
PersonDetail, ProjectDetailHeader) updated to check res.ok and throw so
the error propagates correctly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
SubscriptionActions onMarkPaid had a real data-integrity bug — setPaid(true) ran even when patchJson returned a non-ok response, showing 'Next due updated' on API failure. onSaveEdit similarly closed the form unconditionally. GoalCard handleAddChild and EventCard handleSave had no error display when the API returned an error response (form stayed open but user got no message). ProjectOverviewTab handleLogActivity same pattern. All four now check res.ok/data.ok, surface saveError, and clean up error state on cancel.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
LogConversationButton, PersonInteractionsSection, PersonChannelsSection all had try/finally blocks that cleared the saving spinner on failure without showing any feedback. Users would see the spinner disappear and have no idea whether the save succeeded or failed. Added saveError state + error display to each, with proper catch paths and res.ok checks.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
JobDetail field labels (Model/Thinking/Timeout/Delivery), activity log timestamps, GoalsGrid empty states, ProjectOverviewTab activity meta and empty state, git sync result feedback, ProjectDetailHeader owner badge, ProfileSettings URL prefix — all upgraded from text-text-muted to text-text-secondary/tertiary. Remaining muted uses are intentional: inactive states, ghost placeholders ("Add a note…"), decorative separators and icons.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Move scheduledDays() from habits/page into db/queries/habits as shared export (was duplicating isDueToday frequency logic)
- Extract INVITATION_EXPIRY_DAYS to lib/constants — was hardcoded as 7 in both the DB query and the UI string
- Upgrade PlaceholderView container from text-text-muted to text-text-tertiary
- Upgrade count badges (Commitments, Alerts), EventCard date, ActionQueue timestamps, Ivy reasoning text, SubscriptionActions labels from text-text-muted to text-text-secondary/tertiary so informational content is actually readable
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
HabitRow frequency label, AskIvy modal hint, public profile message,
ProjectsSettings dir/git paths, TeamSettings invite email — all now
use text-tertiary or text-secondary instead of text-muted (~2:1).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sidebar nav descriptions, GoalCard milestone count, control panel model
defaults, three project tab empty states (goals/activity/jobs), and
HabitsCard done count upgraded from text-muted (~2:1) to text-tertiary
or text-secondary for legibility across all remaining informational text.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Schedule labels ("every day at 9am"), "Never", and "Never run" status
upgraded from text-muted to text-tertiary for legibility.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Weekday habits (22 expected days) and weekly habits (4 expected days)
were divided by HABIT_HISTORY_DAYS (30), showing 73% and 13% for
perfect adherence. Added scheduledDays() to count the actual expected
completions for the frequency type within the window, so 22/22 weekday
completions now shows 100% instead of 73%.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
getTodayHabits fetched only 6 days back and looped max 7 iterations,
capping streaks at 7 regardless of actual length. Switched to
HABIT_HISTORY_DAYS (30) to match getAllHabitsWithHistory, so the
Today habit row streak count is consistent with the Habits page.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ProjectProfile "No profile" and ProjectDetail "Project not found" messages
upgraded from text-muted to text-secondary for legibility.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaced text-text-muted (~2:1) with text-text-secondary/tertiary (~3-6:1)
on all informational empty states and error messages across 9 components:
CommitmentsCard, SubscriptionsCard, CalendarCard, WeatherCard (error/status),
EventsGrid, Goals page, TeamSettings, ProjectsSettings, LogConversationButton.
Decorative icons remain tertiary; only primary message text upgraded.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes 6 hand-rolled editing/saving state vars, replaces them with the
existing useInlineEdit hook that all other inline-edit components use.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
e.external_id != 'george' evaluates to NULL (not TRUE) for contacts
where external_id IS NULL — incorrectly excluding them from queries.
Changed to (IS NULL OR != default) in both people.ts and today.ts.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1279→106: importing WhatsApp contacts created 1279 "stale" entries because
the query matched IS NULL (never interacted). Contacts with no interaction
history are dormant imports, not contacts that need rekindling — only those
you've previously engaged deserve the "needs attention" signal.
Changed LEFT JOIN → JOIN and dropped OR max IS NULL clause. Updated pill
link to remove the `unknown` health filter for consistency.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ProfilePanel in the Status tab duplicated the Profile tab introduced in the
previous redesign — two collapsible "Profile" sections was confusing UX.
Removed ProfilePanel and its private MaturityBar (only consumers of those
two exports) and cleaned up the now-unused Info/ChevronDown/ChevronRight/
ExternalLink imports.
LatestOrchestrationPanel: semantic state badge coloring (done=positive /
error=negative / running=warning), tightened spacing, reduced text sizes
for better visual hierarchy.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Mobile (375px): idle tile grid lacked explicit grid-cols-1 so browser
auto-sized the single track to content width (~1240px), overflowing the
container. Adding grid-cols-1 as the base gives minmax(0,1fr) behavior.
Terminal indicator: expose liveTab in ProjectState so ProjectCard and
ProjectTile can resolve the correct Zellij tab name for alias matches
(e.g. canonical "Cockpit" → live "Cockpit Claude"). Previously tabOpen
was always false for any aliased project.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- control/route: resolveEffectiveTab before parseSession so "Cockpit Claude.md"
is read instead of stale "Cockpit.md" when tab has a Zellij alias
- sessions/route: import SESSIONS_DIR from lib/claude-config (was duplicated)
- project-card-sections: stable key on recentCustomPrompts (customPrompt not index)
+ use cn() instead of template string for conditional classes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Expanded idle projects now show a "Collapse" button in the card tab bar
that returns them to the tile grid — onCollapse is only wired for cards
promoted via expandedTabs, not natively-active ones.
Terminal icon shown in accent color on both ProjectCard header and
ProjectTile when the project's Zellij tab is currently open, making the
terminal↔web connection visually explicit.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bug: Fragment in MetaSection.map() had no key — moved key to Fragment.
Design: complete visual overhaul of the profile tab —
- Mission highlighted with left-border callout
- Status/Maturity inline in a single stats row (StatusChip + segment dots)
- URL with Globe icon, no-protocol display, hover transition
- Stack + extra attrs in a bordered card with MetaRow grid
- Dimension accordions use ChevronRight with CSS rotation (no swap)
- Agent selector: compact rounded-lg toggles with ✓ for default
- All colors via SSOT tokens, zero inline styles
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds resolveEffectiveTab() to lib/claude-config.ts — single source of truth
for the canonical→live tab alias logic. Applied to all three call sites:
- inject/route.ts: replaces inline alias logic (DRY)
- orchestration/run/route.ts: claude/codex inject adapters now resolve alias
- control/route.ts: sentinel file reads (ready/closing/closed/prompt) now use
the live tab name so the control panel correctly reflects state after inject
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Inject route: when the canonical project tab name (e.g. "Cockpit") isn't
an active Zellij tab, look up the directory and find any conf alias that IS
alive (e.g. "Cockpit Claude"). All /tmp sentinel files and the injection
itself now use the live tab name so stop.sh lifecycle hooks stay in sync.
Custom prompt field: mic button (Web Speech API) with pulse animation while
recording, matching the UX already in AskIvyModal.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Consistent with PeopleGrid and ProjectGrid which already use ui-badge
for the search-bar count. Also updates next-env.d.ts to production
build path.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Settings page was the only app route not using PageLayout, manually
repeating the padding pattern (px-4 py-8 mx-auto max-w-2xl) and a raw
h1 element instead of the standard ui-page-title header.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>