Skip to content
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

Add Description Field for Secrets and Variables #33484

Open
John-jk opened this issue Feb 3, 2025 · 4 comments
Open

Add Description Field for Secrets and Variables #33484

John-jk opened this issue Feb 3, 2025 · 4 comments
Labels
proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@John-jk
Copy link

John-jk commented Feb 3, 2025

Feature Description

Currently, Gitea does not provide a field for adding descriptions to secrets and variables in the repository settings. This makes it difficult for users to understand the purpose of a specific secret or variable, especially in larger projects with multiple contributors.
Thank you for considering this feature request!

Screenshots

No response

@John-jk John-jk added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Feb 3, 2025
@lunny lunny added the proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. label Feb 3, 2025
@LaoQi
Copy link
Contributor

LaoQi commented Feb 6, 2025

I've added a basic description feature. For secrets, it works by replacing the ***** section and seems okay so far. But for variables, replacing the original values seems not well. Any other ideas?

Image

Image

@lunny
Copy link
Member

lunny commented Feb 6, 2025

Maybe always put 3 lines, secrets could put **** and variables put <value>.

@John-jk
Copy link
Author

John-jk commented Feb 6, 2025

How about this? If there is a description, the icon appears, if not, there is no icon. There will be fewer extra lines and they will all have the same height.

Image

@LaoQi
Copy link
Contributor

LaoQi commented Feb 6, 2025

I will try a 3 line layout first, using tips doesn't feel intuitive enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal/accepted We have reviewed the proposal and agree that it should be implemented like that/at all. 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

3 participants