When deleting repository, trim repo name value #12822

Open
opened 2025-11-02 10:22:08 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @stuzer05 on GitHub (Apr 11, 2024).

Feature Description

image

when copying repo name it casually gets copied with space or tab at the beginning. I suggest to trim repo name input value when checking on back-end for convenience

Screenshots

No response

Originally created by @stuzer05 on GitHub (Apr 11, 2024). ### Feature Description ![image](https://github.com/go-gitea/gitea/assets/23124682/ee2854ef-f460-40b8-a24e-6d749ccd14e0) when copying repo name it casually gets copied with space or tab at the beginning. I suggest to trim repo name input value when checking on back-end for convenience ### Screenshots _No response_
GiteaMirror added the type/proposal label 2025-11-02 10:22:08 -06:00
Author
Owner

@wolfogre commented on GitHub (Apr 12, 2024):

I would say it's not for convenience, or we could simply omit the confirmation to make it more convenient.

I think it's a good idea to request users to check the spaces manually to make them more careful when deleting a repo. (Even though it may not really help)

@wolfogre commented on GitHub (Apr 12, 2024): I would say it's not for convenience, or we could simply omit the confirmation to make it more convenient. I think it's a good idea to request users to check the spaces manually to make them more careful when deleting a repo. (Even though it may not really help)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12822