Skip to content

ENG-1646: Auto-resize content input and 512 char limit in node creation dialog (Roam)#985

Merged
trangdoan982 merged 2 commits intomainfrom
eng-1646-implement-design-for-longer-node-titles-in-node-creation
Apr 28, 2026
Merged

ENG-1646: Auto-resize content input and 512 char limit in node creation dialog (Roam)#985
trangdoan982 merged 2 commits intomainfrom
eng-1646-implement-design-for-longer-node-titles-in-node-creation

Conversation

@trangdoan982
Copy link
Copy Markdown
Member

@trangdoan982 trangdoan982 commented Apr 27, 2026

https://www.loom.com/share/f6f185b35c214125b5f792663dc16fa0

Summary

  • Replaces the single-line InputGroup with a TextArea (growVertically) in the create mode of FuzzySelectInput, so the content field auto-resizes vertically as the user types
  • Adds a 512 character limit (maxLength) with an inline red warning message that appears when the limit is reached

Fixes ENG-1646

Test plan

image
  • Open the node creation dialog and type a short title — field renders at default height
  • Type a long title that wraps — field and dialog grow to accommodate
  • Type 512+ characters — "Character limit reached (512)" warning appears below the field; no additional characters accepted
  • Select an existing node from the fuzzy dropdown — locked state display unchanged
  • Open in edit mode — existing growVertically behavior unchanged

🤖 Generated with Claude Code


Open in Devin Review

…on dialog (Roam)

- Replace InputGroup with TextArea (growVertically) in create mode for auto-resize
- Add 512 character limit with an inline warning message at the limit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented Apr 27, 2026

@supabase
Copy link
Copy Markdown

supabase Bot commented Apr 27, 2026

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

… line

- Add maxLength and limit warning to edit mode textarea
- Reduce min-height from 96px to 2rem so textarea starts at ~1 line and grows naturally

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@trangdoan982 trangdoan982 requested a review from sid597 April 27, 2026 23:23
Copy link
Copy Markdown
Collaborator

@sid597 sid597 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trangdoan982 trangdoan982 merged commit 7c462eb into main Apr 28, 2026
9 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.

2 participants