feat: Add Clear Text Eraser Button to Call page TTS Composer - #1161
Conversation
|
@Kritika200520 is attempting to deploy a commit to the itzzavdhesh's projects Team on Vercel. A member of the Team first needs to authorize it. |
✍️ DCO Sign-off NeededHey @Kritika200520! 👋 One or more commits in this PR are missing a Warning
How to fix: For the latest commit: git commit --amend --signoff
git push --force-with-leaseFor multiple commits, replace git rebase --signoff HEAD~N
git push --force-with-leaseThis comment will update automatically after you push. 🤖 VoiceForge Automation · Updates automatically on edits |
🎉 PR Ready for Mentor ReviewHey @Kritika200520! 👋 Your PR passed all checks and is now in the GSSoC review queue. Note 🔗 Closing: #407 · 📐 24 lines across 1 file(s) · 📬 Already requested or no eligible reviewer found @sabeenaviklar @Anushreebasics @itsdakshjain @snehkris @Mrigakshi-Rathore @Itzzavdheshh @Nitya-003 @4f4d @lovestaco, this PR is ready for your review — please confirm scope, check behavior and tests, then approve or request changes. Important This is not an approval. Please wait for mentor feedback before expecting a merge. If changes are requested, push them to this same branch and keep the PR focused on the linked issue. 🤖 VoiceForge Automation · Updates automatically on edits |
|
Warning Review limit reached
Next review available in: 49 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe ChangesText composer controls
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@client/src/components/TextToSpeech.jsx`:
- Around line 140-146: Update the Clear text button’s disabled condition in
TextToSpeech to include the component’s disabled prop alongside the empty-text
check, ensuring it is inactive whenever the composer is disabled or has no text.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 276204d1-cf3e-4b3c-a557-e0857ac15a56
📒 Files selected for processing (1)
client/src/components/TextToSpeech.jsx
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
itsdakshjain
left a comment
There was a problem hiding this comment.
Good work, just one note both cubic and coderabit pointing a minor change for control consistency.
Rest lgtm
❌ Merge Policy ViolationCaution Unauthorized Merge — Pull request #1161 was merged by @Itzzavdheshh (mentor) without any review on record. VoiceForge guidelines require contributors/mentors to submit at least one review (approval, comment, or changes requested) before merging a pull request to ensure code quality and point-tracking integrity. 📊 Violation Summary
🤖 VoiceForge Automation |
🎊 PR Merged SuccessfullyHey @Kritika200520! 👋 Congratulations and thank you for your contribution to VoiceForge! Note 🔗 Linked issue(s): #407 · ✅ Marked as merged and complete Maintainers may still handle final cleanup, release notes, or follow-up tracking after the merge. 🤖 VoiceForge Automation · Updates automatically on edits |
🚀 Program
GSSoC
📝 Description
Adds a "Clear" / Eraser button to the inline
TextToSpeechcomposer on the Call page. This allows users to clear the text entry area with a single click, creating a consistent and user-friendly experience across both the Call and Compose pages.🔗 Related Issue
Closes #407
🔄 Type of Change
🧪 How to Test
TextToSpeechcomposer is rendered.0 / 300, and the button disables itself✅ Checklist
feat: Add "Clear Text" Eraser Button to Call page TTS Composer)Summary by cubic
Adds a Clear button to the Call page TTS composer to wipe the textarea in one click. Previously users deleted text manually; now the button clears text, resets the 0/300 counter, and is disabled when empty for parity with the Compose page.
Erasericon fromlucide-react, plus aria-label and title for accessibility.Written for commit 78cd867. Summary will update on new commits.
Summary by CodeRabbit