Commit Graph

62572 Commits

Author SHA1 Message Date
Michael Telatynski 8bd60d09dc Fix search not being cleared when clicking on a result (#9635)
* Fix test naming

* Fix search not being cleared when clicking on a result

* Update RoomView.tsx

* Update RoomView.tsx
2022-11-29 10:36:59 +00:00
David Baker 55d3522fcd Fix screensharing in 1:1 calls (#9612)
Co-authored-by: Robin Townsend <robin@robin.town>
2022-11-29 08:46:50 +00:00
Michael Telatynski c6a34ca007 Attempt to unwedge develop (#23853) 2022-11-29 08:31:32 +00:00
Šimon Brandner 6b3098d8fe Further improve replies (#6396)
* Give reply tile an avatar

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve `in reply to`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Drop `In reply to` for `Expand thread`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix avatar alignment

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix default avatar alignment

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplifie code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplifie some more code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make replies lighter

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Give replies a hover effect

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Revert changes to sender profile in replies

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve padding

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Increase line height of replies

to keep descenders from being cut off, and generally give them more room
to breathe.

Signed-off-by: Robin Townsend <robin@robin.town>

* Replace reply hover effect with a color change

Signed-off-by: Robin Townsend <robin@robin.town>

* Replace expand thread hover effect with an opacity change

Signed-off-by: Robin Townsend <robin@robin.town>

* Simplify image and sticker reply designs

Signed-off-by: Robin Townsend <robin@robin.town>

* Revise file and deleted message padding to match new reply layout

Signed-off-by: Robin Townsend <robin@robin.town>

* Remove unneeded CSS

Since the download button for files got moved out of the timeline and
into the message action bar, hiding it manually is no longer necessary.

Signed-off-by: Robin Townsend <robin@robin.town>

* Hide edited indicator from replies

There are a few reasons for this: it adds visual noise to what is meant
to be a brief preview, it can sometimes add an extra line to the reply
preview, and clicking on it inside a reply was broken due to the
stacking of event listeners.

Signed-off-by: Robin Townsend <robin@robin.town>

* Fix i18n

Signed-off-by: Robin Townsend <robin@robin.town>

* "Expand thread" -> "Expand replies"

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add a missing import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove unused import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Remove unused import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use `this.state`

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix sender profile confusion

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Implement suggested changes

* Make "In reply to" the same color as reply previews

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Robin Townsend <robin@robin.town>
Co-authored-by: Robin Townsend <robin@robin.town>
2022-11-29 08:49:43 +01:00
Robin ad090ac4cd Fix the background color flashing when joining a call (#9640)
Because the persisted widget element takes an extra layout tick to be moved into place, you would briefly see the background color of the call view flash into view when joining a call. Giving the widget tile a background fixes this.
2022-11-28 23:23:11 -05:00
Robin 563b815108 Fix the size of the 'Private space' icon (#9638)
It's apparently been enlarged ever since 658ff4dfe6.
2022-11-28 23:22:52 -05:00
Robin 2c612d5aa1 Use native js-sdk group call support (#9625)
* Use native js-sdk group call support

Now that the js-sdk supports group calls natively, our group call implementation can be simplified a bit. Switching to the js-sdk implementation also brings the react-sdk up to date with recent MSC3401 changes, and adds support for joining calls from multiple devices. (So, the previous logic which sent to-device messages to prevent multi-device sessions is no longer necessary.)

* Fix strings

* Fix strict type errors
2022-11-28 16:37:32 -05:00
Michael Weimann 3c7781a561 Stop voice broadcast on delete (#9629) 2022-11-28 18:45:50 +01:00
zooster d6ea92f735 fix(visual): make cursor a pointer for summaries (#9419)
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-11-28 18:09:21 +01:00
Germain ded031aca6 Add helper for thread root id in view source (#9632) 2022-11-28 15:53:40 +00:00
Michael Weimann e71a757f90 Fix seekbar in voice broadcast recording pip (#9634) 2022-11-28 16:29:43 +01:00
Florian Duros 033c26ab53 Fix edit a reply in rich text editor (#9615)
Fix edit a reply in rich text editor
2022-11-28 16:01:49 +01:00
Michael Weimann b302275289 Add input device selection during voice broadcast (#9620) 2022-11-28 14:16:44 +00:00
Michael Weimann 5b5c3ab33c Tweak voice broadcast play icon (#9622) 2022-11-28 12:03:18 +00:00
Michael Weimann e38c59c535 Pause voice broadcast on calls (#9623) 2022-11-28 11:43:59 +00:00
Michael Weimann ad190b1dcc Update @typescript-eslint/parser (#9621) 2022-11-25 14:00:35 +00:00
Janne Mareike Koschinski 55d9dbf00d Fix thread list jumping back down while scrolling (#9606)
* Fix timeline jumping after every thread update

* Add tests to prevent this from occuring again
2022-11-25 13:22:06 +01:00
Michael Weimann 5c60211d76 Fix login screen style (#9611) 2022-11-25 08:49:11 +01:00
Michael Weimann 55921e4888 Fix voice broadcast recording (#9617) 2022-11-25 08:47:46 +01:00
Florian Duros d71a72e27c Add slow jest reporter (#9599)
Add slow jest reporter
2022-11-24 14:53:32 +01:00
Florian Duros 7c63d52500 Add placeholder for rich text editor (#9613)
* Add placeholder for rich text editor
2022-11-24 10:31:56 +00:00
Michael Telatynski 8b8d24c24c Fix regression with TimelinePanel props updates not taking effect (#9608)
* Fix regression with TimelinePanel props updates not taking effect

* Add test
2022-11-24 09:51:21 +00:00
Michael Weimann a8e15ebe60 Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
Michael Weimann cbf5c43ae7 Update to eslint-plugin-matrix-org 0.8 (#23825)
* Update to eslint-plugin-matrix-org 0.8

* Exclude some eslint rules for specs

* Fix eslint tests path
2022-11-23 16:24:36 +00:00
Michael Weimann 569a364933 Add filter console test util (#9607) 2022-11-23 09:01:42 +01:00
Germain 40cbee60db Consolidate public room search experience (#9605) 2022-11-22 15:05:09 +00:00
Michael Telatynski 041bb46284 Wire up Netlify deployments for update notifications (#9609) 2022-11-22 14:37:29 +01:00
RiotRobot c1d4abbeb0 Reset matrix-react-sdk back to develop branch 2022-11-22 12:16:31 +00:00
RiotRobot 5cc0462c08 Reset matrix-js-sdk back to develop branch 2022-11-22 12:16:18 +00:00
RiotRobot 6a07d25b5c Merge branch 'master' into develop 2022-11-22 12:16:01 +00:00
RiotRobot 8c271f3d2d v1.11.15 v1.11.15 2022-11-22 12:12:12 +00:00
RiotRobot e9df9428cd Prepare changelog for v1.11.15 2022-11-22 12:12:11 +00:00
RiotRobot 1ec2155cc2 Upgrade matrix-react-sdk to 3.61.0 2022-11-22 12:02:58 +00:00
RiotRobot c777be5102 Upgrade matrix-js-sdk to 21.2.0 2022-11-22 11:51:18 +00:00
RiotRobot 6ea483324e Reset matrix-js-sdk back to develop branch 2022-11-22 11:40:05 +00:00
RiotRobot bbbc3bdd50 Resetting package fields for development 2022-11-22 11:39:52 +00:00
RiotRobot bda75eb946 Merge branch 'master' into develop 2022-11-22 11:39:48 +00:00
RiotRobot 5da57e8d3c v3.61.0 2022-11-22 11:39:30 +00:00
RiotRobot a9a1f427ca Prepare changelog for v3.61.0 2022-11-22 11:39:29 +00:00
RiotRobot 72113ed941 Upgrade matrix-js-sdk to 21.2.0 2022-11-22 11:31:21 +00:00
Michael Telatynski b34a4ed311 Delete redeploy.py (#23814) 2022-11-22 10:49:18 +00:00
Germain 7b5e73207f Fix SpaceTreeLevel enzyme test (#9602) 2022-11-22 09:53:33 +00:00
Michael Weimann e5ce6d7800 New password reset flow (#9581) 2022-11-22 07:58:37 +01:00
Michael Weimann 3f74ac37e8 Refactor PipView + fix strict errors (#9604) 2022-11-22 07:57:38 +01:00
Eric Eastwood 2393510a7f Fix getRelationsForEvent under TypeScript strict mode (#9558)
* Fix getRelationsForEvent tsc strictness

* Use shared type for GetRelationsForEvent

* Fix lint

* Add alternative type

* getRelationsForEvent is not required

* Relations are optional

* Reactions are optional

* We expect relations in these tests

* Add more protection if the eventID is not defined

* Allow null too

* Better test typing

* User ID is not necessary unless something is selected

* It's okay to [].includes(null)

* Null is as good as undefined here

* Null or undefined is good here

* We have some expectations for the tests

* The room and user can be undefined too

* Protec

* Reactions are optional

* Try match signatures

* Null or undefined

* More null or undefined

* Protec

* Fix typo (wrong variable)

* Remove optional params

See https://github.com/matrix-org/matrix-react-sdk/pull/9558#discussion_r1017515913

* Fix up last maaaaybe relevant lint

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-11-21 20:54:24 -07:00
Michael Weimann 2cd1fad10b Fix form tooltip positioning (#9598) 2022-11-21 15:48:41 +01:00
Michael Telatynski 8c0d202df4 Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600)
* Enable tsc alwaysStrict

* Enable tsc strictBindCallApply

* Enable tsc noImplicitThis

* Add d.ts

* Improve types

* Add ?

* Increase coverage

* Improve coverage
2022-11-21 11:24:59 +00:00
Michael Telatynski 0b54699829 Add --noImplicitAny to strict CI check (#9601) 2022-11-21 09:19:02 +00:00
renovate[bot] 4bf0dbb59c Update babel monorepo (#23797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 08:40:45 +00:00
renovate[bot] 5ae6b4909c Update typescript-eslint monorepo to v5.43.0 (#23798)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-21 08:29:54 +00:00