fix(ui): improve picker deletion, ESC cancel, and SHIFT+ENTER path handling#171
Conversation
|
Code Review please |
|
Code review for PR #171 (picker deletion + ESC cancel + Shift+Enter path behavior) I pulled the diff locally and focused on:
What looks solid
Potential issues / regressions to watch
Verification note
If you want one concrete change recommendation: I’d tighten -- |
|
Raise PR with fixes |
|
I understand “Raise PR with fixes” as: apply the review fixes (primarily tightening One clarification before I publish anything (to avoid targeting the wrong base):
Once you confirm the target, I’ll implement the minimal change and open/push accordingly. -- |
|
Review changes between this PR branch and dev. |
|
Done. What I understood from the latest request
What I did
Important note
Fix PR raised If you’d rather not take a follow-up PR, you can cherry-pick -- |
5d3b1e1 to
0111a3e
Compare
|
I have fixed the issue that bot noticed in regards to attaching emails and have fixed the non-displaying of chips when attaching files/directories via SHIFT+ENTER and also other issues. All tested manually using protocol below: SummaryFixes multiple issues discovered during manual testing of the directory mentions & navigation feature (Issue #136):
Changes
|
|
Can you re-review the PR with latest changes. |
|
Re-reviewing PR #171 with latest head What improved since the earlier version
High-risk / likely incorrect behavior still present
Edge cases to double-check (these look broken with the current implementation)
Suggestion (minimal + safe)
If you want, I can propose a concrete replacement strategy (regex escaping + longest-match-first) but I’m not changing code unless asked. -- |
Last Commit:
|
|
Please code review with latest changes. |
|
Re-review (latest PR head What I understood the request to be
What looks fixed (vs my previous review)
Things I’d still sanity-check / minor edge cases
Net: the biggest correctness concern from the previous review (stripping -- |
…d message display
4b967d1 to
95c7479
Compare
|
Review complete changes of the PR. Focus on
|
|
Full re-review of PR #171 head What I reviewed
Code Quality (overall)
High / critical issues to address before merge
Notable functional edge cases (medium)
Minor / code cleanliness
Net assessment
-- |
9d3da17 to
1794b10
Compare
1794b10 to
b31135f
Compare
|
Done! All tests passed. Commit:
|
Minor Fixes Applied - Commit
|
|
Review complete changes of the PR. Focus on Code Quality Please provide your approval |
|
Full PR review (latest head What I understood the request to be
Code Quality
High / critical issues (blocking approval)
Non-blocking issues / follow-ups
Approval
-- |
|
Tested manually and it works as expected. Thanks @VooDisss |
Summary
Fixes three issues discovered during manual testing of the directory mentions & navigation feature (Issue #136):
Also improves SHIFT+ENTER behavior to keep @ in prompt for easy deletion while stripping it when sending to API.
Changes
unified-picker.tsxusePromptKeyDown.tsusePromptPicker.tsprompt-placeholders.tsManual Testing Protocol - ALL PASSED ✓
Section 1: TAB Key Behavior
Section 2: ENTER Key Behavior
Section 3: SHIFT+ENTER Key Behavior
Section 4: ESC Key Behavior
Section 5: Deletion of Attached Tokens
Section 6: Ghost State / Picker Reset
Section 7: Multiple Attachments
Section 8: Click Behavior
All manual tests passed. Ready for review.