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 settings UI to code editor #33434

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

silverwind
Copy link
Member

@silverwind silverwind commented Jan 29, 2025

Related to: #9071

Adds editing controls to the top of the file editor so users can change them on the fly. The defaults come from editorconfig, and the values are not persisted, so they only live on the current page.

Draft because I need to check if we need this for the git hook and git patch editors. Also TODO is setting default options in the template when there is no editorconfig and making sure it does not crash in the template rendering there.

edit

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Jan 29, 2025
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 29, 2025
@github-actions github-actions bot added modifies/translation modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/frontend labels Jan 29, 2025
@silverwind silverwind added the type/feature Completely new functionality. Can only be merged if feature freeze is not active. label Jan 29, 2025
@silverwind silverwind changed the title Add editor settings UI to code editor Add settings UI to code editor Jan 29, 2025
@lunny lunny added this to the 1.24.0 milestone Jan 29, 2025
This reverts commit 1e1175a.
@silverwind silverwind marked this pull request as draft January 29, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/frontend modifies/go Pull requests that update Go code modifies/templates This PR modifies the template files modifies/translation size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/feature Completely new functionality. Can only be merged if feature freeze is not active.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants