Commit Graph

32537 Commits

Author SHA1 Message Date
J. Ryan Stinnett
1b615eebc1 Fix optional props 2021-04-26 14:56:43 +01:00
J. Ryan Stinnett
83596c7335 Use private parameter properties 2021-04-26 14:54:36 +01:00
J. Ryan Stinnett
a3a756fdb2 Rename history visibility type 2021-04-26 14:08:45 +01:00
J. Ryan Stinnett
69fbfdc552 Fix interface syntax 2021-04-26 14:07:45 +01:00
J. Ryan Stinnett
3b39007a5d Move initialisers to field 2021-04-26 14:06:25 +01:00
J. Ryan Stinnett
b8a915bb76 Tweak private / underscores for fields and methods 2021-04-26 14:02:53 +01:00
J. Ryan Stinnett
f34489e2df Actually fix indent lint errors 2021-04-23 18:11:54 +01:00
J. Ryan Stinnett
2344ddd164 Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-23 17:19:52 +01:00
J. Ryan Stinnett
d7e6f4b4b5 Add basic types 2021-04-23 17:05:50 +01:00
J. Ryan Stinnett
0e92251f70 Fix simple lint errors 2021-04-23 16:28:55 +01:00
J. Ryan Stinnett
9c3bd12830 Copy indent rule to TS as well 2021-04-23 16:07:15 +01:00
J. Ryan Stinnett
31a28b1a9e Update extensions for some files with types
This migrates one 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-04-23 16:05:30 +01:00
Germain
65d55bd0d9
Merge pull request #5908 from matrix-org/gsouquet-messagepreview-nodom
Remove reliance on DOM API to generated message preview
2021-04-23 14:37:19 +01:00
J. Ryan Stinnett
c09d4f4a78
Merge pull request #5904 from SimonBrandner/normalize-wheel
Add a WheelEvent normalization function
2021-04-23 12:59:37 +01:00
Travis Ralston
06726d38fe
Merge pull request #5888 from matrix-org/travis/voice/event_type
Expand upon voice message event & include overall waveform
2021-04-22 14:41:59 -06:00
Germain Souquet
2b6551d06a Remove reliance on DOM API to generated message preview 2021-04-22 16:17:53 +01:00
Travis Ralston
14809dfda7 Misc cleanup 2021-04-22 08:22:31 -06:00
J. Ryan Stinnett
21e7847686
Merge pull request #5905 from matrix-org/jryans/image-bg-opacity
Use floats for image background opacity
2021-04-22 15:01:48 +01:00
Michael Telatynski
ba9cfa0942
Merge pull request #5902 from matrix-org/t3chguy/fix/17020
Show invites to spaces at the top of the space panel
2021-04-22 14:32:48 +01:00
Michael Telatynski
3fb4b6258a
Merge pull request #5899 from matrix-org/t3chguy/spaces-stability
Improve edge cases with spaces context switching
2021-04-22 14:30:35 +01:00
Michael Telatynski
5c93b99ec6
Merge pull request #5900 from matrix-org/t3chguy/fix/17024
Fix spaces notification dots wrongly including upgraded (hidden) rooms
2021-04-22 14:30:20 +01:00
J. Ryan Stinnett
b332f6b1ae Use floats for image background opacity
It seems percentages for opacity are still newish, and they seem to confuse
something which is clamping them to the 0 - 1 range (which makes sense for
floats, not percentages).

Anyway, for now we can get what we want here by using float values.

Fixes https://github.com/vector-im/element-web/issues/17036
2021-04-22 14:04:15 +01:00
Šimon Brandner
2e6397d8aa
Wire up normalizeWheelEvent()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:35 +02:00
Šimon Brandner
ad53b0e2e2
Add normalizeWheelEvent()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:12 +02:00
Michael Telatynski
e219fe082a Tweak context switching edge case for space invites 2021-04-22 12:08:54 +01:00
Michael Telatynski
e05200269f fix comment 2021-04-22 12:07:58 +01:00
Michael Telatynski
108a3088ef Hide explore rooms quick action when active space is an invite 2021-04-22 12:07:58 +01:00
Michael Telatynski
a51aeaa04d Disable context menu on space invite tiles as no options sensibly work 2021-04-22 12:07:58 +01:00
Michael Telatynski
7efd4a43a5 Show space invites at the top of the space panel 2021-04-22 12:07:58 +01:00
Michael Telatynski
60ef657f64 Properly hide spaces from the room list 2021-04-22 12:07:58 +01:00
Michael Telatynski
d9dac7b261
Merge pull request #5898 from matrix-org/t3chguy/fix/16976
Iterate the spaces face pile design
2021-04-22 09:29:00 +01:00
Michael Telatynski
130565945d Merge branch 't3chguy/fix/16976' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/16976 2021-04-22 09:08:59 +01:00
Michael Telatynski
23c61752cd Add comment 2021-04-22 09:08:25 +01:00
Michael Telatynski
ca07b1ed04
Update res/css/views/elements/_FacePile.scss
Co-authored-by: Germain <germain@souquet.com>
2021-04-22 09:06:53 +01:00
Michael Telatynski
28fa1cb44c Reset space contexts as some users may have loops stuck in their local storage 2021-04-22 09:05:02 +01:00
Michael Telatynski
b64b956aa4 when automatically switching space to match room fall back to the home space 2021-04-22 08:39:16 +01:00
Michael Telatynski
c0f8098a86
Merge pull request #5890 from matrix-org/t3chguy/fix/17006
Fix alignment issue with nested spaces being cut off wrong
2021-04-22 08:32:54 +01:00
Michael Telatynski
ec0612f70d Fix spaces notification dots wrongly including upgraded (hidden) rooms 2021-04-22 08:31:26 +01:00
Michael Telatynski
e1ba04716e Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces-stability
 Conflicts:
	src/stores/SpaceStore.tsx
2021-04-22 08:24:19 +01:00
Michael Telatynski
ee80c27b2b Improve edge cases with spaces context switching 2021-04-22 08:22:11 +01:00
Michael Telatynski
90cd5d0472 Remove old redundant hover effect 2021-04-22 08:18:28 +01:00
Michael Telatynski
60828913d2 Iterate the spaces face pile design 2021-04-22 08:13:03 +01:00
J. Ryan Stinnett
5b8cd10ee5
Merge pull request #5896 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2021-04-21 16:29:09 +01:00
Weblate
bfa34cd394 Merge branch 'origin/develop' into Weblate. 2021-04-21 15:20:02 +00:00
Andrejs
8e0b514dc6 Translated using Weblate (Latvian)
Currently translated at 50.9% (1485 of 2916 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-04-21 11:34:25 +00:00
Germain
3d25500f78
Merge pull request #5895 from matrix-org/gsouquet-fix-sticky-tags
Fix sticky tags header in room list
2021-04-21 11:07:44 +01:00
Germain Souquet
c5a1bb2d2c fix sticky tags header in room list 2021-04-21 10:44:20 +01:00
Michael Telatynski
8373b0e69c
Merge pull request #5893 from matrix-org/t3chguy/fix/16978
Fix spaces filtering sometimes lagging behind or behaving oddly
2021-04-21 09:20:18 +01:00
Michael Telatynski
bae47bbd79
Merge pull request #5894 from matrix-org/t3chguy/fix/17026
Fix issue with spaces context switching looping and breaking
2021-04-21 09:11:26 +01:00
Germain
68fb9a78c4
Merge pull request #5874 from matrix-org/gsouquet-room-events 2021-04-21 09:09:01 +01:00