Remove PR creation metadata restrictions #6780

Open
opened 2025-11-02 07:06:25 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @delvh on GitHub (Jan 28, 2021).

  • Gitea version (or commit ref): 1.14.0+dev-626-ga7cfb9f2c
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes - open any PR.

Description

Currently when opening any PR, the user only has the option to set the milestone,labels and assignees.
He does not have the opportunity to set all other metadata in the creation dialog.
Instead, he has to manually add it after the PR has been created, risking that he simply forgets it (happened to me more than once).
So, what I'm asking for is to give the user also during the creation the ability to add the other metadata
(namely Reviewers, Projects,Due date and Dependencies) - any data not mentioned here
(especially Participants, Notifications and Lock conversation - maybe even Time Tracker) is most likely irrevelant during the creation of a normal PR and can be ignored in the creation dialog.
...

Screenshots

Current sidebar appearance when creating a PR:

image

Current sidebar appearance after having created the PR:

image

Expected sidebar appearance during PR creation:

image

Originally created by @delvh on GitHub (Jan 28, 2021). - Gitea version (or commit ref): 1.14.0+dev-626-ga7cfb9f2c - Can you reproduce the bug at https://try.gitea.io: - Yes - open any PR. ## Description Currently when opening any PR, the user only has the option to set the `milestone`,`labels` and `assignees`. He does not have the opportunity to set all other metadata in the creation dialog. Instead, he has to manually add it after the PR has been created, risking that he simply forgets it (happened to me more than once). So, what I'm asking for is to give the user also during the creation the ability to add the other metadata (namely `Reviewers`, `Projects`,`Due date` and `Dependencies`) - any data not mentioned here (especially `Participants`, `Notifications` and `Lock conversation` - maybe even `Time Tracker`) is most likely irrevelant during the creation of a normal PR and can be ignored in the creation dialog. ... ## Screenshots ### Current sidebar appearance when creating a PR: ![image](https://user-images.githubusercontent.com/51889757/106124762-bd40f080-615b-11eb-9408-a7dfea6205e9.png) ### Current sidebar appearance after having created the PR: ![image](https://user-images.githubusercontent.com/51889757/106125070-03964f80-615c-11eb-8732-583f56893d22.png) ### Expected sidebar appearance during PR creation: ![image](https://user-images.githubusercontent.com/51889757/106126851-32adc080-615e-11eb-87e4-577c328ee8bb.png)
GiteaMirror added the type/enhancementtopic/ui-interaction labels 2025-11-02 07:06:25 -06:00
Author
Owner

@delvh commented on GitHub (Jan 28, 2021):

After some digging, I found out that the responsible file for that should be this file.
However, my current knowledge of that file is limited, so for now I'll be unable to fix it.

@delvh commented on GitHub (Jan 28, 2021): After some digging, I found out that the responsible file for that should be [this file](https://github.com/go-gitea/gitea/blob/master/templates/repo/issue/view_content/sidebar.tmpl). However, my current knowledge of that file is limited, so for now I'll be unable to fix it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6780