element-web/res
David Baker 42f8247c2e
Experimental Module API Additions (#30863)
* Module API experiments

* Move ResizerNotifier into SDKContext

so we don't have to pass it into RoomView

* Add the MultiRoomViewStore

* Make RoomViewStore able to take a roomId prop

* Different interface to add space panel items

A bit less flexible but probably simpler and will help keep things
actually consistent rather than just allowing modules to stick any
JSX into the space panel (which means they also have to worry about
styling if they *do* want it to be consistent).

* Allow space panel items to be updated

and manage which one is selected, allowing module "spaces" to be
considered spaces

* Remove fetchRoomFn from SpaceNotificationStore

which didn't really seem to have any point as it was only called from
one place

* Switch to using module api via .instance

* Fairly awful workaround

to actually break the dependency nightmare

* Add test for multiroomviewstore

* add test

* Make room names deterministic

So the tests don't fail if you add other tests or run them individually

* Add test for builtinsapi

* Update module api

* RVS is not needed as prop anymore

Since it's passed through context

* Add roomId to prop

* Remove RoomViewStore from state

This is now accessed through class field

* Fix test

* No need to pass RVS from LoggedInView

* Add RoomContextType

* Implement new builtins api

* Add tests

* Fix import

* Fix circular dependency issue

* Fix import

* Add more tests

* Improve comment

* room-id is optional

* Update license

* Add implementation for AccountDataApi

* Add implementation for Room

* Add implementation for ClientApi

* Create ClientApi in Api.ts

* Write tests

* Use nullish coalescing assignment

* Implement openRoom in NavigationApi

* Write tests

* Add implementation for StoresApi

* Write tests

* Fix circular dependency

* Add comments in lieu of type

and fix else block

* Change to class field

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2025-11-05 07:24:26 +00:00
..
.well-known Add static file .well-known/assetlinks.json, to allow Android applications Element and Element X running on Android 12 and higher to open external links. 2024-05-07 12:12:01 +02:00
css Experimental Module API Additions (#30863) 2025-11-05 07:24:26 +00:00
decoder-ring Update dependency prettier to v3 (#26815) 2024-01-02 17:53:39 +00:00
fonts Revert "Update to Twemoji 16 (#29735)" (#29748) 2025-04-15 08:41:04 +00:00
img Add loading state to the new room list view (#29725) 2025-05-02 13:12:00 +00:00
media Add files via upload (#30804) 2025-09-22 12:56:13 +00:00
themes Allow jumping to message search from spotlight (#29850) 2025-04-30 11:23:35 +00:00
vector-icons Simplify favicons and other web icons (#31000) 2025-10-14 13:08:52 +00:00
welcome/images Allow welcome.html logo to be replaced by config (#25339) 2023-05-12 09:44:47 +01:00
apple-app-site-association Remove the Apple site association for Element X PR (#29968) 2025-05-15 11:51:44 +00:00
jitsi_external_api.min.js [create-pull-request] automated change (#28119) 2024-10-31 13:56:41 +00:00
jitsi_external_api.min.js.LICENSE.txt Add license and copy it into bundle while making terser ignore the SDK 2023-11-22 21:04:39 +01:00
manifest.json Simplify favicons and other web icons (#31000) 2025-10-14 13:08:52 +00:00
welcome.html Fix leaky CSS adding ! to all H1 elements (#29964) 2025-05-15 08:30:54 +00:00