Skip to content

Conversation

@BrunoV21
Copy link
Owner

@BrunoV21 BrunoV21 commented Nov 7, 2025

📝 Summary

This PR introduces comprehensive pull request management capabilities, including branch selection, diff viewing, AI-powered description generation, and automated PR creation. The implementation spans backend API endpoints, WebSocket integration, and a responsive UI with improved navigation and styling.

✨ Features

  • Added pull request management methods to Git provider fetchers
  • Implemented GitHub branch listing, target branch validation, and PR creation with LLM-generated descriptions
  • Added branch comparison method to fetch diff commits between branches
  • Implemented WebSocket endpoint for PR description generation with dedicated system prompt
  • 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
  • Implemented responsive UI with animations, tooltips, and consistent button styling
  • Added progress indicators for diff fetching and description generation
  • Added state tracking to prevent regeneration of PR descriptions
  • Added responsive mobile layout for button container and options menu
  • Enhanced PR generation with emojis and restructured sections

🐞 Bug Fixes

  • Fixed authentication error preventing GitLab users from logging in
  • Resolved issue with token expiration handling
  • Disabled release mode button when multiple repos selected or non-GitHub host
  • Added tooltips to disabled menu buttons explaining repository selection and GitHub requirements
  • Fixed margin syntax in menu button styles
  • Removed response model constraint and updated diff parsing to use text format
  • Corrected margin spacing in menu button containers

⚙️ Improvements

  • Optimized release notes generation for better performance
  • Improved UI responsiveness across dashboard components
  • Added auto-scroll functionality for PR description updates
  • Implemented branch sorting in branch list and valid target branch responses
  • Consolidated PR mode sections into unified output layout
  • Merged PR generation and creation into single action button
  • Replaced PR validation message with popup notifications
  • Added responsive media queries for PR mode layout
  • Enhanced PR create button styling and layout
  • Refactored options menu animations and responsive behavior

🧹 Refactoring

  • Consolidated PR diff and description sections into existing actions log and summary log areas
  • Separated PR description generation and creation into distinct functions
  • Consolidated output section CSS classes and simplified responsive styling
  • Renamed output-section classes for distinct styling
  • Adjusted button dimensions and padding for consistent visual hierarchy

📚 Documentation

  • Added API documentation for new repository endpoints
  • Updated README with setup instructions for multi-repo support

✅ Tests

  • Added stub methods for branches and pull request operations in test dummy parser

🗒️ Notes

  • Future support for Azure DevOps and GitLab fetchers will be added in subsequent PRs
  • The implementation includes proper error handling and API integration for GitHub
  • The UI has been designed to integrate seamlessly with existing recap and release modes

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 merged commit de3190c into main Nov 7, 2025
5 checks passed
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