Commit Graph

73 Commits

Author SHA1 Message Date
R Midhun Suresh 8f40ea5c0a Add API to render notification decoration 2025-12-02 13:56:53 +05:30
Florian Duros c570936d33 Merge pull request #135 from element-hq/florianduros/rooms-hide-pinned-message-banner 2025-11-21 15:38:33 +01:00
Florian Duros 7518d1c068 Add ExtraApi#getVisibleRoomBySpaceKey (#134) 2025-11-21 15:31:17 +01:00
Florian Duros a66fd6e976 feat: add option to add the right panel of a room view 2025-11-17 15:13:40 +01:00
Michael Telatynski 6a4c529083 Delint 2025-11-12 12:16:31 +00:00
Florian Duros 07ab08a6f9 Merge pull request #114 from element-hq/florianduros/ew-api-room-view-props 2025-10-29 10:42:34 +01:00
Florian Duros afa2984645 refactor(builtins): remove roomId from RoomViewProps 2025-10-29 10:36:55 +01:00
R Midhun Suresh ef9732c68f Merge pull request #113 from element-hq/midhun/multiroom/navigation
Add `openRoom` action to Navigation
2025-10-28 21:16:39 +05:30
Florian Duros 81212a3c16 feat(builtins): add hideHeader and hideComposer props to RoomViewProps and renderRoomView 2025-10-28 16:06:28 +01:00
R Midhun Suresh 74acfb84aa Add openRoom to Navigation 2025-10-28 16:36:01 +05:30
R Midhun Suresh 4698f68d8a Merge pull request #109 from element-hq/midhun/multiroom/client-api
Allow modules to access a part of `MatrixClient` functionality
2025-10-27 18:11:17 +05:30
R Midhun Suresh 4ee9b05608 Return a watchable 2025-10-24 00:29:18 +05:30
R Midhun Suresh af3d476a70 Convert to property 2025-10-24 00:28:54 +05:30
R Midhun Suresh 200d52a162 Add Stores API 2025-10-24 00:08:43 +05:30
R Midhun Suresh 04379cc089 Return watchable in account data api 2025-10-23 23:41:08 +05:30
R Midhun Suresh cd9a21ac93 Add onFirstWatch and onLastWatch to watchable
So that we can create custom watchable objects that can add/remove event
listeners as necessary.
2025-10-23 23:38:31 +05:30
R Midhun Suresh 17f1a54a1f Fix comment 2025-10-23 16:11:50 +05:30
R Midhun Suresh 7c40be9054 Change method to property 2025-10-23 16:07:07 +05:30
R Midhun Suresh 051fd6e8fe Add method to render room avatar 2025-10-23 12:39:11 +05:30
R Midhun Suresh b9a90b2bfc Render RoomView instead of simply returning it 2025-10-23 12:38:36 +05:30
R Midhun Suresh 00f9283262 Add client API 2025-10-23 12:21:22 +05:30
R Midhun Suresh 949e64c7b5 Make field protected so that Watchable can be extended
So that you can have custom watchables that have very specific
behaviour, think `class NameWatchable extends Watchable`. Useful to have
access to `listeners` when you do this.
2025-10-23 12:19:22 +05:30
R Midhun Suresh c24cfb6311 Introduce an abstraction for Room
All APIs that need to return a room will use this type.
2025-10-23 12:18:33 +05:30
David Baker 824f262ac9 Make onSelected non-optional 2025-10-20 17:44:15 +01:00
David Baker a41a7faa75 docs 2025-10-20 17:33:09 +01:00
David Baker c938dbe519 Rename contextMenuTooltip to just tooltip
because it has nothing to do with context menus afaics
2025-10-20 16:34:58 +01:00
David Baker b5639c25a4 Fix public/alpha statuses 2025-10-17 12:14:20 +01:00
David Baker e1f7a798a2 More doc 2025-10-17 12:11:39 +01:00
David Baker b83b5f4ad6 Add more docs 2025-10-17 12:10:07 +01:00
David Baker 6d0a715ac0 Tweak doc 2025-10-17 11:56:48 +01:00
David Baker cf869c9454 Tweak api so it can be called multiple times
to update the space item's properties.
2025-09-25 17:33:53 +01:00
David Baker 446830776f New interface for adding space panel items 2025-09-25 11:57:13 +01:00
David Baker 9685775528 Maybe make api-extractor happy 2025-09-24 16:07:31 +01:00
David Baker 2cd86f7c3d Add some experimental module interfaces
...with somewhat placeholder names as they're the best I can think of right now:

 * 'Extras': To add new bits of UI to places (specifically the space panel)
 * 'Builtins': For modules to render components that are part of Element Web
 * 'Navigation': For modules to add paths to the URL router
2025-09-24 10:58:41 +01:00
Michael Telatynski 9c2ca140bb Iterate 2025-07-24 16:27:09 +01:00
Michael Telatynski 9f14297827 Merge branch 'main' of github.com:/element-hq/element-web-modules into t3chguy/restricted-guests-api 2025-07-16 15:03:44 +01:00
Will Hunt 0b5681bf5b Update custom-components.ts 2025-07-03 14:08:10 +01:00
Half-Shot 24cc2455f9 Add message hint to prevent media from being downloaded. 2025-07-03 12:35:55 +01:00
Michael Telatynski 20098f132b Iterate 2025-06-24 09:50:02 +01:00
Michael Telatynski 9763807c42 Extend the Module API in prep of restricted-guests module 2025-06-23 09:32:26 +01:00
Half-Shot 0d4a45d447 Update custom components API to have @alpha stability. 2025-06-17 14:07:06 +01:00
Half-Shot e2a89888c2 Mark MatrixEvent as @alpha and document. 2025-06-17 14:02:41 +01:00
Half-Shot c49ac2677b copyright 2025-06-17 13:42:54 +01:00
Half-Shot b38f0f2dd2 Drop js-sdk 2025-06-17 13:33:41 +01:00
Half-Shot 89102aa903 fixup types 2025-06-17 13:27:50 +01:00
Half-Shot ead847ec6a Use MatrixEvent provided by us. 2025-06-17 13:16:01 +01:00
Half-Shot 240045f433 Add filter function / hints 2025-06-09 15:41:53 +01:00
Half-Shot 8cf426f0e7 tighten example 2025-06-05 16:57:48 +01:00
Half-Shot 60687b27a6 Add an example 2025-06-05 16:10:35 +01:00
Half-Shot c6a6123826 Remove unused props 2025-06-05 10:01:40 +01:00