Skip to content

Create Repository should require less user input. #21135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BlenderDefender opened this issue Sep 10, 2022 · 2 comments
Open

Create Repository should require less user input. #21135

BlenderDefender opened this issue Sep 10, 2022 · 2 comments
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@BlenderDefender
Copy link
Contributor

Feature Description

As you can see from the screenshot below, creating a repository on Gitea requires 13 user inputs and takes up a lot of space, even though only two inputs are actually necessary.
img

Changing the layout of the "Create repository" page could help a lot here. Here is a mock-up of how the create repository page could look like:
img

What did I do there?

  1. Remove the border around the form to "give the inputs more space"
  2. Split the form into meaningful sections using dividers.
  3. Remove the default branch setting. This should be set in the users preferences and changable in the repo settings
  4. Remove the "Make repository a template" checkmark. I don't have to decide that now, do I?
  5. See annotations in the mock up.

And like that, I was able to bring down the number of inputs from 13 to 10. Imo, it's also much easier to distinguish between inputs that require interaction and inputs that don't, so I can easily ignore all the inputs that I don't need.

Other suggestions related to this feature request are:
#21134
#21132
#21131

Screenshots

No response

@BlenderDefender BlenderDefender added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Sep 10, 2022
@ghost
Copy link

ghost commented Sep 10, 2022

There should be a checkbox to include a LICENCE file, too. Also, you did delete the main branch option.

@BlenderDefender
Copy link
Contributor Author

@CodeKid0 I don't think a checkbox for the LICENSE file would be needed, you can just leave that field empty if you don't want a license added to your project.

@lunny lunny added topic/ui Change the appearance of the Gitea UI and removed type/feature Completely new functionality. Can only be merged if feature freeze is not active. labels Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui Change the appearance of the Gitea UI type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

2 participants