element-web/src/editor
Eric Eastwood ff1468b6d3
Replace `newTranslatableError` with `UserFriendlyError` (#10440
* Introduce UserFriendlyError

* Replace newTranslatableError with UserFriendlyError

* Remove ITranslatableError

* Fix up some strict lints

* Document when we/why we can remove

* Update matrix-web-i18n

Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6

* Include room ID in error

* Translate fallback error

* Translate better

* Update i18n strings

* Better re-use

* Minor comment fixes
2023-03-31 08:30:43 +01:00
..
autocomplete.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
caret.ts Improve typescript null checking in places (#10073 (#10073 2023-02-03 15:27:47 +00:00
commands.tsx Replace `newTranslatableError` with `UserFriendlyError` (#10440 2023-03-31 08:30:43 +01:00
deserialize.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
diff.ts Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
dom.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
history.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
model.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
offset.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
operations.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
parts.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
position.ts Improve typescript null checking in places (#10073 (#10073 2023-02-03 15:27:47 +00:00
range.ts Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
render.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
serialize.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00