settings ui: Add basic setting page fields to UI (#39343)

This PR starts the process of adding each setting field manually to
their respective page in the UI and organizes user/project fields as
well. The next major step is implementing a numeric stepper component,
and handling discriminate union enums as well.

I also did some minor polish in this PR as well
- Switches now use accent color
- Fixed text input rendering with zero width 
- Made setting pages scrollable 
- Set drop down context menu style to outline

Release Notes:

- N/A

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
This commit is contained in:
Anthony Eid
2025-10-02 09:04:02 +00:00
committed by GitHub
co-authored by dino
parent f17096879c
commit ec202a26c8
9 changed files with 2822 additions and 85 deletions
+2
View File
@@ -49,6 +49,8 @@ impl RenderOnce for SettingsEditor {
if let Some(placeholder) = self.placeholder {
editor.set_placeholder_text(placeholder, window, cx);
}
// todo(settings_ui): We should have an observe global use for settings store
// so whenever a settings file is updated, the settings ui updates too
editor
}
});
File diff suppressed because it is too large Load Diff