Commit Graph

32595 Commits

Author SHA1 Message Date
Szimszon
4661fd2d2e Translated using Weblate (Hungarian)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-04-28 16:34:36 +00:00
Thibault Martin
dd0a30c0dc Translated using Weblate (French)
Currently translated at 100.0% (2924 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-04-28 16:34:33 +00:00
Robin Townsend
0214690441 Translated using Weblate (English (United States))
Currently translated at 20.1% (588 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/en_US/
2021-04-28 16:34:30 +00:00
libexus
58d83d0309 Translated using Weblate (German)
Currently translated at 99.0% (2896 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-28 16:34:29 +00:00
Besnik Bleta
3cd1a28a1d Translated using Weblate (Albanian)
Currently translated at 99.5% (2912 of 2924 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-04-26 16:04:19 +00:00
Weblate
87dcefabf2 Merge branch 'origin/develop' into Weblate. 2021-04-26 15:19:14 +00:00
Besnik Bleta
3345ef25f0 Translated using Weblate (Albanian)
Currently translated at 99.6% (2909 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-04-26 15:19:13 +00:00
waclaw66
6a517f2764 Translated using Weblate (Czech)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-26 15:19:09 +00:00
random
f16a7240a4 Translated using Weblate (Italian)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-04-26 15:19:07 +00:00
jelv
8afcf82934 Translated using Weblate (Dutch)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-04-26 15:19:03 +00:00
libexus
bb4c454d38 Translated using Weblate (German)
Currently translated at 99.2% (2898 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-26 15:18:59 +00:00
J. Ryan Stinnett
9401a6d6dc
Merge pull request #5916 from SimonBrandner/image-view-zoom
Dynamic max and min zoom in the new ImageView
2021-04-26 15:46:26 +01:00
Travis Ralston
ddb8947c15
Merge pull request #5897 from matrix-org/travis/error-states
Improve message error states
2021-04-26 08:16:26 -06:00
Šimon Brandner
38566a3644
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 15:51:56 +02:00
Šimon Brandner
1fcad1a634
Show zoom buttons only if zooming is enabled
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 15:47:58 +02:00
Šimon Brandner
53e8b5e6af
Merge branch 'image-view-zoom' of https://github.com/SimonBrandner/matrix-react-sdk into image-view-zoom 2021-04-26 15:01:47 +02:00
Šimon Brandner
3547d1f93b
Change cursor to default
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 15:01:06 +02:00
Šimon Brandner
e374fcfe91
Fix spelling 2021-04-26 13:49:29 +02:00
Šimon Brandner
dbca370497
Try to precalculate the zoom from width and height props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:48:14 +02:00
Šimon Brandner
b741b3112a
If the image is small don't scale
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:47:06 +02:00
Šimon Brandner
33107a1f47
Fall back to natural height and width
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:30:14 +02:00
Šimon Brandner
c1a4204ad3
Use a ref instead of that ugly thing
Sometimes I do really weird things and don't know why :D

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-26 13:11:41 +02:00
J. Ryan Stinnett
dda18c9384
Merge pull request #5914 from matrix-org/jryans/forget-room-error
Check for null room in `VisibilityProvider`
2021-04-26 10:36:21 +01:00
Priit Jõerüüt
5ddafb96a9 Translated using Weblate (Estonian)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-04-24 18:36:41 +00:00
XoseM
9995e7a465 Translated using Weblate (Galician)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-04-24 18:36:37 +00:00
waclaw66
04e54ff95a Translated using Weblate (Czech)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-24 18:36:33 +00:00
Jeff Huang
124cba679c Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-04-24 18:36:29 +00:00
LinAGKar
afceb7c2e4 Translated using Weblate (Swedish)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-04-24 18:36:25 +00:00
Nikita Epifanov
6ce1c06887 Translated using Weblate (Russian)
Currently translated at 97.9% (2859 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-24 18:36:21 +00:00
Szimszon
db9a06def6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-04-24 18:36:18 +00:00
Thibault Martin
e3e09c6593 Translated using Weblate (French)
Currently translated at 100.0% (2920 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-04-24 18:36:14 +00:00
Aaron Raimist
e40c822dbf Translated using Weblate (English (United States))
Currently translated at 19.9% (583 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/en_US/
2021-04-24 18:36:10 +00:00
Sven Grewe
dc93d4c220 Translated using Weblate (German)
Currently translated at 99.2% (2899 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-24 18:36:09 +00:00
Hannah Rittich
bfabb7f611 Translated using Weblate (German)
Currently translated at 99.2% (2899 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-24 18:36:09 +00:00
libexus
ad4b764096 Translated using Weblate (German)
Currently translated at 99.2% (2899 of 2920 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-24 18:36:09 +00:00
Šimon Brandner
0e312977e3
Rework zooming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 10:36:53 +02:00
Šimon Brandner
90f2423eb7
Fix zoom step and coeficient
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 10:35:25 +02:00
Šimon Brandner
bcc6e5c5d5
Add some comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:41:46 +02:00
Šimon Brandner
9b7a9fc865
Use MAX_SCALE for maxZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:24:25 +02:00
Šimon Brandner
1a906c95da
Merge branch 'develop' into image-view-zoom 2021-04-24 09:14:30 +02:00
Šimon Brandner
dcc060f6f7
Use correct cursor when we can't zoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:00:15 +02:00
Šimon Brandner
e0e9ccbf95
Remove logline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:38:13 +02:00
Šimon Brandner
57b34f8dbc
Get rid of onWindowResize()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:37:51 +02:00
Šimon Brandner
f8af9831a9
Don't use percanteages
I was an idiot to use them in the first place

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:35:45 +02:00
Šimon Brandner
4523b8c7b8
Add dynamic maxZoom and wire it all up
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:32:28 +02:00
Šimon Brandner
dad7a22055
Initial code for dynamic minZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:03:39 +02:00
Travis Ralston
49f5f89351 Give a bit of opacity to the divider colour 2021-04-23 16:04:53 -06:00
Travis Ralston
82119ad595 Merge branch 'develop' into travis/error-states 2021-04-23 15:53:37 -06:00
Travis Ralston
09af2a8891
Merge pull request #5910 from matrix-org/travis/tests/array-obj-utils
Add unit tests for various collection-based utility functions
2021-04-23 11:21:12 -06:00
Michael Telatynski
e088118650
Merge pull request #5909 from robintown/spaces-visual-fixes
Spaces visual fixes
2021-04-23 17:54:30 +01:00