Skip to content

Request: a beginner-friendly branching method, new branch goes on fork #20882

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
wolftune opened this issue Aug 21, 2022 · 0 comments
Open
Labels
topic/ui-interaction Change the process how users use Gitea instead of the visual appearance 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.

Comments

@wolftune
Copy link

wolftune commented Aug 21, 2022

Feature Description

In #20880, I described the problem with keeping a fork's main branch updated to the origin's main within the Web UI.

Here is an alternative or complementary (and potentially superior) design:

  • Allow a non-team-member to edit files from a repository
    • currently the edit function is just greyed out
  • When they are making their commit, only offer the option of committing on their fork (making a fork if it doesn't exist yet)
  • Default to making it on a branch with a new name (not to main)
  • Offer the option of opening a pull-request from their fork/branch to the origin/main

Put another way: instead of blocking users from editing directly on projects where they don't have permission to open branches, the user experience should be this: while the user is looking at a project, just let them edit and automatically make the edit go to a new branch on their fork (prompting them to confirm the creation of a fork if none was yet made).

@wolftune wolftune 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 Aug 21, 2022
@noerw noerw added the topic/ui-interaction Change the process how users use Gitea instead of the visual appearance label Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/ui-interaction Change the process how users use Gitea instead of the visual appearance 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.
Projects
None yet
Development

No branches or pull requests

2 participants