Suguru Hirahara
d244b9065c
Fix long display name overflowing reply tile on IRC layout ( #10343 )
...
* Prevent long name blowout from Replytile on IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Add a test to check long strings do not overflow
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Sort declarations based on .mx_IRCLayout .mx_EventTile .mx_DisambiguatedProfile
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-03-10 10:47:14 +00:00
Kerry
50229abf1e
e2e test for poll history ( #10336 )
2023-03-09 21:19:06 +00:00
Suguru Hirahara
f60f7a19af
Display redacted body on ThreadView in the same way as normal messages ( #9016 )
2023-03-08 12:23:41 +01:00
Suguru Hirahara
7c2bb966d0
Add a test for ReplyChain ( #10294 )
2023-03-07 12:44:32 +01:00
Suguru Hirahara
94950c6987
Reduce height of toggle on expanded view source event ( #10283 )
...
* Reduce height of toggle on expanded view source event
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Add a test to check size and position of toggle on expanded view source event
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-03-06 10:01:18 +00:00
Suguru Hirahara
4f5a65f548
Add a test to check whether ReadReceiptGroup exists on ThreadView in the bubble layout ( #10284 )
2023-03-06 09:20:09 +00:00
Suguru Hirahara
ecebac6ea1
Align info EventTile and normal EventTile on IRC layout ( #10197 )
...
* fixes alignment issue in IRC layout
* adds cypress test for alignment
---------
Contributed-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
Signed-off-by: Alun Turner <alunturner@users.noreply.github.com >
2023-03-03 09:32:38 +00:00
Suguru Hirahara
0e52729083
Edit a test to check timestamp color's value on timeline and thread panel ( #10265 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-03-02 17:14:41 +00:00
Michael Weimann
5398db21ad
Add ESLint Jest ( #10261 )
2023-03-01 16:23:35 +01:00
Suguru Hirahara
db7748b743
Fix the hidden view source toggle on IRC layout ( #10266 )
...
* Display view source toggle on IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Add a test
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Merge tests
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Collapse hidden event source before checking clickability of view source toggle on IRC layout
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Select view source event under the edited line on the test
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* Fix the test
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
* lint
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-03-01 14:41:56 +00:00
Suguru Hirahara
9e5c4e95f9
Fix buttons on the room header being compressed due to long room name ( #10155 )
...
This PR adds the flex declaration to mx_RoomHeader_button to prevent the buttons from being compressed due to a long room name, copying the whole declarations from mx_RightPanel_headerButton for reference.
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com >
2023-03-01 12:21:44 +00:00
Michael Telatyński
c22971e542
Improve percy snapshot stability ( #10239 )
2023-02-27 09:16:49 +00:00
Michael Telatyński
12dd799301
Fix double translation issue ( #10240
...
* Fix double translation issue
* Remove some redundant string concatenations
2023-02-27 09:15:27 +00:00
maheichyk
7b77f76486
Widget permissions customizations using module api ( #10121 )
...
* Using module api to customize widget permissions
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
* Revert type export and use ComponentProps instead.
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
---------
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net >
2023-02-23 14:53:44 +00:00
Michael Telatynski
26652138bd
Improve Percy stability by better scoping snapshots ( #10207 )
2023-02-23 16:57:48 +13:00
Kerry
3fafa4b58d
Port location unit tests from enzyme to react-testing-library ( #10181 )
...
* SmartMarker test to rtl
* LocationPicker to rtl
* LocationViewDialog to rtl
* LocationShareMenu to rtl
* use toBeDisabled assertion
2023-02-20 18:35:39 +00:00
Germain
8c22584f64
Remove threads labs flag and the ability to disable threads ( #9878 )
2023-02-20 14:46:07 +00:00
Michael Weimann
9b267e7bc4
Add success dialog after key backup ( #10177 )
2023-02-17 12:35:13 +00:00
Kerry
1c6b06bb58
Poll history - extract poll option display components ( #10107 )
...
* 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
* render a poll body that errors for poll end events
* add fetching logic to pollend tile
* extract poll testing utilities
* test mpollend
* strict fix
* more strict fix
* strict fix for forwardref
* add filter component
* update poll test utils
* add unstyled filter tab group
* filtertabgroup snapshot
* lint
* update test util setupRoomWithPollEvents to allow testing multiple polls in one room
* style filter tabs
* test error message for past polls
* sort polls list by latest
* extract poll option display components
* strict fixes
2023-02-13 02:55:39 +00:00
Michael Weimann
885d5098ab
Fix flaky test crypto/decryption-failure.spec.ts "Decryption Failure Bar" ( #10092 )
2023-02-07 08:45:13 +01:00
Janne Mareike Koschinski
f1a08cd572
Gitter sunsetting: Use findPredecessor in EventTileFactory ( #10075 )
2023-02-03 15:36:37 +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
c8ca47f786
Re-enable space cypress tests again ( #10061 )
2023-02-02 15:25:24 +00: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
Michael Telatynski
0d1fce37b2
Fix layout and visual regressions around default avatars ( #10031 )
2023-01-31 13:56:48 +00:00
grimhilt
5a08859e37
fix regional emojis converted to flags ( #9294 )
...
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com >
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: Faye Duxovni <duxovni@duxovni.org >
Co-authored-by: Faye Duxovni <fayed@element.io >
Fixes https://github.com/vector-im/element-web/issues/19000
2023-01-31 13:08:35 +00:00
AHMAD KADRI
c7b01af49e
Should open new 1:1 chat room after leaving the old one ( #9880 )
...
* should open new 1:1 chat room after leaving the old one
Signed-off-by: Ahmad Kadri <ahmad.kadri@nordeck.net >
* change the copyright
* update the test
Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com >
---------
Signed-off-by: Ahmad Kadri <ahmad.kadri@nordeck.net >
Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com >
Co-authored-by: Oliver Sand <oliver.sand@nordeck.net >
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net >
2023-01-30 09:54:05 +00:00
Florian Duros
406edfc27d
Fix link creation with backward selection ( #9986 )
...
Fix link creation with backward selection
2023-01-26 10:08:23 +00:00
Kegan Dougal
7df07fa336
Remove unused imports
2023-01-23 13:21:36 +00:00
Kegan Dougal
0fcc1f45d9
Remove flakey test which wasn't a useful test of anything
2023-01-23 13:18:05 +00:00
Kegan Dougal
c685c8e856
Point cypress at a newer version of the proxy
2023-01-20 10:32:53 +00:00
devonh
422802ea6d
Add credentials when calling bootstrapCrossSigning in Cypress tests ( #9919 )
2023-01-19 16:19:07 +01:00
Florian Duros
dacbf76227
Disable multiple messages when {enter} is pressed multiple times ( #9929 )
2023-01-18 13:20:49 +00:00
Florian Duros
e4a9684d76
Fix cypress RTE flaky test ( #9920 )
...
* Update @matrix-org/matrix-wysiwyg to 0.19.0
* Press {enter} to send message
2023-01-18 10:09:25 +01:00
maheichyk
53a3f3861e
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-16 11:31:08 +03:00
Mikhail Aheichyk
097d7fb5eb
Comment fixed
2023-01-16 11:30:29 +03:00
Travis Ralston
badb2c4b27
Use js-sdk imports for poll event types instead of events-sdk ( #9904 )
...
* Use js-sdk imports for poll event types instead of events-sdk
* Attempt to appease some tsc --strict errors
* Manually create poll response in cypress test
2023-01-13 10:02:33 -07:00
Richard van der Hoff
7975b07128
Deflake new edited-event test ( #9908 )
...
We don't need to send as many padding events as we were; reducing the spam
speeds up the test and deflakes it.
2023-01-13 14:14:48 +00:00
maheichyk
7c24e8ce01
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-13 15:04:35 +03:00
Mikhail Aheichyk
b3472753dc
events.spec.ts is changed to use 'm.room.topic' instead of custom event
2023-01-13 14:53:06 +03:00
Michael Telatynski
2acf78a9e4
Fix unstable cypress test
2023-01-13 10:25:50 +00:00
maheichyk
0ba903715a
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-12 17:58:25 +03:00
Richard van der Hoff
1b5f06b16f
Add a Cypress test for displaying edited events ( #9886 )
...
MSC3925 is changing this, so let's make sure it keeps working.
2023-01-12 10:38:41 +00:00
Mikhail Aheichyk
0d7152a8d9
update the test after merge
2023-01-12 12:49:24 +03:00
Mikhail Aheichyk
73a8c5bcc4
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-12 10:06:51 +03:00
Mikhail Aheichyk
f726314fa2
Merge branch 'develop' into widget_state_no_update_invitation_room
2023-01-11 23:15:08 +03:00
Richard van der Hoff
575508ae15
Rewrite cy.all implementation ( #9892 )
...
The previous implementation was indecipherable, and didn't actually work.
2023-01-11 18:12:38 +00:00
Germain
d4f247d1fe
Merge branch 'develop' into gsouquet/threads-forceenablelabsflag
2023-01-11 11:51:57 +00:00
devonh
79033eb034
Add dendrite support to cypress tests ( #9884 )
...
* Minimum hacks required to run cypress tests with dendrite
* Remove wget hack since dendrite containers now have curl
* Add basic dendritedocker plugin & hack into login spec for testing
* Add generic HomeserverInstance interface
* Add env var to configure which homeserver to use
* Remove synapse specific homeserver support api
* Update the rest of the tests to use HomeserverInstance
* Update cypress docs to reference new homeserver abstraction
* Fix formatting issues
* Change dendrite to use main branch container
2023-01-10 16:29:56 -07:00
Travis Ralston
19ba620de2
Revert "Revert "Factor out MessageEvent.from() usage ( #9882 )""
...
This reverts commit 99e38ca88e .
2023-01-10 13:43:15 -07:00