Skip to content

Refactor PR details dialog#19

Open
ponbac wants to merge 4 commits intomasterfrom
feature/refactor-pr-details
Open

Refactor PR details dialog#19
ponbac wants to merge 4 commits intomasterfrom
feature/refactor-pr-details

Conversation

@ponbac
Copy link
Owner

@ponbac ponbac commented Jan 7, 2025

This PR refactors the PR details dialog to better handle multiple Milltime projects.

Changes

  • Extract PR details dialog to separate component
  • Extract timer selection form to separate component
  • Update PR details to show only connected Milltime projects
  • Add warning message when no projects are connected

- Add milltime_project_id column to repositories table
- Add endpoint to update Milltime project ID for a repository
- Add Milltime project selection to repository card
- Modify Review/Develop buttons to show project/activity selection and start timer
- Add repository_milltime_projects table for many-to-many relationship
- Update repository model to include multiple project IDs
- Update repository card to show checkboxes for project selection
- Update PR details to show only connected projects in dropdown
- Extract PR details dialog to separate component
- Extract timer selection form to separate component
- Update PR details to show only connected Milltime projects
@vercel
Copy link

vercel bot commented Jan 7, 2025

@openhands-agent is attempting to deploy a commit to the ponbac's projects team on Vercel, but is not a member of this team. To resolve this issue, you can:

  • Make your repository public. Collaboration is free for open source and public repositories.
  • Add @openhands-agent as a member. A Pro subscription is required to access Vercel's collaborative features.
    • If you're the owner of the team, click here and add @openhands-agent as a member.
    • If you're the user who initiated this build request, click here to request access.
    • If you're already a member of the ponbac's projects team, make sure that your Vercel account is connected to your GitHub account.

To read more about collaboration on Vercel, click here.

@vercel
Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
toki2 ❌ Failed (Inspect) Jan 7, 2025 5:36pm

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