Commit Graph

235 Commits

Author SHA1 Message Date
7df8419368 refactor(layout): promote AI capture above timeline on desktop
Give the composer full-width desktop space before the event timeline so capture stays prominent and the toolbar can keep its intended two-column composition. Add source-level regression tests to lock the new page hierarchy in place.
2026-04-22 11:34:37 -04:00
88265678db refactor(header): improve mobile header layout with responsive action controls 2026-04-21 23:23:43 -04:00
7f7c945396 feat(settings): add theme preference selector replacing header ModeToggle 2026-04-21 23:23:32 -04:00
3e3c8056b1 feat(sign-in): make auth buttons responsive with icon-only mobile affordance 2026-04-21 23:23:20 -04:00
7a917e5c22 feat(ui): drive mobile layouts from useIsMobile 2026-04-21 22:46:07 -04:00
16bbd9ab08 chore(gitignore): ignore root screenshots 2026-04-21 22:45:55 -04:00
71c84875fa feat: add use-mobile shadcn hook
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 22:20:26 -04:00
a2d9782d8f refactor(ui): switch surfaces to shared shadow tokens 2026-04-21 21:43:17 -04:00
e0b6120cd3 refactor(theme): make light mode the default shell 2026-04-21 21:43:11 -04:00
276fbad45e chore: legacy cleanup
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 20:24:04 -04:00
915e0b7cf8 feat: redesign
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 20:23:15 -04:00
420a971ff7 docs: customize DESIGN.md
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 17:08:56 -04:00
08ca19d2eb docs: add local cal redesign spec 2026-04-21 17:01:20 -04:00
5d0a043626 chore: design.md inspired by vercel
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 15:13:19 -04:00
036278bab4 chore: add agent-browser skills
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 12:23:35 -04:00
77e778d8b0 chore: nuke openagentcontrol
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-21 12:23:22 -04:00
15f1e1ceb5 chore: add design.md
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-20 20:59:55 -04:00
ddc7a82e0e refactor(ai-event): migrate to OpenRouter chat.send API
Replace the deprecated callModel / getText pattern with the chat.send
method and extract the response content via extractContentFromChatResponse.
This aligns with the current OpenRouter SDK interface.
2026-04-15 18:21:23 -04:00
6bc84d5b58 feat(date-time-picker): add native date input alongside calendar popover
Replace the button-only trigger with a native <input type="date"> (or
datetime-local when not all-day) paired with an icon button that opens
the calendar popover.  This gives users direct keyboard entry while
keeping the rich calendar + quick-shortcut picker accessible.

- Add getInputValue helper to format the current value for the native
  input.
- Import the Input component.
- Restructure the layout to place the input and popover trigger
  side-by-side.
2026-04-15 18:21:17 -04:00
29bf4d2200 fix(time-picker): improve layout stability, a11y, and separator styling
- Change input group horizontal padding from px-3 to pl-3 pr-2 to
  better accommodate the trigger button.
- Add shrink-0 to the trigger button so it does not collapse in flex
  layouts.
- Mark the Clock icon with aria-hidden to keep it out of the
  accessibility tree.
- Forward the className prop in TimePickerSeparator and apply default
  muted-foreground text styling.
2026-04-15 18:21:09 -04:00
8d7948298b fix(button): suppress Firefox inner focus ring and padding
Add [&::-moz-focus-inner]:border-0 and [&::-moz-focus-inner]:p-0 to
the base buttonVariants to prevent the extra inner dotted outline and
padding that Firefox renders on focused buttons.
2026-04-15 18:21:03 -04:00
82d04e7a84 feat: add reusable date and time picker primitives 2026-04-11 00:02:51 -04:00
1ad5603bf6 chore: remove database env example 2026-04-10 15:41:00 -04:00
42989b1437 style: format recurrence helpers 2026-04-10 15:40:56 -04:00
f3350e0124 feat: simplify date picker shortcuts 2026-04-10 15:40:47 -04:00
27492ee01f feat: add location autocomplete 2026-04-10 15:40:38 -04:00
12849b2362 feat: add AI settings controls 2026-04-10 15:40:29 -04:00
e01a7ed1ad feat: use friendly event date labels 2026-04-09 17:41:37 -04:00
12f2fd95dc refactor: centralize event dialog form state 2026-04-09 17:41:26 -04:00
911e5735a4 feat: add shared recurrence helpers 2026-04-09 17:41:04 -04:00
95bc5db9a8 refactor: move calendar chrome into the home page 2026-04-09 13:25:52 -04:00
22224bebc6 feat: redesign local calendar workspace 2026-04-09 13:25:30 -04:00
f05e6f5792 feat: clarify AI draft messaging in toolbar 2026-04-09 11:59:45 -04:00
ecff8bebb1 feat: review single AI-generated events before saving 2026-04-09 11:59:32 -04:00
aef22f704f ️ feat: keep event actions menu visible 2026-04-09 01:10:37 -04:00
e4953ee42e chore: update skills
Signed-off-by: Dmytro Stanchiev <git@dmytros.dev>
2026-04-09 01:04:00 -04:00
92f60d3a9a 📱 fix: hide keyboard shortcuts trigger on mobile 2026-04-09 00:59:15 -04:00
513aafcebc feat: support multiple image uploads for AI event generation 🖼️
- Updated OpenRouter integration to accept an array of image URLs
- Updated ImagePicker to use the `multiple` attribute natively
- Added `appendImagesDeduped` for handling client-side image deduplication
- Enhanced clipboard pasting to extract multiple images at once
- Rendered multiple images in a horizontal thumbnail strip in the AIToolbar
- Added tests to cover multi-image logic and AI request mapping
2026-04-08 20:46:43 -04:00
cac201a4d2 feat: add document-level paste and Ctrl/Cmd+V handler for image clipboard support 2026-04-08 19:58:40 -04:00
1c864f162e feat: handle image paste in AI toolbar textarea via onPaste handler 2026-04-08 19:58:36 -04:00
b3121ed532 refactor: remove strict MIME-type allowlist check from validateImageFile 2026-04-08 19:58:05 -04:00
d850d88a3a test: add unit tests for extractImageFromClipboard 2026-04-08 19:58:03 -04:00
2d34bbebc4 feat: add extractImageFromClipboard utility with broad image/* MIME matching 2026-04-08 19:58:01 -04:00
722c0f0f7d 🚸 feat: redesign AI toolbar with two-zone layout and HoverCard shortcuts popover
- Split composer into AI zone (primary accent) and data actions zone (neutral)
- Move Attach/Generate to labeled footer bar below textarea (left/right aligned)
- Add info icon with HoverCard (hover preview) + Popover (pinned click) showing identical keyboard shortcuts content using shadcn HoverCard to fix theme inconsistency vs Tooltip
- Expose imperative triggerRef on ImagePicker for keyboard shortcut access
- Wire TooltipProvider in root layout; install shadcn kbd and hover-card
- Unauthenticated state shows locked CTA with real sign-in button weight
- Add behavioral contract tests for footer bar, info trigger, and zone layout
2026-04-08 13:08:36 -04:00
650d1d5f95 🩹 fix: restore textarea placeholder padding in ai-toolbar
Replace px-0 py-0 override with px-3 py-1 so placeholder text is
never flush against the edge. The ::placeholder pseudo-element
inherits box padding from the textarea; zeroing it out removed all
visual breathing room for the hint text.

Also adds tests/textarea.test.ts that locks down this behaviour via
class-string assertions on the resolved cn() output.
2026-04-08 09:19:59 -04:00
b93669a416 🔥 fix: remove border and background from empty events skeleton 2026-04-08 09:15:05 -04:00
9dfd4ef326 feat: add Google and Apple OAuth via better-auth socialProviders 2026-04-08 09:12:50 -04:00
e59476dea9 fix: remove fixed height and icon margins from sign-in buttons 2026-04-08 01:51:22 -04:00
86bb20baf4 fix: remove icon margin overrides from mode toggle menu items 2026-04-08 01:51:17 -04:00
1ef63d8070 fix: remove fixed height and icon margins from event actions toolbar 2026-04-08 01:51:12 -04:00