Files
oak-gpui/crates
Ben KunkleandConrad 2ce0641fe0 settings_ui: Handle enums with fields (#37945)
Closes #ISSUE

Adds handling for Enums with fields (i.e. not `enum Foo { Yes, No }`) in
Settings UI. Accomplished by creating default values for each element
with fields (in the derive macro), and rendering a toggle button group
with a button for each variant where switching the active variant sets
the value in the settings JSON to the default for the new active
variant.

Release Notes:

- N/A *or* Added/Fixed/Improved ...

---------

Co-authored-by: Conrad <conrad@zed.dev>
2025-09-10 18:02:08 -04:00
..
2025-08-13 13:25:52 -06:00
2025-09-10 22:48:33 +02:00
2025-09-08 21:53:17 -06:00
2025-09-10 22:48:33 +02:00
2025-09-08 21:53:17 -06:00
2025-09-08 21:53:17 -06:00
2025-09-10 13:22:54 -07:00
2025-09-03 22:10:14 +00:00
2025-09-06 00:27:14 +02:00
2025-09-10 22:48:33 +02:00
2025-08-19 20:33:44 +00:00
2025-09-10 22:48:33 +02:00
2025-07-17 14:25:55 +00:00
2025-09-08 21:53:17 -06:00
2025-09-09 20:08:05 +00:00
2025-09-08 14:19:41 -04:00
2025-09-10 16:13:41 -04:00
2025-09-08 21:53:17 -06:00
2025-09-10 22:48:33 +02:00