Files
oak-gpui/crates
Thorsten Ball ace4d5185d settings: Show notification when user/project settings fail to parse (#18122)
Closes #16876

We only ever showed parsing errors, but not if something failed to
deserialize.

Basically, if you had a stray `,` somewhere, we'd show a notification
for user errors, but only squiggly lines if you had a `[]` instead of a
`{}`.

The squiggly lines would only show up when there were schema errors.

In the case of `formatter` settings, for example, if someone put in a
`{}` instead of `[]`, we'd never show anything.

With this change we always show a notification if parsing user or
project settings fails.

(Right now, the error message might still be bad, but that's a separate
change)


Release Notes:

- Added a notification to warn users if their user settings or
project-local settings failed to deserialize.

Demo:


https://github.com/user-attachments/assets/e5c48165-f2f7-4b5c-9c6d-6ea74f678683
2024-09-20 10:53:06 +02:00
..
2024-09-19 07:20:27 -04:00
2024-09-13 13:17:49 -04:00
2024-09-19 07:20:27 -04:00
2024-09-13 13:17:49 -04:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-03-11 10:45:57 +01:00
2024-09-16 12:22:39 -06:00
2024-07-15 17:04:15 -06:00
2024-09-17 15:37:56 -07:00
2024-09-17 14:13:37 -06:00
2024-09-07 19:58:28 -04:00
2024-09-19 07:20:27 -04:00
2024-09-17 11:19:07 -04:00
2024-09-16 08:29:46 -04:00