-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Move UI configurations that do not require restarting gitea to take effect to the admin dashboard #33909
base: main
Are you sure you want to change the base?
Conversation
models/migrations/fixtures/Test_MigrateIniToDatabase/system_setting.yml
Outdated
Show resolved
Hide resolved
The old configuration in setting module should be removed to reduce confusion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry but I do not think this change is right.
Most setting options here are "user settings", it should belong to user's preference.
Now the migration is the configuration in the ini file, these configurations currently belong to the global configuration, not the user preferences, you mentioned the user preferences configuration we will implement in the next pr, what do you think? |
If there is a widely-known roadmap, then we can "implement it in the next pr". For this feature, at least it is not clear to me what's your plan. What the final solution look like?
|
no, I think they are performance related config options for web service, They will directly affect the performance overhead of the server. so it should not be configable for all users. |
Are you sure they should not be configurable for users? For example, not only one user mentions that they want to customize the default sort option like EXPLORE_PAGING_DEFAULT_SORT. See the comment above: #33909 (comment) : clarify the config options first. |
The database query is fast enough and I don't think we need to worry about it will impact performance. The user level configuration could be another PR since this one's task is moving them to database so that a global change will not require restart Gitea instance. |
If the paging size is freely configurable by the user, it will greatly affect the performance of the server. |
replace: #33740