Commit Graph
1545 Commits
Author SHA1 Message Date
g-butandClaude Sonnet 4.6 6a830409e7 refactor(control): clean up session summary — drop noise, simplify hierarchy
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>
2026-05-05 16:17:07 +02:00
g-butandClaude Sonnet 4.6 72fcf75345 chore(control): remove stale lucide imports from ProjectCard
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 16:13:09 +02:00
g-butandClaude Sonnet 4.6 74d2d5b2d6 refactor(control): move gear+collapse icons into ProjectCardHeader
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>
2026-05-05 16:11:13 +02:00
g-butandClaude Sonnet 4.6 71dccafd73 refactor(control): UX simplification — flatten cards, inline agent config, fix session popup
- 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>
2026-05-05 16:05:21 +02:00
g-butandClaude Sonnet 4.6 b07379dbb6 refactor(control): collapse intent panel when banner is active (ready/closed)
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>
2026-05-05 15:30:10 +02:00
g-butandClaude Sonnet 4.6 6a1bdcf31c fix(control): humanize all remaining raw agent identifiers
- Export getAdapterLabel from control-intents.ts (centralizes the mapping)
- BrainConfigPanel header fallback: 'claude' → 'Claude' when registry label absent
- BrainConfigPanel 'Saved:' pill: 'codex · gpt-5.4' → 'Codex · gpt-5.4'
- project-card-helpers: import from shared export, remove local duplicate

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 15:26:32 +02:00
g-butandClaude Sonnet 4.6 df220541ef fix(control): replace raw internal identifiers with human-readable labels
- Add getIntentLabel() to control-intents.ts — maps 'next_best' → 'Next best',
  'test_and_fix' → 'Test & fix', etc. Falls back to humanizing the id.
- Add adapterLabel() in project-card-helpers — maps 'openclaw' → 'OpenClaw',
  capitalizes others (claude → Claude, codex → Codex).
- LatestOrchestrationPanel: use both — was showing 'openclaw · next_best'.
- ActivityLogPanel: use getIntentLabel for non-custom dispatches.
- BrainConfigPanel: rename 'Backend' kicker → 'Agent' (less developer jargon).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 15:22:43 +02:00
g-butandClaude Sonnet 4.6 3ca7566ba7 refactor(control): reduce cognitive load — collapse intent buttons when running, fix hardcoded agents
- 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>
2026-05-05 15:18:49 +02:00
g-butandClaude Sonnet 4.6 52b131794d refactor(control): consolidate command bar — remove duplicate stat grid, fleet status bar, and zellij tabs noise
- 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>
2026-05-05 15:09:35 +02:00
g-butandClaude Sonnet 4.6 8bc421f781 fix(mutations): add try/finally to FulfillCommitmentButton and DismissAlertButton so busy never sticks on server action failure
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:51:30 +02:00
g-butandClaude Sonnet 4.6 8df0cca018 fix(mutations): catch server action failures in ActionButtons — busy state no longer sticks on error
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:48:40 +02:00
g-butandClaude Sonnet 4.6 df7e80d7a7 fix(mutations): guard remaining silent-failure deletes in CommitmentItem, SubscriptionActions, and ProjectsSettings
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:45:01 +02:00
g-butandClaude Sonnet 4.6 faf92266f2 fix(mutations): guard HabitsList toggle/remove, EventCard archive, and ProjectDetailHeader saveDescription against silent API failures
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:25:14 +02:00
g-butandClaude Sonnet 4.6 4be5955707 fix(ui): upgrade informational text from muted to tertiary in memory, ivy modal, and profile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:16:47 +02:00
g-butandClaude Sonnet 4.6 7f3222bcc6 fix(ui): final informational-text contrast pass + todos SSOT
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>
2026-05-05 14:12:25 +02:00
g-butandClaude Sonnet 4.6 db77edc626 fix(mutations): catch API failures across delete, edit, and log flows
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>
2026-05-05 13:58:08 +02:00
g-butandClaude Sonnet 4.6 57ce2fffdd fix(ux): add error handling to four more silent-failure mutations
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>
2026-05-04 21:11:30 +02:00
g-butandClaude Sonnet 4.6 0ddfd84382 fix(ux): add error handling to three silent-failure mutation forms
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>
2026-05-04 21:05:30 +02:00
g-butandClaude Sonnet 4.6 2d5b8eb57f fix(ui): final muted-text sweep — informational content pass
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>
2026-05-04 21:01:15 +02:00
g-butandClaude Sonnet 4.6 6a69141149 refactor(quality): SSOT fixes + contrast sweep continuation
- 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>
2026-05-04 20:54:28 +02:00
g-butandClaude Sonnet 4.6 952ccf0945 fix(ui): mop up remaining informational text using muted color
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>
2026-05-04 20:44:12 +02:00
g-butandClaude Sonnet 4.6 80c4536017 fix(ui): final pass — muted→tertiary/secondary for informational text
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>
2026-05-04 20:41:50 +02:00
g-butandClaude Sonnet 4.6 aa11ce119f fix(ui): fix status text contrast in System page (AutopilotCard, JobDetail)
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>
2026-05-04 20:38:14 +02:00
g-butandClaude Sonnet 4.6 3ec355c750 chore: gitignore root-level screenshot artifacts (*.png, *.jpeg)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 20:36:33 +02:00
g-butandClaude Sonnet 4.6 39f7fcf395 fix(habits): completion % divided by wrong denominator for non-daily habits
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>
2026-05-04 20:33:37 +02:00
g-butandClaude Sonnet 4.6 50939935a4 fix(habits): streak on Today page capped at 7 — align with 30-day window
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>
2026-05-04 20:31:09 +02:00
g-butandClaude Sonnet 4.6 cf75146a21 fix(ui): fix two more empty/error states using unreadable muted color
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>
2026-05-04 20:28:49 +02:00
g-butandClaude Sonnet 4.6 62f017c610 fix(ui): upgrade empty-state and error text from muted to readable contrast
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>
2026-05-04 20:27:37 +02:00
g-butandClaude Sonnet 4.6 323b4ae525 fix(ui): improve light-mode readability across three touch points
- ui-kicker contrast: text-muted → text-tertiary (~2:1 → ~3.2:1 in light mode)
- GoalCard "Add sub-goal": text-muted → text-secondary for discoverability
- Compact ActionButtons: p-1/p-1.5 → p-2 (touch target 24–28px → 32px)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 20:21:00 +02:00
g-butandClaude Sonnet 4.6 fe33d8839b refactor(goals): use useInlineEdit hook for title/desc edits in GoalCard
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>
2026-05-04 20:02:08 +02:00
g-butandClaude Sonnet 4.6 2136e0066c fix(people): exclude user self correctly when external_id IS NULL
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>
2026-05-04 19:54:08 +02:00
g-butandClaude Sonnet 4.6 ada41dc64f fix(today): stale contacts pill now only counts contacts with prior interactions
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>
2026-05-04 19:46:44 +02:00
g-butandClaude Sonnet 4.6 61866d78e2 chore(control): remove unused profile destructure after ProfilePanel removal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 19:32:29 +02:00
g-butandClaude Sonnet 4.6 06c59ce667 refactor(control): remove redundant ProfilePanel + polish LatestOrchestrationPanel
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>
2026-05-04 19:29:51 +02:00
g-butandClaude Sonnet 4.6 f376cf5761 fix(control): mobile grid overflow + terminal indicator for aliased tabs
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>
2026-05-04 19:17:51 +02:00
g-butandClaude Sonnet 4.6 e1b043978d fix(control): use liveTab for parseSession + SSOT + key/cn cleanups
- 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>
2026-05-04 19:07:18 +02:00
g-butandClaude Sonnet 4.6 6bc632ef14 feat(control): collapse expanded tiles + live terminal indicator
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>
2026-05-04 18:58:47 +02:00
g-butandClaude Sonnet 4.6 db5bcfcdd8 chore(control): remove unused Fragment + ChevronDown imports
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 18:52:31 +02:00
g-butandClaude Sonnet 4.6 447bcc663f fix(control): key prop bug + redesign ProjectProfile to xAI-grade polish
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>
2026-05-04 18:51:32 +02:00
g-butandClaude Sonnet 4.6 8c510853a2 fix(control): extract resolveEffectiveTab helper + apply to all inject paths
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>
2026-05-04 18:48:34 +02:00
g-butandClaude Sonnet 4.6 4b8aea04a7 fix(control): resolve Zellij tab alias + voice input on custom prompt
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>
2026-05-04 18:44:20 +02:00
g-butandClaude Sonnet 4.6 daac799c9e refactor(ui): SSOT — EventsGrid + GoalsGrid count badges use ui-badge
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>
2026-05-04 18:31:50 +02:00
g-butandClaude Sonnet 4.6 714af29698 refactor(settings): use PageLayout SSOT — removes ad-hoc padding/header
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>
2026-05-04 11:39:11 +02:00
g-butandClaude Sonnet 4.6 32dd938d7c refactor(ui): three more SSOT fixes — ui-tag, ui-btn-add adoption
- memory/page: TypeBadge shape → ui-tag (removes 5 redundant Tailwind classes)
- PersonChannelsSection, PersonDetailAttrs: add-item buttons →
  ui-btn-add (were using text-text-tertiary instead of the SSOT class)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 11:37:24 +02:00
g-butandClaude Sonnet 4.6 6668e21a0e refactor(ui): badge SSOT fixes + 3 missed ui-hover-reveal instances
- habits/page: "inactive" tag → ui-tag ui-tag-neutral
- ProjectGrid: attribute pill → ui-micro-badge rounded-full
- project-overview-helpers, ProjectGoalsTab: 3 more sm:opacity-0
  sm:group-hover:opacity-100 → ui-hover-reveal (missed from prior sweep)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 11:35:20 +02:00
g-butandClaude Sonnet 4.6 8fe7744b1b refactor(ui): add ui-btn-row-action SSOT + consolidate 4 icon button patterns
globals.css: add .ui-btn-row-action (p-1.5 rounded text-text-muted
transition-colors hover:text-text-secondary hover:bg-surface-raised)
for small icon edit/action buttons on list row surfaces.

Replace in: EventCard (edit), CommitmentItem (edit), HabitRow (edit),
GoalCard (cancel-add-child).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 11:30:24 +02:00
g-butandClaude Sonnet 4.6 45e0c49815 refactor(ui): add ui-hover-reveal SSOT + consolidate 7 hover-action patterns
globals.css: add .ui-hover-reveal (sm:opacity-0 sm:group-hover:opacity-100)
for the desktop-only hover-reveal pattern on row action buttons.

Replace sm:opacity-0 sm:group-hover:opacity-100 in:
- EventCard, CommitmentItem action button groups
- PersonDetailAttrs, PersonChannelsSection icon buttons
- DeleteGoalButton trigger, goal-card-helpers edit/date buttons

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 11:25:23 +02:00
g-butandClaude Sonnet 4.6 514f98bc26 refactor(ui): add ui-micro-badge SSOT + consolidate 7 ad-hoc micro-badge patterns
globals.css: add .ui-micro-badge shape class (inline-flex rounded border
px-1.5 py-0.5 text-[10px] font-medium) — caller adds color/bg.

Replace repeated ad-hoc patterns across:
- EventCard: type + category chips → ui-micro-badge
- ProjectDetailHeader: owner chip → ui-micro-badge
- project-badges: StatusBadge + HealthBadge → ui-micro-badge
- PersonDetail: alias chips → ui-badge
- project-card-helpers: orchestration run state → ui-badge

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 11:21:43 +02:00
g-butandClaude Sonnet 4.6 826a582669 refactor(ui): replace ad-hoc badge/pill classes with ui-tag/ui-badge SSOT
- control/project-card-sections: git-behind warning → ui-tag ui-tag-warning
- people/PeopleGrid + projects/ProjectGrid: count badge → ui-badge
- projects/ProjectOverviewTab: relation name pills → ui-tag ui-tag-neutral

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 10:12:11 +02:00
g-butandClaude Sonnet 4.6 933449dd38 refactor(settings): use ui-tag SSOT for invitation status badge
Replaced ad-hoc rounded-full/px-2/text-xs conditional classes with
ui-tag + ui-tag-{positive,negative,neutral} — the existing SSOT.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 10:10:11 +02:00