Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Summary

Adds quick actions to bulk manage pending reviews near ChatInput:

  • Clear all reviews: Remove all attached reviews from current chat message (shown when 2+ reviews attached)
  • Attach all to chat: Attach all pending reviews at once from ReviewsBanner (shown when 2+ pending)

Changes

  • useReviews hook: Added attachAllPending() and detachAllAttached() methods
  • ChatInput: Added header with count and 'Clear all' button above attached reviews
  • ReviewsBanner: Added 'Attach all to chat' button in pending section header
  • AIView: Wired up the new onDetachAllReviews prop

Generated with mux

- Add attachAllPending() and detachAllAttached() to useReviews hook
- Add 'Clear all' button in ChatInput when 2+ reviews attached
- Add 'Attach all to chat' button in ReviewsBanner when 2+ pending
- Wire up onDetachAllReviews prop through AIView

_Generated with mux_
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@ammar-agent ammar-agent force-pushed the pending-reviews-ui-update branch 2 times, most recently from fd453d0 to c0122ce Compare December 9, 2025 15:29
- Add story showing attached reviews with 'Clear all' button in ChatInput
- Add story showing pending reviews with 'Attach all to chat' in banner
- Update createReview helper to support 'attached' status

_Generated with mux_
@ammar-agent ammar-agent force-pushed the pending-reviews-ui-update branch from c0122ce to 49b6c06 Compare December 9, 2025 16:28
@ammario ammario merged commit e889d20 into main Dec 9, 2025
18 of 20 checks passed
@ammario ammario deleted the pending-reviews-ui-update branch December 9, 2025 17:20
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