Skip to content

fix(web): stop the note node resize handle from covering its textarea - #18969

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
dcc123456:fix/agent-note-node-resize-handle
Aug 28, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
dcc123456:fix/agent-note-node-resize-handle

Conversation

@dcc123456

Copy link
Copy Markdown
Collaborator

Summary

The 14px resize icon sat on top of the textarea's bottom-right corner, hiding text and making the last line hard to click. Shrink the icon to 10px and give the text field bottom padding so the handle has room of its own.

The 14px resize icon sat on top of the textarea's bottom-right corner, hiding
text and making the last line hard to click. Shrink the icon to 10px and give
the text field bottom padding so the handle has room of its own.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. 🧰 typescript Pull requests that update Typescript code labels Aug 28, 2026
@coderabbitai

coderabbitai Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5d017c90-ac9a-4dbf-a68f-18a142724cee

📥 Commits

Reviewing files that changed from the base of the PR and between 1d4a86e and 501c301.

📒 Files selected for processing (2)
  • web/src/pages/agent/canvas/node/note-node/index.tsx
  • web/src/pages/agent/canvas/node/resize-icon.tsx

Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

The changes update two canvas node visuals: the note text field gains bottom padding, and the resize icon changes from 14×14 to 10×10 pixels.

Changes

Canvas visual adjustments

Layer / File(s) Summary
Note spacing and resize icon styling
web/src/pages/agent/canvas/node/note-node/index.tsx, web/src/pages/agent/canvas/node/resize-icon.tsx
The note text FormItem adds pb-2 padding. The ResizeIcon SVG dimensions change from 14 to 10 pixels.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 501c3

This localized UI change reduces the resize handle size and adds textarea spacing to prevent the handle from covering note text. No actionable merge-blocking risk remains beyond normal checks and review.

Poem

A rabbit pads the note below
A smaller handle starts to glow
Two tiny changes shape the view
The canvas gains a cleaner cue
Hop, hop, the styling work is through

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly describes the main change: it prevents the note node resize handle from covering the textarea.
Description check ✅ Passed The description includes the required Summary section and clearly explains the problem and the implemented fix.
  • Fix all pre-merge checks with AI

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dcc123456
dcc123456 requested a review from wangq8 August 28, 2026 07:47
@dcc123456 dcc123456 added the ci Continue Integration label Aug 28, 2026
@dcc123456
dcc123456 marked this pull request as draft August 28, 2026 07:47
@dcc123456
dcc123456 marked this pull request as ready for review August 28, 2026 07:47
@dcc123456
dcc123456 marked this pull request as draft August 28, 2026 07:47
@dcc123456
dcc123456 marked this pull request as ready for review August 28, 2026 07:47

@wangq8 wangq8 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is an AI review comment.

LGTM. Shrinking the resize icon from 14px to 10px and adding bottom padding (pb-2) to the note node's FormItem gives the handle its own space instead of overlapping the textarea's last line. Straightforward presentational change, no regressions.

This is an AI review comment.

@wangq8
wangq8 merged commit 58d01a2 into infiniflow:main Aug 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files. 🧰 typescript Pull requests that update Typescript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants