Skip to content

Conversation

@BrunoV21
Copy link
Owner

@BrunoV21 BrunoV21 commented Nov 6, 2025

Summary

This pull request introduces comprehensive pull request management capabilities, including branch selection, diff viewing, AI-generated descriptions, and PR creation. The changes include backend API support, frontend UI improvements, and responsive design enhancements across all platforms.

Features

  • Added pull request management methods to Git provider fetchers
  • Implemented API endpoints for branch listing, target branch validation, and pull request creation
  • Added branch comparison method to fetch diff commits between branches
  • Implemented WebSocket endpoint for AI-generated pull request descriptions
  • Added pull request generation feature with branch selection and automated PR creation
  • Added dropdown menu for release notes and PR creation with improved navigation flow
  • Added tooltips to disabled menu buttons explaining repository selection and GitHub requirements
  • Added progress indicators for diff fetching and description generation
  • Added state tracking to prevent regeneration of PR descriptions after successful generation
  • Added responsive mobile layout for button container and options menu with vertical stacking and spacing adjustments

Bug Fixes

  • Fixed margin syntax in menu button styles
  • Disabled release mode button when multiple repos selected or non-GitHub host
  • Removed response model constraint and updated diff parsing to use text format instead of commit objects

Improvements

  • Consolidated PR mode sections into unified output layout
  • Adjusted PR mode layout to horizontal inline design with reduced button heights and improved spacing
  • Standardized button sizing and layout for recap controls
  • Removed unused recap-main-btn CSS class definition
  • Updated PR generate button styling for consistent sizing and disabled state appearance
  • Merged PR generation and creation into single action button
  • Replaced PR validation message with popup notifications for creation success and errors
  • Added auto-scroll to summary section when PR generation starts
  • Added branch sorting to list and valid target branch responses
  • Separated PR description generation and creation into distinct functions
  • Added responsive media queries for PR mode layout across mobile, tablet, and desktop breakpoints
  • Adjusted PR create button width from 70vw to 40vw
  • Increased max-width of PR creation section from 700px to 1000px
  • Refactored options menu animations and responsive behavior for mobile and desktop screens
  • Renamed output-section classes to output-section-0 and output-section-1 for distinct styling and added mobile margin-top to output-section-0
  • Consolidated output section CSS classes and simplified responsive styling

Notes

Please verify all tests pass before merging. Pay special attention to the new API endpoints and the responsive UI behavior across different screen sizes.

BrunoV21 and others added 30 commits October 7, 2025 12:34
This change introduces three new abstract methods to the base fetcher class for managing branches and pull requests: `get_branches()`, `get_valid_target_branches()`, and `create_pull_request()`. The GitHub fetcher now includes full implementations with proper error handling, API integration, and support for reviewers, assignees, and labels. Azure DevOps, GitLab, and URL fetchers include stub implementations that raise NotImplementedError with clear messages indicating future support. Comprehensive unit tests validate the GitHub implementation's behavior for successful operations, error scenarios, and API failures.
… branch validation, and pull request creation with LLM-generated descriptions, including supporting schema models and service utilities.
… WebSocket endpoint with dedicated system prompt
…ed PR creation

Implemented a new PR mode that allows users to select source and target branches, view commit diffs, generate AI-powered pull request descriptions via WebSocket streaming, and automatically create pull requests on GitHub. The feature includes comprehensive validation, loading states, error handling, and a responsive UI that integrates seamlessly with the existing recap and release modes.
This commit adjusts button dimensions and padding across recap action buttons and menu options for consistent visual hierarchy and fixed sizing
This commit merges the separate PR diff and description sections into the existing actions log and summary log areas, conditionally rendering content based on mode
This commit introduces automatic sorting of branches in BranchListResponse and ValidTargetBranchesResponse schemas, prioritizing main/master branches at the top followed by alphabetically sorted remaining branches
@BrunoV21 BrunoV21 closed this Nov 7, 2025
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