Repository navigation
fix: do not offer to clear an empty composer - #1445
RealBhupesh wants to merge 1 commit into
Conversation
Escape always showed "Press escape again to clear", including when the input and attachments were already empty. Fixes Nano-Collective#1430
No changeset foundThis PR does not add a changeset, so it will not appear in the changelog or trigger a release. If the change is user-facing, add one: pnpm changesetPick a bump (patch / minor / major) and write the changelog entry in our usual voice ("Added X... Thanks to @you. Closes #123."), then commit the generated If this PR is docs-only or a chore that needs no release note, you can ignore this — or run |
nc-review: needs work — 2 blocking, 1 nit@RealBhupesh — there is a blocking item below. The PR correctly gates the composer-clear hint on
🔴 blocking · PR #1437 ( 🔴 blocking · The diff changes user-visible behaviour — pressing Escape on an empty composer no longer surfaces the 'Press escape again to clear' hint — but ---
"@nanocollective/nanocoder": patch
---
Escape no longer offers to clear the composer when the input is empty and no images are attached. Closes #1430⚪ nit · The doc comment frames 🔴 blocking · 🟠 a reviewer would ask for a change · ⚪ optional Automated code review — correctness, security, design, tests, plus duplicates and scope. A human still decides; this is not a substitute for review and is not exhaustive. The required status checks separately cover lint, formatting, types, unused dependencies, the test suite and the build. This bot never merges. Maintainers can rerun with |
|
Hi @RealBhupesh, thanks for this PR! It looks like a maintainer has left feedback Whenever you get a chance, could you take a look at the open comments? |
|
Hi @RealBhupesh, just a heads-up that this PR still has outstanding items If we don't hear back within about a week, we'll close it to keep the queue tidy. |
|
Closing this PR for now since there hasn't been any activity from @RealBhupesh after the earlier heads-up.No worries at all - this isn't a rejection. If you'd like to pick it back up, just push a new commit or leave a comment and reopen it. Thanks for the contribution! |
Fixes #1430.
Escape always showed "Press escape again to clear", even when the composer text and attachments were already empty. The hint is now shown only when there is something to clear.
Test plan
composer-clear.spec.tsMade with Cursor