Skip to content

feat(web): focused Notion-like brief writing overlay - #220

Merged
AlexsanderHamir merged 1 commit into
compose-brief-task-idefrom
compose-brief-focus
Aug 17, 2026
Merged

AlexsanderHamir merged 1 commit into
compose-brief-task-idefrom
compose-brief-focus

Conversation

@AlexsanderHamir

@AlexsanderHamir AlexsanderHamir commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • PromptFocusFrame expands the compose brief with position: fixed so the same TipTap instance keeps caret and HTML.
  • Overlay chrome is “Editing brief”, word count, Done; Escape closes; grip hides while expanded.
  • inert on compose chrome; --z-prompt-focus: 60 sits under mention/slash popovers.

Test plan

  • Expand opens a dialog; Done and Escape restore focus to Expand.
  • Typing in the editor survives expand/collapse (no remount).
  • Mentions/slash/bubble still appear above the overlay.

Expand/Done keeps the same editor instance via a fixed frame so slash, bubble, and caret survive the overlay.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AlexsanderHamir
AlexsanderHamir merged commit 646a753 into main Aug 17, 2026
1 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant