* Support for sending voice messages as replies and in threads
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Add tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Apply inline start margin to info event tile line to align the right edge with normal event tile lines
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Rename the variable
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add a test to check inline start margin
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Rerun CI
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Improve tests a little bit
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* pin drop location test case
* own static location test
* remove unused bots
* lint
* enable labs flag
* remove own location test bc geolocation perms are hard
Error resistant data dump from `TimelinePanel` so we still have some data to dump if one of the pieces errors out.
Example error that can happen (as seen in https://github.com/matrix-org/element-web-rageshakes/issues/14197):
```
Uncaught TypeError: Cannot read properties of null (reading 'getEvents')
at TimelineWindow.getEvents (timeline-window.ts:378:37)
at TimelinePanel_TimelinePanel.onDumpDebugLogs (TimelinePanel.tsx:434:60)
at Object.ID_727 (TimelinePanel.tsx:609:22)
at MatrixDispatcher._invokeCallback (Dispatcher.js:198:1)
at MatrixDispatcher.dispatch (Dispatcher.js:174:1)
at sentryWrapped (helpers.js:77:1)
```
* unit test eventTriggersUnreadCount
* Update test/Unread-test.ts
Co-authored-by: Michael Weimann <michaelw@matrix.org>
Co-authored-by: Michael Weimann <michaelw@matrix.org>
* extract preventDefaultWrapper into utils
* add click handling to beacon list item
* add click handling to dialog sidebar
* focus in on beacons when clicked in list
* stylelint
* fussy import ordering
* test beacon focusing in beaocnviewdialog
* Prefer using the canonical alias in spotlight search
Public rooms on other homeservers are not joinable via the roomId if they haven't been joined by other users on your homeserver.
* Ensure we call the action with the room_alias
* lint
* Drop display
* Always provide roomId
* Add rationale to room_id, room_alias
* whoops
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Will Hunt <will@half-shot.uk>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Prefer using the canonical alias in spotlight search
Public rooms on other homeservers are not joinable via the roomId if they haven't been joined by other users on your homeserver.
* Ensure we call the action with the room_alias
* lint
* Drop display
* Always provide roomId
* Add rationale to room_id, room_alias
* whoops
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Move &.mx_EventTile_isEditing and &.mx_EventTile_selected out of mx_EventTile:not([data-layout=bubble])
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Use common variables for selected lines and hovered lines
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Merge style blocks for mx_EventTile_line
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>