Commit Graph

32133 Commits (b1091a22a3777392ed39e98b619de9d71e0a35d0)

Author SHA1 Message Date
Šimon Brandner b1091a22a3
Don't render context menu button if mxEvent is missing
The button is useless and doesn't work if we're viewing an avatar

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:11:09 +02:00
Šimon Brandner e1446f01e4
Make ImageView static
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:07:17 +02:00
Šimon Brandner f1c80fcede
Call onCloseDialog straigh away
This avoids some delay in the dialog disappearing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:04:50 +02:00
Šimon Brandner 86dd81cda0
Fix rotation animation when rotating 360 deg
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:16:52 +02:00
Šimon Brandner 829bef45a2
Close dialog on redact
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:13:42 +02:00
Šimon Brandner b723092ed2
Add null check
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:05:49 +02:00
Šimon Brandner 7f496c7bf5
Add comment: same on all themes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:04:07 +02:00
Šimon Brandner 90f9d20f45
Add comment about refs to functional components
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:03:10 +02:00
Šimon Brandner 4a40f67e75
Make private
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:02:38 +02:00
Šimon Brandner cb02c39d7f
Add name to copyright
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-09 08:01:14 +02:00
Šimon Brandner 88a881baec
ZOOM_DISTANCE into a const
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 16:19:22 +02:00
Šimon Brandner fd8e785a5e
Why don't I convert this to Typescript while I am here?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 16:14:27 +02:00
Šimon Brandner 12a36d1a30
This is hopefully not true anymore
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:44:40 +02:00
Šimon Brandner 429c945bbf
Don't allow translation when zoomed out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:37:42 +02:00
Šimon Brandner 722178e26e
Don't return false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:22:10 +02:00
Šimon Brandner 2ff34000fd
Reset translation with zoom out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:16:42 +02:00
Šimon Brandner 7068996b60
Animate zooming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:09:53 +02:00
Šimon Brandner 33a1006488
Iterate mouse actions and cursor behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:01:41 +02:00
Šimon Brandner eb83ae0a9f
Use MIN_ZOOM in contructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:40:13 +02:00
Šimon Brandner 80854ab6bb
Don't show seconds in ImageView
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:25:21 +02:00
Šimon Brandner e79254e7bf
Set opacity of lightboxes to 95 in light theme
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:07:36 +02:00
Šimon Brandner 12b3661dd6
Set color-hex-case to null
There is both lowercase and uppercase in some files so this should just make life easier if someone is using a stylelinter

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:03:28 +02:00
Šimon Brandner 535ae086b4
Make sender bold
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:31:42 +02:00
Šimon Brandner e5a563f887
Close ImageView after forward click
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:17:05 +02:00
Šimon Brandner 9606297f7c
Merge branch 'develop' into improve-image-view
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:15:51 +02:00
David Baker cd39474d26
Merge pull request #5798 from matrix-org/dbkr/attended_transfer
Attended transfer
2021-04-01 17:34:30 +01:00
Germain 151749b675
Merge pull request #5822 from matrix-org/gsouquet-user-autocomplete-nonprefix 2021-04-01 14:01:50 +01:00
Germain 5ac1d3a456
Merge pull request #5806 from matrix-org/gsouquet-seshat-reset 2021-04-01 09:22:02 +01:00
Germain Souquet a4345811b0 Merge branch 'develop' into gsouquet-seshat-reset 2021-04-01 09:06:35 +01:00
Germain Souquet 85f9e43f01 Update seshat reset dialog copy 2021-04-01 09:03:50 +01:00
Germain Souquet 4fcb258981 Refactor SeshatResetDialog props interface to use IDialogProps 2021-04-01 08:58:39 +01:00
Travis Ralston 2ab304189d
Merge pull request #5816 from aaronraimist/redact-re-request
Prevent Re-request encryption keys from appearing under redacted messages
2021-03-31 18:23:47 -06:00
Germain Souquet c81847689a Remove query matcher shouldMatchPrefix support 2021-03-31 18:21:02 +01:00
J. Ryan Stinnett 7c4437ac9b
Merge pull request #5815 from czeidler/keybindings-follow-up
Keybindings follow up
2021-03-31 17:54:05 +01:00
Germain b7ee11a356
Merge pull request #5821 from matrix-org/gsouquet-default-visible-tiles
Increase default visible tiles for room sublists
2021-03-31 17:17:17 +01:00
Germain 5e21a86da9
Merge pull request #5817 from matrix-org/gsouquet-docs
Change copy to point to native node modules docs in element desktop
2021-03-31 12:51:36 +01:00
J. Ryan Stinnett 58343c7699 Fix search error typo
This fixes a typo in the recently added search error message.
2021-03-31 11:55:21 +01:00
Germain Souquet 377b6c8a05 Make user autocomplete query search beyond prefix 2021-03-31 11:41:22 +01:00
Germain Souquet 3f33060cdd increase default visible tiles for room sublists 2021-03-31 11:15:16 +01:00
David Baker 299467c515 Merge remote-tracking branch 'origin/develop' into dbkr/attended_transfer 2021-03-31 10:14:48 +01:00
Travis Ralston b68fabb44b
Merge pull request #5801 from matrix-org/travis/voice-messages/waveform
Show waveform and timer in voice messages
2021-03-30 12:16:19 -06:00
Travis Ralston b15412056e It helps to use the right function 2021-03-30 12:08:11 -06:00
Travis Ralston 60326e359a Clarify comment 2021-03-30 12:01:35 -06:00
J. Ryan Stinnett b089f3d2f9
Merge pull request #5585 from ndarilek/label-base-avatar
Label unlabeled avatar button in event panel
2021-03-30 12:21:17 +01:00
J. Ryan Stinnett 7c3a7b54e7
Merge pull request #5810 from matrix-org/t3chguy/fix/167414
Fix the theme engine breaking with some web theming extensions
2021-03-30 11:59:09 +01:00
J. Ryan Stinnett 661202839c
Merge pull request #5696 from robintown/spoiler-command
Add /spoiler command
2021-03-30 11:58:33 +01:00
Travis Ralston 54412878a1 Merge branch 'develop' into travis/voice-messages/waveform 2021-03-29 22:59:51 -06:00
Travis Ralston 9c2d44805d Revert "Avoid use of deprecated APIs, instead using an AudioWorklet"
This reverts commit 5c685dcf35.
2021-03-29 22:57:59 -06:00
Travis Ralston 9998f18d67 Stop React complaining about componentShouldUpdate() 2021-03-29 21:59:45 -06:00
Travis Ralston 5c685dcf35 Avoid use of deprecated APIs, instead using an AudioWorklet
A bit annoying that it is async, but it'll do.
2021-03-29 21:59:31 -06:00