Germain Souquet
b4cb275ca1
Fix expanding last collapsed sticky session when zoomed in
2021-06-09 17:59:41 +01:00
Germain
91a88f25a8
Merge pull request #6168 from matrix-org/gsouquet/fix-17586
...
Revert refreshStickyHeaders optimisations
2021-06-09 16:34:11 +01:00
David Baker
0b90560b1a
Merge pull request #6170 from matrix-org/dbkr/call_room_logging
...
Add logging for which rooms calls are in
2021-06-09 16:24:12 +01:00
J. Ryan Stinnett
9aaf506ad5
Merge pull request #6169 from matrix-org/jryans/rebuild-the-sky
...
Restore read receipt animation from event to event
2021-06-09 16:16:17 +01:00
David Baker
bd8fd246c6
Add logging for which rooms calls are in
2021-06-09 16:04:03 +01:00
J. Ryan Stinnett
c6972c4535
Fix spelling
2021-06-09 15:53:38 +01:00
J. Ryan Stinnett
e566704bdf
Remove redundant early return
2021-06-09 15:48:30 +01:00
J. Ryan Stinnett
b43315c6c1
Restore read receipt animation from event to event
...
This restores expected read receipt animation by always including the positioned
parent of read receipts. I imagine there's something smarter we could be doing,
but for now, at least least get back to expected behaviour.
Fixes https://github.com/vector-im/element-web/issues/17561
2021-06-09 15:46:10 +01:00
Germain Souquet
927de02a8e
Revert refreshStickyHeaders optimisations
2021-06-09 14:59:55 +01:00
Germain Souquet
ceed6ecbe8
Restore Page Up/Down key bindings when focusing the composer
2021-06-09 14:03:31 +01:00
Germain
8334a2ba60
Merge pull request #6143 from robintown/hide-events-perf
2021-06-09 09:13:56 +01:00
Robin Townsend
a28f5754c7
Convert TextForEvent to TypeScript
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-08 21:58:48 -04:00
Michael Telatynski
2938bfbadf
Merge pull request #6162 from matrix-org/t3chguy/fix/17596
...
Fix upgrade to element home button in top left menu
2021-06-08 17:48:45 +01:00
Michael Telatynski
90982f9b3f
Fix upgrade to element home button in top left menu
2021-06-08 17:31:08 +01:00
Michael Telatynski
2b99afc741
i18n
2021-06-08 17:05:56 +01:00
Michael Telatynski
f34a2e61bc
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
2021-06-08 16:54:49 +01:00
Michael Telatynski
34cc494a8e
Merge pull request #6140 from matrix-org/t3chguy/fix/17553
2021-06-08 16:45:35 +01:00
Michael Telatynski
93eb9feaa7
iterate PR based on feedback
2021-06-08 16:42:58 +01:00
Michael Telatynski
54241f44c2
delint
2021-06-08 16:40:01 +01:00
Michael Telatynski
f84ee22769
Add comment
2021-06-08 16:36:53 +01:00
Michael Telatynski
90bb7c1482
Switch Space Settings for a tabbed view with a bunch more settings exposed
2021-06-08 16:33:47 +01:00
Michael Telatynski
856a5682b9
Improve useRoomPowerLevels hook
2021-06-08 16:33:06 +01:00
Michael Telatynski
fdecba2fe5
Make AliasSettings space-aware, remove stale unused props
2021-06-08 16:32:43 +01:00
Michael Telatynski
78debcc93b
Add method to disable StyledRadioGroup and wrap description in element with a className
2021-06-08 16:31:39 +01:00
Michael Telatynski
5c85ee1ea0
Make AdvancedRoomSettingsTab space-aware
2021-06-08 16:30:46 +01:00
Michael Telatynski
13a2f779b9
improve defaults for useRoomState and useStateToggle hooks
2021-06-08 16:29:06 +01:00
David Baker
399be4fa5d
Merge pull request #6161 from matrix-org/dbkr/widget_load_error
...
Better handling for widgets that fail to load
2021-06-08 16:28:44 +01:00
Michael Telatynski
8d4ac90265
Convert RoomPublishSetting and LabelledToggleSwitch to Typescript
2021-06-08 16:28:37 +01:00
Michael Telatynski
9454a4e6c7
Convert AdvancedRoomSettingsTab to Typescript
2021-06-08 16:28:02 +01:00
David Baker
90a58380fd
Make it translateable
...
And also the other one that I copied from
2021-06-08 16:15:20 +01:00
Šimon Brandner
bf77a4a2ab
Merge remote-tracking branch 'upstream/develop' into show-username
2021-06-08 17:14:42 +02:00
David Baker
26a030abcd
Better handling for widgets that fail to load
2021-06-08 12:40:38 +01:00
Michael Telatynski
432373a00e
Merge pull request #5999 from robintown/improved-forwarding-ui
2021-06-08 10:52:06 +01:00
Robin Townsend
b00ad63a35
Fix whitespace nitpick
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-07 19:16:00 -04:00
Robin Townsend
a8dab04d5e
Remove mystery dot from forward dialog preview
...
It was a bullet point, since EventTiles now get created as li by default
:P
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-07 19:10:45 -04:00
Robin Townsend
b97867271b
Merge branch 'develop' into improved-forwarding-ui
2021-06-07 19:09:36 -04:00
Robin Townsend
5e3ad62189
Remove mysterious dot from EventTilePreviews
...
It was a bullet point, since EventTiles now get created as li by
default :P
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-07 19:03:04 -04:00
Robin Townsend
ea98499ca6
Merge branch 'develop' into event-tile-preview-fixes
2021-06-07 18:56:12 -04:00
Aaron Raimist
946416cf87
Make serverCandidates optional
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-06-07 17:09:56 -05:00
Aaron Raimist
9fdbd4c120
Merge branch 'develop' into share-room
2021-06-07 17:00:44 -05:00
Michael Telatynski
65cc42b555
Merge pull request #6160 from robintown/fix-setting-watchers
2021-06-07 22:56:39 +01:00
Aaron Raimist
a5bf17ff65
Revert incorrect change to forShareableRoom
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-06-07 16:54:41 -05:00
Michael Telatynski
ced6c43147
Merge pull request #6152 from matrix-org/t3chguy/fix/17571
...
Fix Stickerpicker context menu
2021-06-07 22:21:19 +01:00
Michael Telatynski
801b5f9c1a
Merge pull request #6155 from matrix-org/t3chguy/spacesteammatewarning
...
Add warning to private space creation flow
2021-06-07 22:21:07 +01:00
Šimon Brandner
b39c615abc
Reorder
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 19:44:58 +02:00
Šimon Brandner
4185185cdc
Reduce number of DOM elements
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 19:42:48 +02:00
Šimon Brandner
025148d9fc
Merge branch 'develop' into show-username
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 19:37:22 +02:00
Tirifto
ed80db73d4
Translated using Weblate (Esperanto)
...
Currently translated at 99.9% (2978 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-06-07 17:34:41 +00:00
Germain Souquet
187a367111
Add prop to alwaysShowTimestamps on TimelinePanel
2021-06-07 17:11:14 +01:00
Michael Telatynski
4725a9e8fa
Extract useRoomState hook into hooks directory
2021-06-07 16:42:59 +01:00
Michael Telatynski
a7eb09af1e
Convert EditableItemList & AliasSettings to Typescript
2021-06-07 15:48:55 +01:00
Michael Telatynski
6d80cd5913
Merge pull request #6149 from SimonBrandner/fix/jumps-image-view
2021-06-07 15:19:45 +01:00
Šimon Brandner
20a3dd67d6
Some more styling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 16:12:06 +02:00
Šimon Brandner
255f996710
landscape -> imageIsNotFlipped
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 15:46:03 +02:00
Šimon Brandner
b5d271759f
Why would I format this myself if eslint can do it for me?
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 15:43:43 +02:00
Šimon Brandner
2e47a1176f
Get rid of weird rotation prop
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 15:39:11 +02:00
Šimon Brandner
0918ebad0a
calculateZoomAndRotate -> setZoomAndRotation
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 15:28:37 +02:00
Šimon Brandner
5880cb3b5f
Better wording
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-07 15:26:54 +02:00
Šimon Brandner
67c9fe1e07
Revert "Update curly braces styling"
...
This reverts commit ba0f6766ca
.
2021-06-07 15:25:57 +02:00
Michael Telatynski
6d2a7390d7
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17244
2021-06-07 14:15:49 +01:00
Michael Telatynski
f3aa505673
Add warning to private space creation flow
2021-06-07 14:14:31 +01:00
Michael Telatynski
bd8fd77d54
Merge pull request #6148 from robintown/fix-timestamps
2021-06-07 13:12:11 +01:00
Michael Telatynski
b60feab7d2
Merge pull request #6147 from robintown/easier-image-panning
2021-06-07 12:47:43 +01:00
Germain
a3a6f3fa31
Merge pull request #6154 from matrix-org/gsouquet/fix-files-scroll-token
2021-06-07 12:44:59 +01:00
Germain
ea6904ce2a
Fix local echo comment for scroll tokens
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-06-07 12:37:11 +01:00
Germain Souquet
d111f4cbb1
Merge branch 'develop' into gsouquet/fix-files-scroll-token
2021-06-07 12:25:08 +01:00
Germain Souquet
6693c39709
make event list summary a list item
2021-06-07 12:17:29 +01:00
Michael Telatynski
4cc95dd184
Make skinning less upset
2021-06-07 11:20:35 +01:00
Michael Telatynski
ae04b2ce4a
Fix Dialog/Modal types defn
2021-06-07 11:06:30 +01:00
Michael Telatynski
2525db6fb1
Convert Resend to Typescript
2021-06-07 11:03:39 +01:00
Michael Telatynski
f6e4943bef
Convert RoomAliasCache to Typescript
2021-06-07 11:01:38 +01:00
Michael Telatynski
50d3e04bda
Convert MatrixActionCreators to Typescript
2021-06-07 10:58:22 +01:00
Michael Telatynski
c8b3acb7e4
Convert utils to Typescript
2021-06-07 10:57:46 +01:00
Michael Telatynski
b2d9dd7214
Convert LifecycleStore to Typescript
2021-06-07 10:57:39 +01:00
Michael Telatynski
3431ebb995
Convert AsyncWrapper to Typescript
2021-06-07 10:57:25 +01:00
Michael Telatynski
9315a87ebf
Convert EventIndex to Typescript
2021-06-07 10:57:11 +01:00
Michael Telatynski
d2ce670d3e
Remove unused code
2021-06-07 10:56:10 +01:00
Germain Souquet
a6ddffe74c
Add scroll token to file and notif event tiles
2021-06-07 09:26:42 +01:00
Michael Telatynski
31d308a1fb
Fix Stickerpicker context menu
2021-06-07 09:22:47 +01:00
Michael Telatynski
271f544637
Stash
2021-06-07 08:59:57 +01:00
Michael Telatynski
8c34a8461e
Add way to specify address during public space creation
2021-06-07 08:57:39 +01:00
Michael Telatynski
b2b95257a8
Convert RoomAliasField to Typescript
2021-06-07 08:54:41 +01:00
Robin Townsend
21ff1f521f
Fix i18n strings
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 23:14:26 -04:00
Robin Townsend
1e574307d0
Cache lowBandwidth setting to speed up BaseAvatar
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 23:08:47 -04:00
Robin Townsend
903d4d252a
Add optimized function to determine whether event has text to display
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 23:06:56 -04:00
Šimon Brandner
ba0f6766ca
Update curly braces styling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-06 09:02:30 +02:00
Šimon Brandner
c3fdd73357
Avoid multiple setState() calls
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-06 08:56:12 +02:00
Šimon Brandner
28be581af1
Take image rotation into account when zooming
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-06 08:51:07 +02:00
Šimon Brandner
c0964b69b7
Remove redundant vars
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-06 08:14:43 +02:00
Šimon Brandner
1c8e341143
Reset all translation vars
...
Not doing this would result in jumps because everything would get out of sync
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-06 08:09:41 +02:00
Robin Townsend
ea2120bdfd
Fix timestamps
...
7f83590846
changed timestamps to be hidden
at the DOM level, not the CSS level. We can keep that approach, we just
need to ensure they still get shown at the right times.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 01:55:01 -04:00
Robin Townsend
51a18432fa
Merge branch 'develop' into event-tile-preview-fixes
2021-06-05 22:21:36 -04:00
Robin Townsend
43921500d3
Revert "Match requested avatar size to displayed size"
...
This reverts commit 44b143c8c3
.
2021-06-05 22:21:10 -04:00
Robin Townsend
e891d18fa2
Add my email to my copyright notices
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 21:41:28 -04:00
Robin Townsend
17edfec3aa
Make it easier to pan images in the lightbox
...
Previously, if you were dragging an image and your cursor outpaced the
edge of the image as it was moving, panning would abruptly stop. This
moves a few of the lightbox event listeners one level up to the image
wrapper to ensure that all drag movements are detected, even if they
don't end over the image's current position.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 21:08:44 -04:00
Robin Townsend
b06da16a85
Fix jumping to bottom without a highlighted event
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 13:20:27 -04:00
Robin Townsend
bbd5fab7b5
Fix type check
...
As TypeScript points out, you can only set an id on HTML elements, not
arbitrary components.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 11:15:06 -04:00
Robin Townsend
a06306d560
Merge branch 'develop' into improved-forwarding-ui
2021-06-05 11:04:17 -04:00
Trendyne
442d7f7a02
Translated using Weblate (Icelandic)
...
Currently translated at 22.4% (668 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
2021-06-05 14:35:10 +00:00
Thibault Martin
0ecc97eb4b
Translated using Weblate (French)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-06-05 14:35:09 +00:00
Priit Jõerüüt
0de8e9b201
Translated using Weblate (Estonian)
...
Currently translated at 99.8% (2974 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-06-05 14:35:07 +00:00
Szimszon
261c91211f
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-06-05 14:35:04 +00:00
waclaw66
3bdc84bb5d
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-06-05 14:35:02 +00:00
Besnik Bleta
af2d902830
Translated using Weblate (Albanian)
...
Currently translated at 99.6% (2970 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-06-05 14:35:00 +00:00
XoseM
f5b02ecbf5
Translated using Weblate (Galician)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-06-05 14:34:57 +00:00
Ihor Hordiichuk
fe9644baca
Translated using Weblate (Ukrainian)
...
Currently translated at 49.2% (1467 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-06-05 14:34:55 +00:00
jelv
6243e693d6
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-06-05 14:34:53 +00:00
LinAGKar
2533a9f52e
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-06-05 14:34:51 +00:00
Jeff Huang
7abd8957a5
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-06-05 14:34:49 +00:00
libexus
d7de5dfe83
Translated using Weblate (German)
...
Currently translated at 99.4% (2962 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-06-05 14:34:46 +00:00
iaiz
a85e251f0a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-06-05 14:34:44 +00:00
random
f63a92b5cf
Translated using Weblate (Italian)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-06-05 14:34:41 +00:00
Robin Townsend
3bf8e54d7f
Use cached RoomContext settings values throughout rooms
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:25:43 -04:00
Robin Townsend
13196b8146
Prefer cached settings values in shouldHideEvent
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:25:01 -04:00
Robin Townsend
48d3e41351
Cache frequently used settings values in RoomContext
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:23:51 -04:00
Robin Townsend
40d2f8228f
Fix watching settings
...
An accidental variable shadowing was preventing setting watcher
callbacks from being fired.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:16:52 -04:00
J. Ryan Stinnett
ab96d5f8af
Repair event status position in timeline
...
https://github.com/matrix-org/matrix-react-sdk/pull/6079 caused a regression in
the event status indicator. The `mx_EventTile_msgOption` container was folded
into the avatars code path, but the event status is a special case of this, so
it now needs to also have this container to preserve its positioning.
Fixes https://github.com/vector-im/element-web/issues/17552
2021-06-04 11:54:58 +01:00
Michael Telatynski
93f41ce0ab
Actually finish the empty state for the pinned messages card
2021-06-04 11:35:17 +01:00
Michael Telatynski
48bd6583ed
Fix unpinning of pinned messages
2021-06-04 11:34:54 +01:00
Šimon Brandner
48c57610df
Merge remote-tracking branch 'upstream/develop' into fix/mute-incoming-call/15591
2021-06-04 08:08:34 +02:00
Aaron Raimist
c99c42f341
Merge branch 'develop' into share-room
2021-06-04 01:08:09 -05:00
Travis Ralston
12e013508d
Merge pull request #6132 from matrix-org/travis/ts-mtxcli
...
Adapt for js-sdk MatrixClient conversion to TS
2021-06-04 00:07:22 -06:00
Šimon Brandner
629201a074
Merge branch 'develop' into fix/mute-incoming-call/15591
2021-06-04 07:59:28 +02:00
Michael Telatynski
5d0d81e79a
not sure how I butchered this merge conflict resolution this much.
2021-06-03 19:37:26 +01:00
Michael Telatynski
93010d34fd
Merge branch 'develop' into t3chguy/fix/6606
2021-06-03 19:33:09 +01:00
David Baker
7421efe8f9
Merge pull request #6136 from matrix-org/dbkr/map_phone_number_lookup_to_native
...
Map phone number lookup results to their native rooms
2021-06-03 19:01:46 +01:00
Michael Telatynski
0c97d90fb9
Iterate PR based on feedback
2021-06-03 16:44:28 +01:00
Germain
a36063704d
Merge pull request #6138 from matrix-org/gsouquet/containment-event
...
Fix mx_Event containment rules and empty read avatar row
2021-06-03 16:38:55 +01:00
Michael Telatynski
f2643151c6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
...
Conflicts:
src/components/views/dialogs/InviteDialog.tsx
2021-06-03 16:22:59 +01:00
David Baker
8ef95a6237
Interface dispatcher payload
...
& use constant in test
2021-06-03 14:38:13 +01:00
Michael Telatynski
dbaa394d65
i18n
2021-06-03 08:54:30 +01:00
Germain
7f83590846
Merge pull request #6079 from matrix-org/gsouquet/switch-rooms
2021-06-03 08:44:01 +01:00
Michael Telatynski
4f50727010
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/6606
...
Conflicts:
src/components/structures/RoomView.tsx
src/components/views/right_panel/UserInfo.tsx
2021-06-03 08:42:05 +01:00
Michael Telatynski
83d223475b
delint imports
2021-06-03 08:41:22 +01:00
Germain Souquet
a34f8a29f4
fix mx_Event containment rules and empty read avatar row
2021-06-03 08:41:12 +01:00
Michael Telatynski
4765216280
Merge branch 't3chguy/fix/6606' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/6606
2021-06-03 08:36:04 +01:00
Michael Telatynski
42a3ace82a
Iterate PR based on feedback
2021-06-03 08:35:12 +01:00
Michael Telatynski
e334ce8192
First cut of space panel drag-and-drop ordering
2021-06-03 08:32:36 +01:00
Michael Telatynski
3f12b7280d
Make AutoHideScrollbar pass through all unknown props
2021-06-03 08:31:06 +01:00
c-cal
9f1e1c2420
Translated using Weblate (French)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-06-03 07:09:49 +00:00
Miquel Lionel
b4f8c66f7b
Translated using Weblate (French)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-06-03 07:09:48 +00:00
zopieux
c1a763fb4f
Translated using Weblate (French)
...
Currently translated at 100.0% (2979 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-06-03 07:09:48 +00:00
Michael Telatynski
53fc475539
Update src/components/views/rooms/PinnedEventTile.tsx
...
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-06-03 08:03:31 +01:00
David Baker
58652152c1
Strings are now in a different place...
2021-06-02 17:52:26 +01:00
David Baker
0aeddea30f
Only do native lookup if it's supported
...
Also fix as bug where we were checking the wrong field to check
for native/virtual support: oops.
2021-06-02 17:47:29 +01:00
David Baker
2c4fa73a45
Map phone number lookup results to their native rooms
...
When dialing a phone number, also look to see if there's a corresponding
native user for the resulting user, and if so, go to the native room
for that user.
2021-06-02 17:39:13 +01:00
Michael Telatynski
079a5c10ad
Respect space ordering field in m.tag for top level spaces
2021-06-02 16:43:38 +01:00
Michael Telatynski
4290237bdf
Merge pull request #6135 from matrix-org/t3chguy/fix/17494
...
ignore hash/fragment when de-duplicating links for url previews
2021-06-02 15:08:41 +01:00
Germain Souquet
bc50028f70
Merge branch 'develop' into gsouquet-scroll-to-live-reset-hash
2021-06-02 13:57:33 +01:00
Michael Telatynski
da13ec16f3
Merge branch 't3chguy/fix/17529' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17282
2021-06-02 12:42:55 +01:00
Michael Telatynski
35948374e9
remove unused imports
2021-06-02 11:56:49 +01:00
Michael Telatynski
bc89cf14dd
ignore hash/fragment when de-duplicating links for url previews
2021-06-02 11:53:47 +01:00
Germain
9d126c51e4
Merge pull request #6113 from matrix-org/gsouquet/improve-layout-rendering
2021-06-02 11:41:59 +01:00
Germain
96f5d3af05
Merge pull request #6130 from matrix-org/gsouquet/member-list-sort
2021-06-02 11:40:52 +01:00
Michael Telatynski
bc3c759feb
Add temporary mechanism for managing communities without dnd
2021-06-02 11:33:25 +01:00
Germain Souquet
f3431feaff
Remove unused memoize import
2021-06-02 11:25:32 +01:00
Germain Souquet
82fe9a5c7b
remove unused import
2021-06-02 10:48:18 +01:00
Germain Souquet
d7a5547d80
use Intl.Collator over String.prototype.localeCompare for better performance
2021-06-02 10:42:17 +01:00
Travis Ralston
3dc6cfbf34
Undo olmVersion handling
2021-06-01 22:31:08 -06:00
Travis Ralston
c9883f346c
Build pass 1
2021-06-01 22:21:04 -06:00
Travis Ralston
5b2dacd99e
Adapt for js-sdk MatrixClient conversion to TS
...
For https://github.com/matrix-org/matrix-js-sdk/pull/1718
2021-06-01 21:36:28 -06:00
Robin Townsend
59660df0cb
Use a QueryMatcher for forward dialog filtering
...
This also allows us to filter by room aliases.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 20:17:20 -04:00
Robin Townsend
4ef69fcbf6
Use settings hooks in forward dialog
...
...to dynamically watch for layout changes.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 20:15:09 -04:00
Robin Townsend
c78167977a
Remove unused class
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 17:57:26 -04:00
Robin Townsend
b032422c6a
Fix whitespace lints
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-01 17:37:31 -04:00
Robin Townsend
56714525f2
Merge branch 'develop' into improved-forwarding-ui
2021-06-01 17:28:55 -04:00
David Baker
f0f8210790
Log when we ignore a second call in a room
...
What's more useful than a comment? A log line.
2021-06-01 19:04:52 +01:00
Michael Telatynski
0b7d3f007a
Remove react-beautiful-dnd
2021-06-01 17:35:31 +01:00
c-cal
dfa8d1a8ac
Translated using Weblate (French)
...
Currently translated at 99.7% (2973 of 2979 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-06-01 14:52:14 +00:00
Weblate
390c1d2ffd
Merge branch 'origin/develop' into Weblate.
2021-06-01 14:44:36 +00:00
Percy
31163df863
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-06-01 14:44:33 +00:00
random
e69c57ae94
Translated using Weblate (Italian)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-06-01 14:43:54 +00:00
Percy
352ca1d270
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-06-01 14:43:51 +00:00
iaiz
40619b83e0
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-06-01 14:43:49 +00:00
Trendyne
be55864c5e
Translated using Weblate (Icelandic)
...
Currently translated at 22.1% (660 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
2021-06-01 14:43:46 +00:00
Hivaa
92119afbfc
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-06-01 14:43:45 +00:00
Tirifto
20a03de6cc
Translated using Weblate (Esperanto)
...
Currently translated at 99.9% (2972 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-06-01 14:43:43 +00:00
libexus
fc18e21ae1
Translated using Weblate (German)
...
Currently translated at 99.3% (2956 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-06-01 14:43:33 +00:00
Michael Telatynski
e2e3b4a454
Merge pull request #6122 from matrix-org/t3chguy/fix/rs5414
...
Fix all DMs wrongly appearing in room list when `m.direct` is changed
2021-06-01 15:42:47 +01:00
Michael Telatynski
a1ff060138
Merge pull request #6123 from matrix-org/t3chguy/fix/17517
...
Update way of checking for registration disabled
2021-06-01 15:20:21 +01:00
Michael Telatynski
4e6f1e6294
add comment
2021-06-01 15:00:59 +01:00
Germain Souquet
591314141b
Add methods visibility for AutoHideScrollbar
2021-06-01 14:15:42 +01:00
Germain Souquet
73ca6b2ad0
Add passive flag to Tooltip scroll event listener
2021-06-01 14:14:02 +01:00
Germain Souquet
308ac505a8
Migrate AutoHideScrollbar to TypeScript
...
Also changed the way the React.RefObject is collected
2021-06-01 14:13:46 +01:00
Michael Telatynski
c6c1e09cae
Merge pull request #6126 from matrix-org/t3chguy/fix/rs5384
...
Fix the ability to remove avatar from a space via settings
2021-06-01 12:11:10 +01:00
Michael Telatynski
72fab80bb9
Merge pull request #6125 from matrix-org/t3chguy/fix/17521
...
Switch to stable endpoint/fields for MSC2858
2021-06-01 12:07:41 +01:00
J. Ryan Stinnett
173b0e9d78
Merge pull request #6117 from SimonBrandner/fix/down-arrow-edit/17491
...
Clear stored editor state when canceling editing using a shortcut
2021-06-01 12:07:23 +01:00
Michael Telatynski
6e74ab0cf5
Fix the ability to remove avatar from a space via settings
2021-06-01 11:11:04 +01:00
Michael Telatynski
4526998332
Remove brand prefix too
2021-06-01 11:04:45 +01:00
Michael Telatynski
f11a7083ae
Switch to stable endpoint/fields for MSC2858
2021-06-01 11:01:09 +01:00
Michael Telatynski
e525d046c7
remove outdated TODO
2021-06-01 10:49:19 +01:00
Michael Telatynski
b2f01b8438
Respect newlines in space topics
2021-06-01 10:48:53 +01:00
Michael Telatynski
826efeaeaa
Update way of checking for registration disabled
...
Spec says 403 + M_FORBIDDEN
2021-06-01 10:22:24 +01:00
Michael Telatynski
1ea73ae9ae
Fix all DMs wrongly appearing in room list when m.direct
is changed
2021-06-01 10:18:57 +01:00
J. Ryan Stinnett
a8b6094482
Merge pull request #5674 from churchtools/default-username
...
Add url param `defaultUsername` to prefill the login username field
2021-06-01 10:12:31 +01:00
Germain Souquet
d894cc6f7a
Merge branch 'develop' into gsouquet/switch-rooms
2021-06-01 09:02:28 +01:00
Hivaa
7de605259e
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-06-01 03:48:39 +00:00
Hivaa
595f8428f5
Translated using Weblate (Persian)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-06-01 03:41:14 +00:00
Hivaa
5734304cf9
Translated using Weblate (Persian)
...
Currently translated at 95.3% (2835 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-31 18:43:19 +00:00
Aaron Raimist
ccdd2311f4
Make "share this room" use aliases if possible
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-05-29 01:38:47 -05:00
Aaron Raimist
53ebf3b8e3
Don't include via when sharing room alias
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-05-29 01:37:22 -05:00
Šimon Brandner
d72c773e2d
clearStoredEditorState when canceling editing using a shortcut
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-29 08:26:53 +02:00
Germain Souquet
fd69fce1ba
guard event listener from null values
2021-05-28 17:37:29 +01:00
Germain Souquet
f10e95956b
Use passive option for scroll handler
2021-05-28 14:59:14 +01:00
Germain
71b217e4a1
Merge pull request #6110 from matrix-org/gsouquet/sticky-header-sizing
2021-05-28 14:49:49 +01:00
Michael Telatynski
91b7f25513
delint2
2021-05-28 13:51:54 +01:00
Michael Telatynski
d319768b2e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
...
Conflicts:
src/components/views/dialogs/InviteDialog.tsx
2021-05-28 13:06:48 +01:00
Nique Woodhouse
ea26393709
Styling amends to accommodate the invite dialog footer
2021-05-28 13:00:18 +01:00
Germain Souquet
650b683761
Reposition sticky headers when layout has changed
2021-05-28 10:31:42 +01:00
Germain Souquet
29c4d9ffd0
Restore toggle LHS logic
2021-05-28 10:03:46 +01:00
David Baker
4a0d43d750
Merge pull request #6112 from matrix-org/dbkr/user_busy
...
Handle user_busy in voip calls
2021-05-28 09:43:02 +01:00
Germain Souquet
1a51ed9ffd
Make breadcrumb animation run on the compositing layer
2021-05-28 09:34:08 +01:00
Trendyne
b54e850dad
Translated using Weblate (Icelandic)
...
Currently translated at 22.1% (659 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
2021-05-27 22:35:12 +00:00
Besnik Bleta
f476cbb80c
Translated using Weblate (Albanian)
...
Currently translated at 99.6% (2964 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-05-27 22:35:11 +00:00
Tuomas Hietala
bcb3c591a4
Translated using Weblate (Finnish)
...
Currently translated at 90.8% (2702 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2021-05-27 22:35:09 +00:00
Kaede
11a3ff414f
Translated using Weblate (Japanese)
...
Currently translated at 78.2% (2326 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-05-27 22:35:00 +00:00
Hivaa
1bd9968c3e
Translated using Weblate (Persian)
...
Currently translated at 26.6% (793 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-27 22:34:56 +00:00
Tirifto
355246c88f
Translated using Weblate (Esperanto)
...
Currently translated at 97.9% (2914 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-05-27 22:34:47 +00:00
Thibault Martin
045ae490ee
Translated using Weblate (French)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-27 22:34:40 +00:00
iaiz
d743b10b3f
Translated using Weblate (Spanish)
...
Currently translated at 99.8% (2969 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-05-27 22:34:38 +00:00
Michael Telatynski
890ac14090
Merge pull request #6105 from matrix-org/t3chguy/invitedialog
...
Avoid showing warning modals from the invite dialog after it unmounts
2021-05-27 23:07:47 +01:00
David Baker
c4a26893a0
Handle user_busy in voip calls
...
Newly added to MSC2746
2021-05-27 18:57:22 +01:00
Michael Telatynski
eef15394f2
extract buildRecents return type into an interface
2021-05-27 17:00:48 +01:00
Michael Telatynski
f75fb3b349
Add footer and privacy note to the start dm dialog
2021-05-27 15:51:25 +01:00
Germain Souquet
aaca71b316
Reintroduce sticky header width
2021-05-27 12:44:53 +01:00
Germain Souquet
fcae19f831
Track left panel width using ResizeObserver
2021-05-27 12:36:16 +01:00
Michael Telatynski
086ce7c621
Merge pull request #6109 from matrix-org/t3chguy/fix/17387
...
Fix misleading child counts in spaces
2021-05-27 12:35:00 +01:00
Michael Telatynski
526bde4d9e
Merge pull request #6090 from matrix-org/t3chguy/fix/17257
...
Close creation menu when expanding space panel via expand hierarchy
2021-05-27 11:41:55 +01:00
Germain Souquet
51d88062f9
Merge branch 'develop' into gsouquet/switch-rooms
2021-05-27 10:22:16 +01:00
Michael Telatynski
d6d0922753
Fix misleading child counts in spaces
2021-05-27 10:11:28 +01:00
Germain Souquet
f31ec343f4
Use Set::size instead of Array.from()::length
2021-05-27 09:26:31 +01:00
Germain
b8a7d5d730
Better Set handling
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-27 09:23:56 +01:00
Michael Telatynski
bd653ac5a8
fix edge cases around space panel auto collapsing/closing menu
2021-05-27 09:11:43 +01:00
Germain Souquet
fbb6a42d86
fix reading Set length
2021-05-27 09:05:51 +01:00
Germain Souquet
2d15d66df8
Listen to home server sync update to remove pending rooms
2021-05-27 08:58:11 +01:00
Germain Souquet
9007afabfa
Fix JoinRoomError action name typo
2021-05-27 08:57:48 +01:00
Germain Souquet
be22a325f6
Prevent having duplicates in pending room state
2021-05-27 08:57:27 +01:00
Michael Telatynski
818dfc91ec
use useEffect to close menu whenever the space panel collapsed state changes
2021-05-27 08:48:21 +01:00
J. Ryan Stinnett
118556b542
Merge pull request #6106 from matrix-org/jryans/hidden-events-reactions
...
Update reactions row on event decryption
2021-05-26 17:34:54 +01:00
J. Ryan Stinnett
7d59d5cb39
Tune types in ReactionsRow
2021-05-26 16:51:26 +01:00
Michael Telatynski
60d161caf5
Apply some actual typescripting to this file
2021-05-26 16:47:46 +01:00
J. Ryan Stinnett
d4ca1babbe
Update reactions row on event decryption
...
This fixes a race (perhaps revealed by the recent lazy decryption work) where
the reactions row have reactions to show, but the event would not be decrypted,
so they wouldn't render. Adding a decryption listener gets things moving again.
Fixes https://github.com/vector-im/element-web/issues/17461
2021-05-26 16:47:21 +01:00
Michael Telatynski
3f10279e15
Invite Dialog don't show warning modals after unmount, it is jarring
2021-05-26 16:38:02 +01:00
Michael Telatynski
1ff870927a
When pinning a message automatically mark it as read
2021-05-26 15:40:24 +01:00
Michael Telatynski
264ab925cd
delint
2021-05-26 14:21:28 +01:00
Michael Telatynski
1ffbaee560
update style of imports in all modified files
2021-05-26 14:14:55 +01:00
Michael Telatynski
974d62e347
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/views/messages/TextualBody.js
src/components/views/right_panel/UserInfo.tsx
src/dispatcher/actions.ts
2021-05-26 14:08:01 +01:00
Michael Telatynski
0758c09d9e
i18n
2021-05-26 14:06:12 +01:00
Michael Telatynski
27ad90760d
Iterate pinned messages
2021-05-26 13:51:17 +01:00
Michael Telatynski
84bdd61119
Merge pull request #6101 from jaiwanth-v/voice-message-destroy
...
Destroy playback instance on voice message unmount
2021-05-26 12:18:59 +01:00
Germain
7ab31932ce
Merge pull request #6102 from matrix-org/gsouquet/17469
...
Fix message preview not up to date
2021-05-26 11:30:48 +01:00
J. Ryan Stinnett
e3a9e4690b
Merge pull request #6076 from matrix-org/jryans/convert-flow-to-ts-2
...
Convert some Flow typed files to TS (round 2)
2021-05-26 10:54:09 +01:00
Germain Souquet
934af23b1f
Fix preview generate check
2021-05-26 10:15:31 +01:00
Germain Souquet
c7c6a818f0
Merge branch 'develop' into gsouquet/switch-rooms
2021-05-26 09:51:27 +01:00
Germain
776b7100b5
Merge pull request #6086 from matrix-org/gsouquet/middle-pane-resize
2021-05-26 09:46:09 +01:00
Jaiwanth
a65299d8be
Update src/components/views/messages/MVoiceMessageBody.tsx
...
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-05-26 13:07:57 +05:30
Jaiwanth
a4907f8061
Destroy playback instance on unmount
2021-05-26 12:57:39 +05:30
Michael Telatynski
231e39a965
Fix accessing currentState on an invalid joinedRoom
2021-05-25 17:26:43 +01:00
Michael Telatynski
fd74a946e0
add header
2021-05-25 17:24:43 +01:00
Michael Telatynski
830ad47e87
Merge pull request #6097 from matrix-org/t3chguy/allSettled
...
Remove Promise allSettled polyfill as js-sdk uses it directly
2021-05-25 17:11:06 +01:00
Germain
3d302a3beb
Merge pull request #6099 from matrix-org/gsouquet/decoratedavatar-icon
...
Prevent DecoratedRoomAvatar to update its state for the same value
2021-05-25 17:09:32 +01:00
Germain Souquet
80bd130421
Prevent DecoratedRoomAvatar to update its state for the same value
2021-05-25 16:58:23 +01:00
Germain Souquet
e934f81521
Skip generatePreview if event is not part of the live timeline
2021-05-25 16:34:52 +01:00
Michael Telatynski
c1f397dcf7
delint
2021-05-25 16:20:23 +01:00
Michael Telatynski
17bbbff479
Remove Promise allSettled polyfill as its widespread enough now and js-sdk uses it directly
2021-05-25 16:12:34 +01:00
Michael Telatynski
59f4c728c9
Initial cut of Pinned event card in the right panel
2021-05-25 16:10:44 +01:00
Michael Telatynski
4fa6d3599b
Convert PinnedEventTile to Typescript
2021-05-25 15:44:39 +01:00
Michael Telatynski
a6ca8f797d
Fix useAsyncMemo out-of-order resolutions
2021-05-25 15:34:44 +01:00
Germain
7ecd96b320
Merge pull request #6095 from matrix-org/gsouquet/sticky-headers-results
2021-05-25 15:32:49 +01:00
Germain Souquet
b09dd8f1f8
remove unused values
2021-05-25 14:54:27 +01:00
Germain Souquet
d644338421
WhoIsTypingTile TypeScript conversion
2021-05-25 14:34:19 +01:00
Germain Souquet
a803e33ffe
Convert WhoIsTypingTile to TypeScript
2021-05-25 14:10:16 +01:00
Michael Telatynski
02d11b8926
Extend HeaderButton and HeaderButtons to be more generic
2021-05-25 13:53:46 +01:00
Germain Souquet
7303166924
fix sticky headers when results num get displayed
2021-05-25 13:53:20 +01:00
Michael Telatynski
96928e5d31
Header Buttons switch to a fragment from an array of nodes
2021-05-25 13:17:14 +01:00
Michael Telatynski
13427aaf07
Add a pulse animation to the pinned messages indicator and move it
2021-05-25 13:07:39 +01:00
Germain Souquet
88af74e4a4
Improve addEventsToTimeline performance scoping WhoIsTypingTile::setState
2021-05-25 12:45:19 +01:00
J. Ryan Stinnett
cb88f37bbd
Remove outdated diagnostic log
...
The cited issue (https://github.com/vector-im/element-web/issues/11120 ) has
since been fixed, so this "temporary" (2 years ago) logging is no longer needed.
2021-05-25 12:28:16 +01:00
Michael Telatynski
152c178ea9
Convert NotificationPanel to Typescript
2021-05-25 12:15:37 +01:00
Michael Telatynski
170b11d130
Convert RightPanel to Typescript
2021-05-25 12:13:16 +01:00
Germain
1751b4ba43
Merge pull request #6092 from matrix-org/gsouquet/window-dimensions-reflow
2021-05-25 12:00:08 +01:00
Michael Telatynski
5980528f30
Merge pull request #6089 from matrix-org/t3chguy/fix/17336
...
Use local room state to render space hierarchy if the room is known
2021-05-25 11:59:09 +01:00
Germain
9525dc3202
Merge pull request #6085 from matrix-org/gsouquet/15451
2021-05-25 11:58:46 +01:00
Germain Souquet
85a73f2504
Fix copyright header in UIStore file
2021-05-25 11:48:45 +01:00
Michael Telatynski
97c6ee39d0
Merge pull request #6063 from matrix-org/t3chguy/fix/17369
...
Move SettingsStore watchers/monitors over to ES6 maps for performance
2021-05-25 10:58:09 +01:00
Germain Souquet
f156c2db15
prevent reflow in app when accessing window dimensions
2021-05-25 10:28:43 +01:00
Germain Souquet
a57887cc61
Prevent layout trashing on EffectsOverlay
2021-05-25 10:28:32 +01:00
Germain Souquet
ac93cc514f
Prevent layout trashing when resizing the window
2021-05-25 10:28:20 +01:00
Germain Souquet
2710062df7
Create a UIStore to track important data
...
This helper should hold data related to the UI and access save in a smart to avoid performance pitfalls in other parts of the application
2021-05-25 10:28:09 +01:00
Germain Souquet
73d51a91d6
Prevent unneeded state updates to hide StickerPicker
2021-05-25 10:27:59 +01:00
Germain Souquet
525e3eaf43
Prevent reflow when getting screen orientation
...
It is better to access the device orientation using media queries as it will not force a reflow compared to accessing innerWidth/innerHeight
2021-05-25 10:27:50 +01:00
David Schilling
5c674365d3
Add url param defaultUsername
to prefill the login username field
...
Signed-off-by: David Schilling <dschilling@churchtools.de>
2021-05-25 10:39:33 +02:00
Michael Telatynski
4a5c634d82
Iterate PR
2021-05-24 22:02:50 +01:00
Michael Telatynski
a757f589bd
post-merge fixup
2021-05-24 21:57:59 +01:00
Michael Telatynski
d8acc0612a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/views/rooms/EditMessageComposer.js
src/components/views/rooms/SendMessageComposer.js
2021-05-24 21:57:38 +01:00
Michael Telatynski
4be8bbeef9
Close creation menu when expanding space panel via expand hierarchy
2021-05-24 21:17:30 +01:00
Michael Telatynski
5b66975605
Use local room state to render space hierarchy if the room is known
2021-05-24 18:57:24 +01:00
Michael Telatynski
63ae84a72e
Wire space switch shortcut via dispatcher to prevent app load explosion due to skinning
2021-05-24 18:23:04 +01:00
Michael Telatynski
42ffc5c9e8
Add support to keyboard shortcuts dialog for [digits]
2021-05-24 18:08:43 +01:00
Germain Souquet
cdecc156df
Remove unused prop
2021-05-24 17:30:37 +01:00
Germain Souquet
3b69c0203c
Remove resize notifier prop from RoomTile
2021-05-24 17:05:59 +01:00
Germain Souquet
fdc22bfdf7
Adhere to TypeScript codestyle better
2021-05-24 16:40:55 +01:00
Germain Souquet
0bbfb1a6d9
remove unused variable checkObjectHasNoAdditionalKeys
2021-05-24 16:18:55 +01:00
Germain Souquet
671f169457
Remove unused middlePanelResized event listener
2021-05-24 16:08:48 +01:00
Germain Souquet
f478cd98f7
fix i18n for UserMenu spinner
2021-05-24 15:12:17 +01:00
Germain Souquet
36d95ff737
Display spinner in user menu when joining a room
2021-05-24 15:02:26 +01:00
Germain Souquet
19569f3897
Convert Tooltip to TypeScript
2021-05-24 15:01:59 +01:00
Germain Souquet
b5295b03ce
Trigger join room actions properly
2021-05-24 14:34:06 +01:00
Germain Souquet
d6bc1861ae
Migrate InlineSpinner to TypeScript
2021-05-24 14:33:31 +01:00
Robin Townsend
5c7da97ff6
Give forward dialog send buttons an accessible label
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:55:08 -04:00
Robin Townsend
121ed5eba9
Pass Matrix client around as matrixClient
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:51:04 -04:00
Robin Townsend
6ced61b709
Use camelCase
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:34:03 -04:00
Robin Townsend
400917623c
Make myself the copyright holder for forward dialog code
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-24 08:33:28 -04:00
Robin Townsend
88e0e9b9fb
Merge branch 'develop' into improved-forwarding-ui
2021-05-24 08:23:07 -04:00
Germain Souquet
ecff5bd65c
Merge branch 'develop' into gsouquet-scroll-to-live-reset-hash
2021-05-24 09:20:12 +01:00
Germain Souquet
4851e96297
Switch rooms documentation and polishing
2021-05-24 09:17:29 +01:00
Michael Telatynski
a6adfde8e2
Merge pull request #6070 from matrix-org/t3chguy/fix/17360
...
Improve explore rooms when no results are found
2021-05-23 21:17:35 +01:00
libexus
5d2330280c
Translated using Weblate (German)
...
Currently translated at 99.3% (2956 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-05-23 09:35:02 +00:00
waclaw66
773b15c9f9
Translated using Weblate (Czech)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-05-23 09:35:00 +00:00
iaiz
ea54e47b35
Translated using Weblate (Spanish)
...
Currently translated at 99.7% (2966 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-05-23 09:34:57 +00:00
Hivaa
0b3fd58192
Translated using Weblate (Persian)
...
Currently translated at 23.9% (712 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-23 09:34:55 +00:00
HKalbasi
500ad81a06
Translated using Weblate (Persian)
...
Currently translated at 23.9% (712 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-23 09:34:55 +00:00
Szimszon
fdfc3623a4
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-05-23 09:34:51 +00:00
XoseM
56191be9be
Translated using Weblate (Galician)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-05-23 09:34:48 +00:00
LinAGKar
84f1d5dbf2
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-05-23 09:34:45 +00:00
Jeff Huang
4d18a2b1e8
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-05-23 09:34:42 +00:00
jelv
ddbd1c1b39
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (2974 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-05-23 09:34:40 +00:00
Thibault Martin
8a59c41018
Translated using Weblate (French)
...
Currently translated at 99.7% (2968 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-23 09:34:38 +00:00
Ange des ténèbres
945ab1e0f6
Translated using Weblate (French)
...
Currently translated at 99.7% (2968 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-23 09:34:38 +00:00
Kaede
0cc8687047
Translated using Weblate (Japanese)
...
Currently translated at 77.4% (2304 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-05-23 09:34:36 +00:00
Šimon Brandner
8b7a73b3ab
i18n
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-22 20:24:41 +02:00
Šimon Brandner
b08b36c14f
Add silencing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-22 20:24:36 +02:00
Šimon Brandner
21fb81d4a2
Export AudioIDs
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-22 20:23:24 +02:00
HKalbasi
da9ae7c6a9
Translated using Weblate (Persian)
...
Currently translated at 22.7% (677 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 07:59:39 +00:00
Hivaa
6c3f28e669
Translated using Weblate (Persian)
...
Currently translated at 22.7% (677 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 07:59:38 +00:00
HKalbasi
d33194e0ab
Translated using Weblate (Persian)
...
Currently translated at 22.2% (663 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 06:26:29 +00:00
Hivaa
425806c5a3
Translated using Weblate (Persian)
...
Currently translated at 22.2% (663 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 06:26:29 +00:00
HKalbasi
c2c1dd08a3
Translated using Weblate (Persian)
...
Currently translated at 22.2% (661 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 06:24:52 +00:00
Hivaa
d08696b7de
Translated using Weblate (Persian)
...
Currently translated at 22.2% (661 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 06:24:50 +00:00
HKalbasi
e39f0fb2e5
Translated using Weblate (Persian)
...
Currently translated at 21.5% (642 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:58:17 +00:00
Hivaa
da1b961bb9
Translated using Weblate (Persian)
...
Currently translated at 21.5% (642 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:58:17 +00:00
HKalbasi
9f414d3716
Translated using Weblate (Persian)
...
Currently translated at 21.5% (641 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:57:45 +00:00
Hivaa
2746721ac2
Translated using Weblate (Persian)
...
Currently translated at 21.5% (641 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:57:45 +00:00
HKalbasi
8bc9ac0416
Translated using Weblate (Persian)
...
Currently translated at 21.5% (640 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:57:07 +00:00
Hivaa
46645c0d8c
Translated using Weblate (Persian)
...
Currently translated at 21.5% (640 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:57:07 +00:00
HKalbasi
0a580e8122
Translated using Weblate (Persian)
...
Currently translated at 21.4% (639 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:56:26 +00:00
Hivaa
4b0de5060e
Translated using Weblate (Persian)
...
Currently translated at 21.4% (639 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:56:26 +00:00
HKalbasi
4f29fc78a0
Translated using Weblate (Persian)
...
Currently translated at 21.2% (633 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:53:23 +00:00
Hivaa
924afbe3d8
Translated using Weblate (Persian)
...
Currently translated at 21.2% (633 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:53:23 +00:00
HKalbasi
72248a7643
Translated using Weblate (Persian)
...
Currently translated at 21.1% (628 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:50:50 +00:00
Hivaa
7e197d4d68
Translated using Weblate (Persian)
...
Currently translated at 21.1% (628 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-05-22 05:50:49 +00:00
Robin Townsend
cd460a2555
Adjust forward dialog copy
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-21 12:59:13 -04:00
Robin Townsend
7a04502151
Iterate on forward dialog design feedback
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-21 12:41:29 -04:00
Michael Telatynski
35b9388fc2
Iterate PR
2021-05-21 13:37:21 +01:00
J. Ryan Stinnett
44ecf62758
Add explicit member access
2021-05-21 13:15:54 +01:00
Robin Townsend
f34d61cf5d
Merge branch 'develop' into improved-forwarding-ui
2021-05-21 08:15:09 -04:00
J. Ryan Stinnett
3b50808cb0
Use any instead of object
2021-05-21 13:11:33 +01:00
J. Ryan Stinnett
320c8d2091
Move function prop to bottom
2021-05-21 13:10:50 +01:00
J. Ryan Stinnett
e4cf66f0e4
Move state init to constructors
2021-05-21 13:09:24 +01:00
J. Ryan Stinnett
5d6f16ff64
Add explicit public
2021-05-21 12:59:54 +01:00
J. Ryan Stinnett
66077e3a05
Add spaces to imports
2021-05-21 12:57:51 +01:00
Germain Souquet
ccfd6ba4b1
fix linting issues
2021-05-21 12:53:26 +01:00
J. Ryan Stinnett
f8e61a982b
One less Set
2021-05-21 12:41:59 +01:00
J. Ryan Stinnett
d59b2b3579
Fix unintended buttons class change
2021-05-21 12:38:32 +01:00
J. Ryan Stinnett
d0da4b2a25
Use separate name for verification request component
2021-05-21 12:37:34 +01:00
Germain Souquet
5ba419db54
split room header and header wrapper
2021-05-21 10:21:54 +01:00
Germain Souquet
47e007e08f
batch load events in ReplyThread before adding them to the state
2021-05-21 10:20:24 +01:00
c-cal
431b4607a4
Translated using Weblate (French)
...
Currently translated at 99.7% (2966 of 2974 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-05-21 05:23:47 +00:00
Robin Townsend
332412782e
Remove logo spinner
...
Removed since design wants to avoid associating slowness with the brand.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-20 17:31:10 -04:00
Michael Telatynski
d0d56d4b42
Merge pull request #6073 from matrix-org/t3chguy/fix/17412
...
Fix add reaction prompt showing even when user is not joined to room
2021-05-20 21:00:10 +01:00
Travis Ralston
767c7a1e38
Merge pull request #5680 from robintown/better-spinners
...
Vectorize spinners
2021-05-20 13:31:35 -06:00
Michael Telatynski
aca29c5577
Merge pull request #6077 from matrix-org/t3chguy/fix/17414
...
Fix handling of via servers for suggested rooms
2021-05-20 20:24:18 +01:00
Michael Telatynski
e984a4f0cd
rejig the code to make types happy
2021-05-20 20:12:28 +01:00
Travis Ralston
0fb77f5cb2
Merge pull request #6075 from matrix-org/travis/ce-def-rl
...
Upgrade showChatEffects to room-level setting exposure
2021-05-20 12:50:36 -06:00
Michael Telatynski
073127aa3c
Fix handling of via servers for suggested rooms
2021-05-20 18:47:12 +01:00
Germain Souquet
0f63098c59
Remove typo semicolon
2021-05-20 18:02:44 +01:00
Germain Souquet
229c4b98b4
use userGroups cached value to avoid re-render
2021-05-20 18:02:03 +01:00
J. Ryan Stinnett
d9e490926b
Add types to DevtoolsDialog
2021-05-20 17:59:45 +01:00
J. Ryan Stinnett
df09bdf823
Add types to InteractiveAuthEntryComponents
2021-05-20 17:59:45 +01:00
J. Ryan Stinnett
6574ca98fa
Fix basic lint errors
2021-05-20 17:56:16 +01:00
J. Ryan Stinnett
21c1179f8d
Update extensions for more files with types
...
This migrates the another bucket of files using some amount of Flow typing to
mark them as TypeScript instead. The remaining type errors are fixed in
subsequent commits.
2021-05-20 17:56:16 +01:00
Germain
fff849c611
Merge pull request #6071 from matrix-org/gsouquet/roomview-deadcode
...
Delete RoomView dead code
2021-05-20 17:10:57 +01:00
Germain Souquet
9e55f24092
Remove extraenous DOM nodes
2021-05-20 16:11:33 +01:00
Travis Ralston
018a75ea1e
Upgrade showChatEffects to room-level setting exposure
2021-05-20 09:10:21 -06:00
Germain Souquet
f058fd8869
Reduce amount of DOM nodes
2021-05-20 15:39:25 +01:00
Germain Souquet
171539d42d
Simplify EventTile structure
...
Only render MessageTimestamp to the DOM when a tile is hovered
2021-05-20 15:26:02 +01:00
Germain Souquet
d362321706
Simplify SenderProfile DOM structure
2021-05-20 15:25:20 +01:00
J. Ryan Stinnett
e07e7cf8d2
Merge pull request #6074 from matrix-org/jryans/test-noise
...
Reduce noise in tests
2021-05-20 13:50:37 +01:00
J. Ryan Stinnett
bee1a88f0b
Reduce noise in tests
...
This disables a common log message to cut down the test log size and make it
easier to read messages specific to each test.
2021-05-20 13:42:36 +01:00
Michael Telatynski
dab75f9b88
Fix add reaction prompt showing even when user is not joined to room
2021-05-20 12:20:53 +01:00
Michael Telatynski
35710da174
Merge pull request #6069 from matrix-org/t3chguy/fix/17386
...
Fix room name issues in right panel summary card
2021-05-20 12:08:33 +01:00
Germain Souquet
422740f13b
normalize displayName
2021-05-20 11:04:17 +01:00
Germain Souquet
83e2461155
call matches with normalized name
2021-05-20 10:57:20 +01:00
Germain Souquet
66ffaf945f
Cache normalized room name
2021-05-20 10:43:57 +01:00
Germain
49c853a304
Delete RoomView dead code
2021-05-20 09:37:33 +01:00
Michael Telatynski
aa7ccc1420
Show prompt to create new room from room directory results
2021-05-19 20:07:54 +01:00
Michael Telatynski
a61e977b5f
Fix room directory ts migration
2021-05-19 19:30:56 +01:00
Michael Telatynski
8b67cdb80b
Pre-populate create room dialog name when going from room directory
2021-05-19 19:20:58 +01:00
Michael Telatynski
b3aade075d
Convert CreateRoomDialog to Typescript
2021-05-19 19:18:28 +01:00
Michael Telatynski
d10a45c6a3
Convert RoomDirectory and NetworkDropdown to Typescript
2021-05-19 18:40:03 +01:00