67 Commits

Author SHA1 Message Date
Michael Telatynski
ccf3fcf4af Add API to replace Login component renderer 2026-03-02 16:54:23 +00:00
David Langley
226824890a Merge pull request #198 from element-hq/langleyd/widget-lifecycle-module-api
Widget lifecycle module api
2026-02-25 12:58:43 +00:00
David Langley
83d752cfd7 Add MaybePromise 2026-02-25 09:33:48 +00:00
Michael Telatynski
d51eb5dfd3 Specify ThisType on i18nApi 2026-02-20 09:32:58 +00:00
David Langley
4614d2f395 Remove WidgetKind and fix header 2026-02-18 18:43:26 +00:00
David Langley
5bb1d3d461 Add widget permissions module api 2026-02-18 13:17:53 +00:00
Michael Telatynski
174c35b874 Iterate 2025-12-11 11:26:13 +00:00
Florian Duros
94aba63a1d feat(ew-api): add builtins#RoomViewProps#enableReadReceiptsAndMarkersOnActivity
For the multiroom module, we display several room views at the same
time. In order to avoid all the rooms to send read receipts and markers
automatically when we are interacting with the UI, we add
`enableReadReceiptsAndMarkersOnActivity` props.

When at false, the timeline doesn't listen to user activity to send
these receipts. Only when the room is focused, marker and read receipts
are updated.
2025-12-04 18:02:28 +01:00
David Langley
f35357d3b3 Add api to hide widgets 2025-12-03 09:54:33 +00:00
R Midhun Suresh
44d8f89754 Merge pull request #146 from element-hq/midhun/multiroom/render-notification-decoration
Add API to render notification decoration from EW
2025-12-02 14:40:46 +05:30
R Midhun Suresh
8f40ea5c0a Add API to render notification decoration 2025-12-02 13:56:53 +05:30
David Baker
0d69056e7b Merge pull request #137 from element-hq/dbkr/human_eyes
Add humanizeTime to the module i18n API
2025-12-01 09:08:51 +00:00
David Baker
65edff067a Better doc 2025-11-28 15:20:51 +00:00
David Baker
56662c53e9 Add humanizeTime to the module i18n API
So modules can access it simply with the right context etc
2025-11-26 16:47:58 +00:00
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
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