Skip to content

Fix mobile empty-editor layout + hint copy on touch devices (0.9.2) - #8

Draft
Digidai wants to merge 1 commit into
mainfrom
cursor/mobile-empty-editor-3b06
Draft

Fix mobile empty-editor layout + hint copy on touch devices (0.9.2)#8
Digidai wants to merge 1 commit into
mainfrom
cursor/mobile-empty-editor-3b06

Conversation

@Digidai

@Digidai Digidai commented Aug 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • remove the mobile empty-editor height clamp (clamp(320px, 56dvh, 520px)) and make the editor sheet fill the available viewport height under the top bar
  • stop reserving full completion-bar space on mobile when no ghost suggestion is visible; keep the larger bottom gap only when .completion-visible is active
  • make mobile hint copy context-aware: empty/no-ghost state no longer mentions Accept, while ghost-visible state still does
  • bump version metadata to 0.9.2 (package.json, package-lock.json, src/version.js) and add changelog entry
  • add targeted regression tests covering:
    • mobile hint text rules for empty vs ghost-visible states
    • completion bar visibility guard still requiring state.ghost
    • mobile CSS viewport fill + conditional bottom spacing and desktop A4 min-height guard

Validation

  • npm test
  • npm run check
Open in Web Open in Cursor 

Co-authored-by: Gene Dai <Digidai@users.noreply.github.com>
@cursor
cursor Bot deleted the cursor/mobile-empty-editor-3b06 branch August 17, 2026 00:14
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.

2 participants