Amit Haridas
72ca2cb46f
feat(ai-assist): floating popover UI + state machine
...
createInlineAiPopover() mounts a floating toolbar anchored to the
current text selection. Three actions (Rewrite / Shorten / Expand)
plus loading spinner with cancel, and an error state with retry and
dismiss. Click handlers dispatch via onAction/onCancel/onRetry.
Positioning flips below the line if there is no room above and
clamps horizontally so the popover stays inside the viewport.
16 new tests covering mount/visibility, idle actions dispatching the
selection text, state transitions (idle / loading / error), Retry
and Dismiss callbacks, and positioning edge cases.
Amit Haridas
2026-09-30 20:14:13 +05:30
..
2026-09-14 21:36:02 +05:30
2026-09-14 20:46:49 +05:30
2026-09-30 20:04:32 +05:30
2026-09-05 20:48:39 +05:30
2026-09-14 22:37:02 +05:30
2026-09-14 00:00:16 +05:30
2026-09-14 00:00:16 +05:30
2026-09-05 21:53:34 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 14:56:05 +05:30
2026-09-14 14:56:05 +05:30
2026-09-14 14:56:05 +05:30
2026-08-23 19:31:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 21:36:02 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 21:36:02 +05:30
2026-08-23 19:31:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 21:41:58 +05:30
2026-09-15 09:23:58 +05:30
2026-09-14 21:36:02 +05:30
2026-09-14 23:09:23 +05:30
2026-09-15 09:23:58 +05:30
2026-09-15 09:23:58 +05:30
2026-09-14 14:56:05 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-05 21:53:34 +05:30
2026-09-30 20:14:13 +05:30
2026-09-30 20:01:54 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-06-30 12:56:33 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 00:00:16 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 23:59:53 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 22:48:45 +05:30
2026-08-23 19:31:33 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-04-23 22:55:12 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-09-14 21:06:28 +05:30
2026-09-14 21:06:28 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 21:53:34 +05:30
2026-06-30 13:57:34 +05:30
2026-09-30 19:53:44 +05:30
2026-09-30 19:58:18 +05:30
2026-09-14 14:56:05 +05:30
2026-06-30 12:56:33 +05:30
2026-09-05 20:48:39 +05:30
2026-06-30 12:56:33 +05:30
2026-08-23 19:31:33 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 14:56:05 +05:30
2026-08-23 19:31:33 +05:30
2026-09-05 21:53:34 +05:30
2026-06-30 12:56:33 +05:30
2026-09-14 20:11:44 +05:30
2026-08-23 19:31:33 +05:30
2026-09-05 20:48:39 +05:30
2026-08-23 19:31:33 +05:30
2026-09-30 19:56:50 +05:30
2026-09-14 14:56:05 +05:30