refactor(control-center): Quick Controls 재디자인 및 플랜/잠금 결제 동선 정리

This commit is contained in:
2026-03-04 14:36:38 +09:00
parent 60cd093308
commit 3cddd3c1f4
21 changed files with 983 additions and 149 deletions

View File

@@ -55,7 +55,16 @@ const resolveInitialTimerLabel = (timerLabelFromQuery: string | null) => {
export const SpaceWorkspaceWidget = () => {
const searchParams = useSearchParams();
const { pushToast } = useToast();
const { thoughts, thoughtCount, addThought, clearThoughts } = useThoughtInbox();
const {
thoughts,
thoughtCount,
addThought,
removeThought,
clearThoughts,
restoreThought,
restoreThoughts,
setThoughtCompleted,
} = useThoughtInbox();
const initialRoomId = resolveInitialRoomId(searchParams.get('room'));
const initialGoal = searchParams.get('goal')?.trim() ?? '';
@@ -204,6 +213,10 @@ export const SpaceWorkspaceWidget = () => {
onTimerSelect={setSelectedTimerLabel}
onSelectPreset={setSelectedPresetId}
onCaptureThought={(note) => addThought(note, selectedRoom.name)}
onDeleteThought={removeThought}
onSetThoughtCompleted={setThoughtCompleted}
onRestoreThought={restoreThought}
onRestoreThoughts={restoreThoughts}
onClearInbox={clearThoughts}
onExitRequested={handleExitRequested}
/>