Commit Graph

70188 Commits

Author SHA1 Message Date
r00ster 5b51efd861 Make system fonts work more reliably (#8602)
* Make system fonts work more reliably

* Make it more sophisticated

* Missing semicolon

* Apply suggestions

* Fix formatting

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Create FontWatcher-test.tsx

* Add actual tests

* Fix some errors

* Apply suggestions

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Apply suggestions from code review

* Fix FontWatcher tests

* Correct test fixture

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-23 17:29:16 +01:00
Michael Telatynski b4d657b21f Fix emoji picker for editing thread responses (#8671) 2022-05-23 16:07:17 +01:00
Michael Telatynski e50e04c507 Improve typing (#364)
* Improve typing

* Make sonar happier
2022-05-23 15:44:29 +01:00
Suguru Hirahara 20fd68b902 Organize UserInfo.scss (#8461)
* .mx_UserInfo_profileField under .mx_UserInfo_memberDetails

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* .mx_UserInfo_container:not(.mx_UserInfo_separator) under .mx_UserInfo_container

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* reorganize structure of .mx_UserInfo_avatar - 1

.mx_UserInfo_avatar > div > div *

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* reorganize structure of .mx_UserInfo_avatar - 2

.mx_UserInfo_avatar > div > div

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* reorganize structure of .mx_UserInfo_avatar - 3

.mx_UserInfo_avatar > div

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* reorganize structure of .mx_UserInfo_avatar - 4

- .mx_BaseAvatar_initial
- .mx_BaseAvatar

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* reorganize structure of .mx_UserInfo_avatar - 5

Move .mx_BaseAvatar_initial under .mx_BaseAvatar

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Replace a wildcard with className

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Specify className

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* .mx_UserInfo.mx_BaseCard.mx_UserInfo_smallAvatar

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use variables

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix position of the E2E icon of expanding sessions button

To prevent the icon from moving down a little bit

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run lint:style --fix

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-23 12:42:31 +01:00
James Salter 11a3011cbd Option to disable hardware acceleration on Element Desktop (#22295)
Override ElectronPlatform to support disableHardwareAcceleration
2022-05-23 11:50:10 +01:00
James Salter d1f488a094 Merge pull request #365 from vector-im/disable-hardware-acceleration
Option to disable hardware acceleration
2022-05-23 11:49:58 +01:00
James Salter 4f9598361f Add the option to disable hardware acceleration (#8655) 2022-05-23 11:23:40 +01:00
Michael Weimann 1535ff0d6c Move map attribution to top right (#8621)
Signed-off-by: Michael Weimann <michaelw@matrix.org>

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-23 12:19:59 +02:00
Suguru Hirahara 764b307e63 Edit properties and values of EventTile on ThreadView (#8638)
* Edit properties and values of EventTile on ThreadView

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove obsolete order properties of EventTile on ThreadView

These values are no longer required as the reactions row is displayed under the message by default.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-23 11:11:55 +01:00
Suguru Hirahara eb977e6e7d Add padding to event info tile for MessageTimestamp on TimelineCard (#8639)
* Add padding-right to EventTile_line in EventTile_info on TimelineCard

Also ensure the same padding values are applied to EventTile_line on TimelineCard.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove git diff

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-23 09:52:52 +00:00
Suguru Hirahara 67b0078b33 Integrate thread panel's header style declarations with those of BaseCard (#8651)
* Variable on mx_BaseCard_Header

- Use a variable for margin of buttons on mx_BaseCard_header
- Reduce default margin instead of setting negative left and right values
- Set margin to span in order to ensure spacing between the back button and the span (6px: 30px - 24px)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use the same variable to the mask button

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use spacing variables

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove obsolete declarations - mx_ThreadPanel_button

mx_ThreadPanel_button does not seem to be used anywhere.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-23 09:42:48 +02:00
Suguru Hirahara 5446d5d6ba Fix position of wide images on IRC / modern layout (#8667)
* Move declarations related to position from _MImageBody.scss to _EventTile.scss

These declarations should not be defined as default values as position depends on other factors such as layout, etc.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move min-height and min-width declarations from _MImageBody.scss to _EventTile.scss

Since min-height and min-width have been specified for bubble layout, the declarations have been expected to be applied to the other layouts.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Apply 'justify-content: center' to bubble layout only

'justify-content: center' was added for the bubble layout with 1436f23. It should not be applied to the other layouts.

In order to prevent an issue related to cascading from happening, 'justify-content: flex-start' is explicitly specified.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run lint:style --fix

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-23 09:02:13 +02:00
RiotRobot 7c5cb70abe Merge pull request #362 from vector-im/actions/upgrade-deps
Upgrade dependencies
2022-05-22 09:54:40 +01:00
Michael Telatynski 42ab878b08 Update Node Headers URL
https://www.electronjs.org/docs/latest/breaking-changes#deprecated-atomio-node-headers-url
2022-05-22 09:33:14 +01:00
Suguru Hirahara 11cb48176e Fix other user's displayName being wrapped on the bubble message layout (#8456) 2022-05-22 09:07:29 +02:00
Suguru Hirahara 6825b43f42 Set spacing declarations to elements in mx_EventTile_mediaLine (#8665) 2022-05-22 08:19:45 +02:00
Suguru Hirahara 23babbb8ab Normalize inline spacing of image and file button on ThreadView (#8664) 2022-05-21 22:19:56 +02:00
Suguru Hirahara 5082d67dc1 Fix wide image overflowing from the thumbnail container (#8663) 2022-05-21 14:42:55 +00:00
pvagner c1c3ed6a9e Slightly better presentation of read receipts to screen reader users (#8662) 2022-05-21 13:06:47 +02:00
Suguru Hirahara e1e87ac019 Fix styles of "Show all" link button on ReactionsRow (#8658) 2022-05-21 11:38:50 +02:00
Suguru Hirahara 348863debb Move '.mx_ThreadSummary' from _ThreadPanel.scss to _TimelineCard.scss (#8661) 2022-05-21 11:34:00 +02:00
Robin 6c7f663983 Stop Jitsi if we time out while connecting to a video room (#22301) 2022-05-20 16:25:31 -04:00
Robin 79ad065d6a Stop Jitsi if we time out while connecting to a video room (#8659) 2022-05-20 16:25:28 -04:00
Janne Mareike Koschinski 01a3150d44 Automatically log in after registration (#8654) 2022-05-20 19:14:17 +02:00
Michael Telatynski 762d052501 Fix offline status in window title not working reliably (#8656) 2022-05-20 17:46:16 +01:00
Travis Ralston 025fb631b7 Update "jump to related event" for design requirements & dev tooling (#8652) 2022-05-20 08:07:00 -06:00
James Salter f766cd0dca Add log line to denote disabling hardware acceleration 2022-05-20 13:37:58 +01:00
James Salter 1ebe1b549a Merge remote-tracking branch 'origin' into disable-hardware-acceleration 2022-05-20 13:29:14 +01:00
James Salter bf62a92b50 Read and write config option disableHardwareAcceleration 2022-05-20 13:26:16 +01:00
RiotRobot c4d9ae9836 v1.10.13-rc.2 2022-05-20 12:16:48 +01:00
RiotRobot c6128d7256 Prepare changelog for v1.10.13-rc.2 2022-05-20 12:16:48 +01:00
RiotRobot 57499c721f v1.10.13-rc.2 v1.10.13-rc.2 2022-05-20 11:18:17 +01:00
RiotRobot 61a8b6fbc6 Prepare changelog for v1.10.13-rc.2 2022-05-20 11:18:17 +01:00
RiotRobot 095f2733f7 Upgrade matrix-react-sdk to 3.45.0-rc.3 2022-05-20 11:07:31 +01:00
RiotRobot b9af13b533 Upgrade matrix-js-sdk to 18.0.0-rc.2 2022-05-20 11:06:53 +01:00
RiotRobot 17cdf58d2d v3.45.0-rc.3 2022-05-20 11:00:07 +01:00
RiotRobot dc708d90b6 Prepare changelog for v3.45.0-rc.3 2022-05-20 11:00:05 +01:00
RiotRobot 3c2e9c364a Upgrade matrix-js-sdk to 18.0.0-rc.2 2022-05-20 10:58:03 +01:00
Michael Telatynski b66510a90b Fix crash on null idp for SSO buttons (#8650) (#8653)
* Add test case for null identity_providers for SSO

* Fix typing for identity_providers

* Make null idp explicit and handle in analytics

* chore: whitespace fix

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
(cherry picked from commit 60cd740b66)

Co-authored-by: Hugh Nimmo-Smith <hughns@users.noreply.github.com>
2022-05-20 10:56:39 +01:00
Kerry 804ddbb332 Live location sharing - update live location tiles (PSF-1027) (#8649)
* update map svg

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add map fallback component, update styls

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update purple location icon style

Signed-off-by: Kerry Archibald <kerrya@element.io>

* fussy import ordering

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-20 09:49:01 +00:00
Suguru Hirahara 30b03776b8 Align input area with event body's first letter in a thread on IRC/modern layout (#8636)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-05-20 10:14:37 +01:00
Hugh Nimmo-Smith 60cd740b66 Fix crash on null idp for SSO buttons (#8650)
* Add test case for null identity_providers for SSO

* Fix typing for identity_providers

* Make null idp explicit and handle in analytics

* chore: whitespace fix

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-05-20 10:08:57 +01:00
Michael Telatynski fab52795e3 Consolidate i18n check into a reusable workflow (#22248)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow
2022-05-20 01:17:34 +01:00
Michael Telatynski bce69efd37 Consolidate i18n check into a reusable workflow (#361)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow
2022-05-20 00:01:07 +00:00
Michael Telatynski a0cdc93642 Rename i18n_check.yaml to i18n_check.yml 2022-05-20 00:37:58 +01:00
Michael Telatynski 896c8c9035 Consolidate i18n check into a reusable workflow (#8634)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow

* Update .github/workflows/i18n_check.yaml

Co-authored-by: Travis Ralston <travisr@matrix.org>

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-05-20 00:36:58 +01:00
Oliver Sand f7ba3f07cd Support avatar_url in the scalar client API (#8550)
* Support avatar_url in the scalar client API

Signed-off-by: Oliver Sand <oliver.sand@nordeck.net>

* Fix return type

* Remove automatic upload

* Remove return type

* Fix indention
2022-05-19 16:22:38 -06:00
Šimon Brandner efc36acf93 Don't open the regular browser or our context menu on right-clicking the Options button in the message action bar (#8648) 2022-05-19 15:26:35 +00:00
Sumner Evans 395b167b20 Show notifications even when Element is focused (#8590) 2022-05-19 14:44:47 +00:00
Germain 3f2f839b3b Add jump to related event context menu item (#6775) 2022-05-19 14:56:10 +01:00