Michael Telatynski and GitHub
bbec915fb0
Enable more oxlint rules ( #34189 )
...
* Fix type imports
* Fix jsdoc
* Fixup types
* Fix stray awaits on non-thenables
* Fixup imports
* Fix splats
* Fix this-context on callbacks
* Memoise react contexts
* Prefer find/flatMap
* Make oxlint happier about our React keys
* Avoid unsafe default function params
* Fixup jsdoc
* Fixup contexts
* Switch from eslint to oxlint
* Some oxlint-related tweaks
* Iterate
* Partial revert to defer some changes and shrink diff
* Iterate
* Add eslint-plugin-element-call and enable the copyright rule
* Set strictStorePkgContentCheck
* Iterate
* Enable forwardRef oxlint rule
* Enable no-unused-vars oxlint rule
* Enable no-implied-eval oxlint rule
* Enable no-duplicate-type-constituents oxlint rule
* Enable explicit-length-check oxlint rule
* Enable prefer-number-properties oxlint rule
* Enable no-callback-in-promise oxlint rule
* Enable no-require-imports oxlint rule
* Remove disablement of most unicorn oxlint rules
* Enable no-conditional-tests oxlint rule
* Enable promise-valid-params oxlint rule
* Enable require-unicode-regexp oxlint rule
* Remove max-len comments as we use oxfmt for formatting
* Enable majority of oxlint `suspicious` rules
* Iterate
* Fix oxlint type-aware lint running without dependencies built
2026-07-29 08:26:07 +00:00
Michael Telatynski and GitHub
825fab6595
Remove SpaceStore singleton ( #34088 )
...
* Remove dead code
* Remove LegacyCallHandler singleton
Route via SDKContext to cut import cycles
* Remove SpaceStore singleton
Route via SDKContext to cut import cycles
* Fix tests
* Fix tests
* Fix tests
* Fix tests
* Iterate
* Post-merge fixup
* Iterate
2026-07-13 14:31:39 +00:00
Michael Telatynski and GitHub
4ec8f1edcd
Remove LegacyCallHandler singleton ( #34086 )
...
* Remove dead code
* Remove LegacyCallHandler singleton
Route via SDKContext to cut import cycles
* Remove unused setting
* Fix tests
* Fix tests
* Cascade SDKContext through PersistedElement
* Improve coverage
* Iterate
* Improve coverage
* Improve coverage
2026-07-07 12:29:54 +00:00
Michael Telatynski and GitHub
dc33d736a0
Handle SDKContextClass client initialisation internally ( #34146 )
...
* Handle SDKContextClass `client` initialisation internally
Rather than via MatrixChat - this is predominantly for Lifecycle tests as they don't use a MatrixChat and it doesn't make much sense for this component to own this state.
* Fix tests
2026-07-06 16:09:21 +00:00
David Baker and GitHub
54d27fd59c
Separate out SDKContext ( #34053 )
...
* Separate out SDKContext
...from SDKContextClass, as the comments hopefully explain.
Also make the captitalisation consistent.
* Adding the new file usually helps too
* Fix import
* More comment
* Update the various imports of SDKContextClass
* Also fix case of TestSDKContext
* Update the mock
2026-07-01 12:49:18 +00:00