refactor(control-center): Quick Controls 재디자인 및 플랜/잠금 결제 동선 정리
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user