settings: Show error notification when settings are invalid (#15905)
https://github.com/user-attachments/assets/07627142-e730-4446-a50b-7ef46f8e661c We want to improve the design in the future, but it fixes a long standing paper cut for now. Release Notes: - Added a popup that is displayed when the settings are invalid --------- Co-authored-by: Thorsten <thorsten@zed.dev>
This commit is contained in:
parent
94028290cc
commit
efbf7ada28
4 changed files with 42 additions and 9 deletions
|
@ -3096,7 +3096,7 @@ mod tests {
|
|||
app_state.fs.clone(),
|
||||
PathBuf::from("/keymap.json"),
|
||||
);
|
||||
handle_settings_file_changes(settings_rx, cx);
|
||||
handle_settings_file_changes(settings_rx, cx, |_, _| {});
|
||||
handle_keymap_file_changes(keymap_rx, cx);
|
||||
});
|
||||
workspace
|
||||
|
@ -3236,7 +3236,7 @@ mod tests {
|
|||
PathBuf::from("/keymap.json"),
|
||||
);
|
||||
|
||||
handle_settings_file_changes(settings_rx, cx);
|
||||
handle_settings_file_changes(settings_rx, cx, |_, _| {});
|
||||
handle_keymap_file_changes(keymap_rx, cx);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue