Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
feat(calendar): click to create event (#5761)
dev-rbbe4aa509ccad
diff --git a/apps/web/src/features/calendar/components/CalendarGrid.tsx b/apps/web/src/features/calendar/components/CalendarGrid.tsxindex 43cb092a6f..fd1c5e0d9b 100644--- a/apps/web/src/features/calendar/components/CalendarGrid.tsx+++ b/apps/web/src/features/calendar/components/CalendarGrid.tsx@@ -246,7 +246,10 @@ export function CalendarGrid(props: CalendarGridProps) {selectable={props.selection.onDateSelect !== undefined}unselectAuto={false}selectMirror- selectMinDistance={5}+ // A zero-distance selection lets a click create one snapped time slot,+ // while pointer movement still supports selecting a longer range.+ selectMinDistance={0}+ snapDuration="00:30:00"select={(selection) => props.selection.onDateSelect?.(selection)}eventClick={props.selection.onEventSelect