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 option to set the default unit (code/issues/wiki/...) via repo settings #32361

Open
6543 opened this issue Oct 28, 2024 · 5 comments · May be fixed by #32363
Open

Add option to set the default unit (code/issues/wiki/...) via repo settings #32361

6543 opened this issue Oct 28, 2024 · 5 comments · May be fixed by #32363
Labels
topic/ui Change the appearance of the Gitea UI type/enhancement An improvement of existing functionality

Comments

@6543
Copy link
Member

6543 commented Oct 28, 2024

sometimes you have a repo that is mainly for e.g. wiki

so on opening a link to the repo the default i the code repo and if diabled omething that come next ... (the order i not clear in term of UX either)

@6543 6543 added type/enhancement An improvement of existing functionality topic/ui Change the appearance of the Gitea UI labels Oct 28, 2024
@lunny
Copy link
Member

lunny commented Oct 28, 2024

@6543
Copy link
Member Author

6543 commented Oct 28, 2024

no that's a global config.

It would be good to have this changeable per repo.

@6543 6543 linked a pull request Oct 28, 2024 that will close this issue
5 tasks
@6543
Copy link
Member Author

6543 commented Oct 28, 2024

@lunny use #32363 and set Default Unit to 5 on a test repo ...

I'll finish the pull ... soon ish

@lunny
Copy link
Member

lunny commented Oct 29, 2024

Maybe you mean the sequence of different units in a repository? Those should be stored in repo_unit table.

@6543
Copy link
Member Author

6543 commented Oct 29, 2024

no see the pull I mean on opening an repo link, explizite specify the unit that should show up.

If you still have code enabled the first unit will alsways be code ... the referenced pull makes it so it can be changed

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/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants