Michael Telatynski
27d79458da
Remove dead & duplicated code ( #11405 )
...
* Remove dead code
* Make dead code happier
* DRY pickle additional data calculation
* Iterate
2023-08-15 08:43:15 +00:00
Michael Telatynski
f819853cad
Fix autocomplete not resetting properly on message send ( #10741 )
2023-04-28 13:31:02 +00:00
Michael Telatynski
605ef084ec
Conform more of the codebase to strictNullChecks
( #10573 )
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-13 08:52:57 +01:00
Florian Duros
e4dfb21e56
Fix strict strictNullChecks
to src/editor/*
( #10428
...
* Fix strict `strictNullChecks` to `src/editor/*`
* Fix autoComplete creation
* Fix dom regression
* Remove changes
2023-03-23 13:35:55 +00:00
Michael Telatynski
1c9ea423c9
Conform more code to strictNullChecks
( #10374 )
...
* Apply `strictNullChecks` to `src/components/views/room_settings/*`
* Restore tsconfig.json
* Conform more code to `strictNullChecks`
* Iterate
* Update matrix-widget-api
* Conform more code to `strictNullChecks`
2023-03-16 11:07:29 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks ( #10219
...
* Make more code conform to strict null checks
* Fix types
* Fix tests
* Fix remaining test assertions
* Iterate PR
2023-02-24 15:28:40 +00:00
Michael Telatynski
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Michael Telatynski
9743852380
Improve typescript null checking in places ( #10073 ( #10073
...
* Improve typescript null checking in places
* Iterate
* Fix Timer.ts
2023-02-03 15:27:47 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
056c7c8d65
Prevent infinite loops by dropping the input instead of crashing browser ( #7632 )
2022-01-26 10:16:01 +00:00
Michael Telatynski
ddc408690c
Fix EditorModel clone to actually be useful
2021-10-12 11:02:06 +01:00
Michael Telatynski
ebfe38dc4a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-07-15 09:59:40 +01:00
Michael Telatynski
e768ecb3d0
Typescript conversion of Composer components and more
2021-06-30 13:01:26 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Michael Telatynski
1ffbaee560
update style of imports in all modified files
2021-05-26 14:14:55 +01:00
Michael Telatynski
d8acc0612a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/views/rooms/EditMessageComposer.js
src/components/views/rooms/SendMessageComposer.js
2021-05-24 21:57:38 +01:00
Michael Telatynski
28eaac0ef8
remove dead code and fix some types
2021-05-20 22:25:19 +01:00
Šimon Brandner
c1549dfac5
Make optional params optional
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-01 11:32:35 +02:00
Michael Telatynski
5f59e39958
Apply the same to quoting & inserting of emoji then consolidate
2021-04-13 15:09:37 +01:00
Jorik Schellekens
d86eb5eb9e
Lint new new code
2020-07-20 20:48:27 +01:00
Michael Telatynski
ed0d9973b7
Switch to a discriminated unions
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-20 16:33:53 +01:00
Michael Telatynski
2bf5e4b142
clean up
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:49:02 +01:00
Michael Telatynski
8812f98b35
Convert editor to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:45:45 +01:00