gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Create Repository should require less user input.

Open BlenderDefender opened this issue 3 years ago • 2 comments

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 avatar Sep 10 '22 10:09 BlenderDefender

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

ghost avatar Sep 10 '22 16:09 ghost

@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.

BlenderDefender avatar Sep 10 '22 16:09 BlenderDefender