CommanderRoot
c35fc169f5
Replace deprecated String#substr with String#slice ( #8314 )
2022-04-14 07:52:42 +00:00
Michael Telatynski
0e68c16a90
Introduce small delay to let redaction propagate for tests ( #8311 )
2022-04-13 19:39:30 +01:00
Hugh Nimmo-Smith
26b771bbf9
Don't show the prompt to enable desktop notifications immediately after registration ( #8274 )
...
* Fix MatrixClientPeg.userRegisteredWithinLastHours so that it works
* Try fixing end-to-end test + add case for New search beta
* Remove end-to-end test case for Search beta toast as it only shows up after 5 minutes
* Revert to localStorage based solution + non-inverted logic + test including time advancement
2022-04-13 19:05:08 +01:00
Michael Telatynski
d151365fd7
Stop tracking threads if threads support is disabled ( #8308 )
2022-04-13 16:41:40 +01:00
Suguru Hirahara
a59f889f79
Fix padding and border-radius issue of the right panel for chat aka mx_ThreadPanel ( #8307 )
...
* Specify the correct padding to the chat panel aka mx_ThreadPanel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add border to the right chat panel
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-13 11:33:54 -04:00
Michael Telatynski
fe4683df10
Fix some issues with threads rendering ( #8305 )
2022-04-13 12:24:44 +01:00
Kerry
e59edb7101
Live location sharing - beacon in timeline happy path ( #8285 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update commentt
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract more beacon state utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for roomlivesharewarning
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add idle status to live beacon icon
* add beacon map and status chin
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add handling for bubbles
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tests for BeaconBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* i18n
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move displaystatus check up to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* rename BeaconStatusChin -> BeaconStatus
Signed-off-by: Kerry Archibald <kerrya@element.io>
* make BeaconStatus generic
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* adjust spinner size
Signed-off-by: Kerry Archibald <kerrya@element.io>
* polish and copyrights
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* better comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-13 10:44:15 +02:00
Michael Telatynski
b4a91ea442
Fix threads rendering issue in Safari ( #8298 )
2022-04-13 09:16:09 +01:00
Michael Telatynski
9edb34a1e0
Send stable m.policy.rule.* events instead of mjolnir-prefixed unstable ones ( #8300 )
2022-04-13 09:10:55 +01:00
Robin
a4d3da78d7
Fix coverage diffs for PRs that aren't up to date, take 3 ( #8301 )
2022-04-12 20:22:34 -04:00
Michael Telatynski
82981e4161
End to end tests for threads ( #8267 )
2022-04-12 17:46:08 -06:00
Janne Mareike Koschinski
ecdc11d3d5
Fix space panel width change on hovering over space item ( #8299 )
...
* Fix space panel width change on hovering over space item
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-12 15:52:46 +00:00
Michael Telatynski
ceae8bb39a
Hide the reply in thread button in deployments where beta is forcibly disabled ( #8294 )
2022-04-12 14:24:23 +00:00
Michael Telatynski
8cd715c6a3
Prevent soft crash around room list header context menu when space changes ( #8289 )
2022-04-12 14:23:04 +00:00
Michael Telatynski
59fda5273f
When selecting reply in thread on a thread response open existing thread ( #8291 )
2022-04-12 14:42:47 +01:00
Michael Telatynski
391ec4c7e2
Handle thread bundled relationships coming from the server via MSC3666 ( #8292 )
2022-04-12 14:42:35 +01:00
Emmanuel
1e442b2260
Fix inconsistent grammar in device sign out modal ( #8253 )
2022-04-12 14:16:00 +01:00
Kerry
137c015d6c
add excluded style to components.scss ( #8293 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-12 13:44:49 +01:00
Janne Mareike Koschinski
dbcb56f75e
Fix: Avatar preview does not update when same file is selected repeatedly ( #8288 )
...
* Fix: Avatar preview does not update when same file is selected repeatedly
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-12 14:21:17 +02:00
RiotRobot
7600182a35
uncomment first part of release.sh
2022-04-12 10:39:13 +01:00
RiotRobot
42dbe14f36
Reset matrix-js-sdk back to develop branch
2022-04-12 10:38:05 +01:00
RiotRobot
28512f20d3
Resetting package fields for development
2022-04-12 10:37:54 +01:00
RiotRobot
336492275a
Merge branch 'master' into develop
2022-04-12 10:36:00 +01:00
RiotRobot
5f356093fd
v3.42.3
2022-04-12 10:33:26 +01:00
RiotRobot
f7cb4af076
Prepare changelog for v3.42.3
2022-04-12 10:33:25 +01:00
RiotRobot
7844c3ac8d
Upgrade matrix-js-sdk to 17.0.0
2022-04-12 10:31:47 +01:00
Kerry
661e2c2aa5
Live location sharing - beacon map in timeline ( #8286 )
...
* add displaystatus util
Signed-off-by: Kerry Archibald <kerrya@element.io>
* map fallback svg
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add Map to mbeaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add bubble layout handling
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test beaconbody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* typo
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use randomString from js-sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-12 09:13:55 +01:00
Kerry
4b7840bf78
Live location sharing - extract live time UI for reuse ( #8283 )
...
* extract livetimeremaining into own component
Signed-off-by: Kerry Archibald <kerrya@element.io>
* extract LiveTimeRemaining for reuse in beacon timeline
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-12 09:24:17 +02:00
Jume Brice
e90ee38e4b
fixed warning pop up when admin changes power to custome level 100 ( #8248 )
2022-04-11 15:52:01 -04:00
olivialivia
7b2f1e22e1
Add copy button to View Source screen ( #8278 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-11 18:37:52 +00:00
Suguru Hirahara
6bd090c090
Port #8249 to release ( #8254 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-11 18:21:16 +01:00
Germain
70c10886c4
Port #8240 to release ( #8241 )
...
* fix uneven gutter size in thread panel
* Fix indicator positioning
* fix gutter sizing
* fix dropdown inner padding and spacing
* lint fix
2022-04-11 18:20:53 +01:00
Kerry
9ba55d1d14
Live location sharing - consolidate maps ( #8236 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* working map in location body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test Map
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update snaps with new mocks
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use new ZoomButtons in MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* make LocationViewDialog map interactive
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test MLocationBody
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test LocationViewDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add copyrights, shrink snapshot
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 18:40:06 +02:00
Michael Telatynski
944e11d7d6
Delete slate-formats.md ( #8280 )
2022-04-11 16:51:04 +01:00
Suguru Hirahara
f648140d0c
Use a consistent alignment for all text items in a list ( #8276 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-04-11 12:39:47 +00:00
Kerry
b760ec9392
Location sharing - extract isSelfLocation util ( #8279 )
...
* extract isSelfLocation into utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* replace use of isSelfLocation
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 13:58:35 +02:00
Kerry
aecd71ad15
Live location sharing - update beacon tile with latest location ( #8265 )
...
* add useBeacon hook
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update message tile types to work with function comp with ref
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use beacon hook in beacon body
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update beacon body with (textual) latest locations, test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* language in comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
* copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 09:16:32 +00:00
Robin Kouwenhoven
7ba991cd8c
Fix export of redacted polls ( #8118 )
...
* Move RequiresClient from MatrixCapabilities to ElementWidgetCapabilities
Signed-off-by: Robin Kouwenhoven <r.kouwenhoven@outlook.com>
* Fix export of redacted polls
* Fix ESLint error
* Add test cases for poll events
* Add test cases for message events
* Fix lint errors
* Fix i18n error
* Revert "Move RequiresClient from MatrixCapabilities to ElementWidgetCapabilities"
This reverts commit 920f80a2d4385656925987ccc9d37420255405c1.
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Kerry <kerrya@element.io>
2022-04-11 11:10:16 +02:00
Kerry
94385169f1
Live location sharing - smart location marker ( #8232 )
...
* extract location markers into generic Marker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* wrap marker in smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test smartmarker
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned-sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* better types for LocationBodyContent
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 10:29:24 +02:00
Kerry
df20821fd6
Live location sharing - extract zoom buttons into component ( #8235 )
...
* extract out zoombuttons component
* newline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove skinned sdk
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 10:29:07 +02:00
Kerry
44d446be89
Live location sharing - set replaces relation when stopping beacon ( #8266 )
...
* set replaces relation on stopping beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for stopBeacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-11 10:28:43 +02:00
Suguru Hirahara
61076c3331
Fixes button labels being collapsed per a character in CJK languages ( #8212 )
...
* Fixes button labels being collapsed per a character in CJK languages
Closes https://github.com/vector-im/element-web/issues/21287
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Add a comment
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-04-08 23:16:13 -06:00
CicadaCinema
cdb0c2c6a1
Add heart effect ( #6188 )
...
* add heart effect
* clean up syntax
* convert indentation to spaces
* appease the linter
* hopefully resolve merge conflict
* add missing semicolons
* add label to toggle switch
* Revert "add label to toggle switch"
This reverts commit 5e83d9b9109f5f1922555484f7492596cc5966ff.
* remove extra space
* replace gift heart with emoji heart in timeline message
* reduce number of emoji triggers
* copyright should be myself
* Update src/effects/index.ts
Co-authored-by: ColonisationCaptain <52425971+ColonisationCaptain@users.noreply.github.com>
Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-04-08 15:31:04 -06:00
Janne Mareike Koschinski
579a166113
Fix: Remove jittery timeline scrolling after jumping to an event ( #8263 )
...
* Fix: Remove jittery timeline scrolling after jumping to an event
* Fix: Remove onUserScroll handler and merge it with onScroll
* Fix: Reset scrollIntoView state earlier
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
2022-04-08 20:48:57 +02:00
David Baker
285dc25b3e
Add a test for URL previews being disabled in e2e rooms ( #8270 )
...
* Add a test for URL previews being disabled in e2e rooms
Regression test for https://github.com/matrix-org/matrix-react-sdk/pull/8227
* Fix the types
2022-04-08 18:32:35 +01:00
Travis Ralston
1db805bbdc
Fix reporting events not working ( #8257 )
...
* Fix report dialog not working
During the removal of skinning the dialog opener was moved, but the wrong property was given.
* Log errors out of the report event dialog
So we can actually see them in rageshakes
2022-04-08 08:19:14 -06:00
Michael Telatynski
9f8c208516
Fix soft crash around the thread panel in degraded mode ( #8261 )
2022-04-08 14:26:41 +01:00
Michael Telatynski
0aa8b93c07
Fix regression of edits showing up in the timeline with hidden events shown ( #8260 )
2022-04-08 12:10:10 +01:00
Kerry
f63923d60f
Live location sharing - add configs to render beacon_info in timeline ( #8251 )
...
* add configs to render beacon_info in timeline
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix copyright
Signed-off-by: Kerry Archibald <kerrya@element.io>
* one more comment
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update beacon identifier
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use special case for beacon_info tile mapper
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-08 09:05:26 +00:00
Kerry
03d0969ae3
Live location sharing - update beacon_info implementation to latest MSC ( #8256 )
...
* update calls to set and createLiveBeacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix stop beacon
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove variable event type from beacon utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use beacon identifier
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix RoomLiveShareWarning tests
Signed-off-by: Kerry Archibald <kerrya@element.io>
* add case for beacon update
Signed-off-by: Kerry Archibald <kerrya@element.io>
* lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
* more lint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-08 10:53:06 +02:00