ZIm/crates/settings_ui
Finn Evers 41085f8f55
settings_ui: Inform about keybind conflicts in modal (#34205)
This PR updates the keybinding editor modal so that conflicts are
already shown in the modal itself. Notably, this does not add validation
on every keystroke, the update still has to be confirmed. However, if
only a warning is present, on the second confirm the keybind will
actually be updated.

The change also includes a slight update to the displayment of errors,
since we now differentiate between errors and warnings.

| Error | Warning | 
| --- | --- |
| <img width="543" height="332" alt="warning_keybind"
src="https://github.com/user-attachments/assets/867319be-eeb9-40d7-bf32-fbd44aacf0b5"
/> | <img width="543" height="310" alt="error_keybind"
src="https://github.com/user-attachments/assets/858a6c7c-8c9a-4a90-95af-a5103125676f"
/> |


Release Notes:

- N/A
2025-07-10 15:51:36 -05:00
..
src settings_ui: Inform about keybind conflicts in modal (#34205) 2025-07-10 15:51:36 -05:00
Cargo.toml keymap_ui: Syntax highlight context (#33864) 2025-07-03 13:26:35 -04:00
LICENSE-GPL settings_ui: Add placeholder view (#15019) 2024-07-23 12:50:11 -04:00