Skip to content

Improve quick note editor interactions & fix filter chips responsiveness#989

Merged
MaheshtheDev merged 4 commits into
mainfrom
ishaan/dev4
May 23, 2026
Merged

Improve quick note editor interactions & fix filter chips responsiveness#989
MaheshtheDev merged 4 commits into
mainfrom
ishaan/dev4

Conversation

@ishaanxgupta
Copy link
Copy Markdown
Contributor

On phone, the filter chips now get their own horizontally scrollable row, so All, Notes, Tweets, Web Pages, and any future connection chips can fit without squeezing. The Grid / Timeline segmented control stays grouped on the next row and aligned to the right.

The QuickNoteCard now uses the same TipTap TextEditor as the full-screen note, so typing / should show the slash-command options like headings. It also expands from 120px to 188px when focused or when it has draft content, then collapses again on blur if empty.

I also updated TextEditor so it can be used inline safely: it now supports editable={false} while saving, and it syncs external content resets without constantly resetting the editor while typing.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 22, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app 229b828 Commit Preview URL

Branch Preview URL
May 23 2026, 04:16 PM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 22, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
supermemory-mcp 229b828 May 23 2026, 04:15 PM

@claude
Copy link
Copy Markdown

claude Bot commented May 22, 2026

Claude finished @ishaanxgupta's task in 1m 17s —— View job


Re-review complete

  • Get the updated PR diff
  • Check if previous double-save issue was fixed
  • Post final review summary

Summary: The double-save bug I flagged in the previous review has been fixed. The onKeyDown handler on the expanded modal's motion.div was removed, so Cmd+Enter is now handled solely through TextEditor's internal onSubmit prop. No other issues found — this PR is ready to ship.

Score: 9/10

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Overview: Adds an expandable quick note editor using TipTap and improves filter chips responsiveness on mobile.

Issues found:

  • Potential double-save when pressing Cmd+Enter in the expanded editor (see inline comment)

Score: 8/10

The implementation is solid overall. The masonry key fix correctly handles mobile/desktop item differences, the filter chips layout changes are clean CSS, and the TextEditor refactor properly exposes placeholder and autoFocus props. The z-index bump for slash commands (50→120) correctly ensures they appear above the expanded modal (z-100).

One bug to fix: the onKeyDown handler on the expanded modal's motion.div duplicates the Cmd+Enter handling that TextEditor already does internally, which could cause onSave to fire twice.

Comment thread apps/web/components/quick-note-card.tsx Outdated
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Overview: Adds an expandable quick note editor using TipTap and improves filter chips responsiveness on mobile.

Issues found: None — the double-save bug from the previous review has been fixed. The onKeyDown handler on the expanded modal has been removed, and Cmd+Enter is now handled solely through TextEditor's onSubmit prop.

Score: 9/10

The implementation is solid:

  • Masonry key fix correctly handles mobile/desktop item differences by deriving from masonryItems instead of documents
  • Filter chips layout changes are clean responsive CSS with proper order swapping
  • TextEditor refactor properly exposes placeholder and autoFocus props via createDefaultExtensions()
  • The z-index bump for slash commands (50→120) correctly ensures they appear above the expanded modal (z-100)
  • Modal cleanup (body overflow, event listeners) is properly handled in the useEffect cleanup functions

Ready to ship.

@MaheshtheDev MaheshtheDev merged commit a8d36df into main May 23, 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