Commit Graph

44295 Commits (aded28ed25ff14e1906f1f21349ee1adb6f11ed4)

Author SHA1 Message Date
Andy Balaam da2471ffbd
Fix a crash when removing persistent widgets (updated) (#10099)
* Fix a crash when removing persistent widgets

When a persistent widget is removed, multiple calls to updateShowWidgetInPip happen in succession as each of the widget stores emit updates. But by depending on this.state.persistentWidgetId at the time of the call rather than passing an update function to setState, this had the effect that the removal of the widget could be reverted in the component's state, and so it could end up passing the ID of a removed widget to WidgetPip.

* Re-public updateShowWidgetInPip so we don't change the interface

---------

Co-authored-by: Robin Townsend <robin@robin.town>
2023-02-07 11:14:19 +00:00
Florian Duros 14e5ffbd31
Merge pull request #10096 from tnt7864/unread-title-indicator
Indicate unread messages in tab title
2023-02-07 12:01:18 +01:00
Florian Duros 4c7945552c
Merge branch 'develop' into unread-title-indicator 2023-02-07 11:37:34 +01:00
Michael Telatynski 54a6ce589f
Fix wrongly grouping 3pid invites into a single repeated transition (#10087) 2023-02-07 10:09:46 +00:00
Michael Telatynski 35d222bac6
Add @typescript-eslint/no-base-to-string (#10091) 2023-02-07 10:08:10 +00:00
Arnabdaz 30cc55515e
Fix scrollbar colliding with checkbox in add to space section (#10093)
Fixes https://github.com/vector-im/element-web/issues/23189
fixes https://github.com/vector-im/element-web/issues/23189
2023-02-07 09:37:52 +00:00
Michael Weimann 4648fa3c8c
Add PiP move threshold (#10040) (#10033) 2023-02-07 10:14:28 +01:00
Suguru Hirahara 5ac014ff29
Add a whitespace character after 'broadcast?' (#10097)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-02-07 09:09:44 +01:00
Michael Weimann 885d5098ab
Fix flaky test crypto/decryption-failure.spec.ts "Decryption Failure Bar" (#10092) 2023-02-07 08:45:13 +01:00
Kerry Archibald 06d8755f6b add tests for geolocate self on map views 2023-02-07 16:51:58 +13:00
Kerry 0d59532147
Merge branch 'develop' into johannes/find-myself 2023-02-07 15:57:47 +13:00
Michael Weimann 39fe72e53a
Fix broadcast pip seekbar (#10072) 2023-02-06 13:15:20 +01:00
Richard van der Hoff 5ba8ecabb5
Element-R: fix rageshages (#10081)
quick hacks to get rageshakes working in element R

Fixes https://github.com/vector-im/element-web/issues/24430
2023-02-06 10:50:34 +00:00
Gustavo Santos d4349bb361
Add border to 'reject' button on room preview card (#9205)
* Add border to 'reject' button on room preview card

Signed-off-by: gefgu <gefgu@hotmail.com>

* feat: use correct kind

---------

Signed-off-by: gefgu <gefgu@hotmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-02-06 10:50:06 +00:00
Tim Tills 73c2f42177 Indicate unread rooms in document.title
Signed-off-by: Tim Tills <tnt7864@rit.edu>
2023-02-05 21:31:16 -05:00
Johannes Marbach fdac94a841 Update snapshot 2023-02-04 20:58:53 +01:00
Johannes Marbach 2b97de7a47 One more type fix 2023-02-04 20:38:27 +01:00
Johannes Marbach 93682e9d13 Further type fixes 2023-02-04 20:29:50 +01:00
Johannes Marbach a3d09937d6 Fix types 2023-02-04 20:22:03 +01:00
Johannes Marbach 73fdef2174 Regenerate strings 2023-02-04 20:06:20 +01:00
Johannes Marbach e5a7e83b48 Add option to find own location in map views 2023-02-04 19:58:19 +01:00
Andy Balaam a756b33fe9
Rename RoomCreate -> RoomPredecessorTile (#10047) 2023-02-03 16:58:52 +00:00
Florian Duros 2b66cfc25f
Open message in editing mode when keyboard up is pressed (RTE) (#10079)
Move to previous message when arrow up is pressed in the main composer (RTE)
2023-02-03 17:43:02 +01:00
Janne Mareike Koschinski f1a08cd572
Gitter sunsetting: Use findPredecessor in EventTileFactory (#10075) 2023-02-03 15:36:37 +00:00
Michael Telatynski 9743852380
Improve typescript null checking in places (#10073 (#10073
* Improve typescript null checking in places

* Iterate

* Fix Timer.ts
2023-02-03 15:27:47 +00:00
Michael Weimann 97506cbcdb
Migrate SpotlightDialog for dynamic room predecessors (#10076) 2023-02-03 15:47:07 +01:00
Andy Balaam add23e4d5d
Pass the dynamic predecessor feature flag when listing rooms (#10068) 2023-02-03 14:09:31 +00:00
alunturner 41c8ab5e59
fix paragraph display for MD from plain text editor (#10071) 2023-02-03 13:55:12 +00:00
Michael Weimann cfba1b07c6
Broadcast time left should never be negative (#10070) 2023-02-03 13:49:43 +01:00
Michael Weimann 27bd04a875
Use findPredecessor in RoomNotifs#getUnreadNotificationCount (#10067) 2023-02-03 13:00:33 +01:00
Germain 6dd578e5a7
Devtools for stuck notifications (#10042) 2023-02-03 11:07:24 +01:00
Florian Duros 469228f45e
Fix new line created when enter is pressed (#10064) 2023-02-03 10:48:12 +01:00
Andy Balaam b7cd28bd29
Support MSC3946 in RoomListStore (#10054) 2023-02-03 09:14:44 +00:00
Michael Telatynski 2bde31dcff
Switch to linkify-react for element Linkification as it handles React subtrees without exploding (#10060
* Switch to linkify-react instead of our faulty implementation

Fixes a series of soft crashes where errors include "The node to be removed is not a child of this node."

* Improve types

* Fix types

* Update snapshots

* Add test

* Fix test
2023-02-03 08:59:21 +00:00
Michael Weimann 089557005a
Autofocus security key field (#10048) 2023-02-03 09:39:25 +01:00
Kerry ebb8408f28
Poll history - read only list of polls in current timeline (#10055)
* add settings while under development

* very basic tests for roomsummarycard

* empty poll history dialog and option in room summary

* pollS history in settings

* render an ugly list of polls in current timeline

* readonly poll history list items

* fix scroll window

* use short year code in date format, tidy

* no results message + tests

* strict fix

* mock intldatetimeformat for stable date formatting

* extract date format fn into date-utils

* jsdoc
2023-02-02 21:39:23 +00:00
Kerry 544baa30ed
use Poll model with relations API in poll rendering (#9877)
* wip

* remove dupe

* use poll model relations in all cases

* update mpollbody tests to use poll instance

* update poll fetching login in pinned messages card

* add pinned polls to room polls state

* add spinner while relations are still loading

* handle no poll in end poll dialog

* strict errors

* strict fix

* more strict fix
2023-02-02 20:22:26 +00:00
Johannes Marbach b45b933a65
Merge pull request #10010 from matrix-org/johannes/latest-room-in-space
Ensure room is actually in space hierarchy when resolving its latest version
2023-02-02 21:00:28 +01:00
Johannes Marbach d3f378240e Appease the linter 2023-02-02 20:38:42 +01:00
Johannes Marbach f3fd027db4 Merge branch 'develop' into johannes/latest-room-in-space 2023-02-02 20:21:17 +01:00
Johannes Marbach 568042b9e7 Move test setup to describe scope 2023-02-02 20:20:57 +01:00
Germain 509459f1d7
Exclude devtools view from coverage checks (#10049) 2023-02-02 17:18:35 +00:00
Florian Duros 1ad16fbeae
Fix new line for inline code (#10062) 2023-02-02 15:49:50 +00:00
Michael Weimann c8ca47f786
Re-enable space cypress tests again (#10061) 2023-02-02 15:25:24 +00:00
Andy Balaam e43d447535
Support MSC3946 in RoomCreate tile (#10041) 2023-02-02 13:39:13 +00:00
Andy Balaam b416e15cbd
Tests for RoomListStore's predecessor handling (#10046) 2023-02-02 13:22:30 +00:00
Florian Duros 5b088f989f
Update labs flag description for RTE (#10058) 2023-02-02 11:23:03 +01:00
Michael Telatynski 21c3967010
Revert "Member avatars without canvas" (#10057
* Revert "Apply more general fix for base avatar regressions (#10045)"

This reverts commit 371a3c0d36.

* Revert "Fix layout and visual regressions around default avatars (#10031)"

This reverts commit 0d1fce37b2.

* Revert "Member avatars without canvas (#9990)"

This reverts commit a8aa4de4b4.

* Update snapshots
2023-02-02 10:22:19 +00:00
alunturner 43e7870d92
Change ul list style to disc when editing message (#10043)
* ensures consistency between timeline, composer and "editor" composer
2023-02-02 09:09:52 +00:00
Kerry 923ad4323b
Poll history - setup labs setting (#10039)
* add settings while under development

* very basic tests for roomsummarycard

* empty poll history dialog and option in room summary

* pollS history in settings

* use more user-centric selectors in roomsummarycard test
2023-02-01 20:57:48 +00:00