nexus/ui
Forgotten 95f0d36adc Fix @-mention tab completion cursor positioning
After tab-completing a mention, the cursor was placed before the
completion instead of after it. The root cause: Lexical's DOM
reconciliation after document.execCommand("insertText") would lose
the browser-set cursor position. Added requestAnimationFrame-based
cursor repositioning that first tries the original text node, then
falls back to searching for the mention text in the DOM.

Also normalizes editor content padding for consistent mention dropdown
positioning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 16:07:37 -06:00
..
public Enhance UI: favicon, AgentDetail overhaul, PageTabBar, and config form 2026-02-18 13:02:23 -06:00
src Fix @-mention tab completion cursor positioning 2026-02-20 16:07:37 -06:00
components.json Overhaul UI with shadcn components and new pages 2026-02-17 09:07:32 -06:00
index.html Enhance UI: favicon, AgentDetail overhaul, PageTabBar, and config form 2026-02-18 13:02:23 -06:00
package.json Add MarkdownEditor component, asset image upload, and rich description editing 2026-02-20 12:50:45 -06:00
tsconfig.json Overhaul UI with shadcn components and new pages 2026-02-17 09:07:32 -06:00
vite.config.ts Adopt React Query and live updates across all UI pages 2026-02-17 12:24:48 -06:00
vitest.config.ts Add React UI with Vite 2026-02-16 13:32:04 -06:00