1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00
Commit Graph

32788 Commits

Author SHA1 Message Date
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
123482952a Fixed linting errors 2021-04-26 15:01:39 +05:30
203425c8de Test and fix space store wrongly treating room invites as space invites 2021-04-26 08:37:45 +01:00
ac486c847e Try 0.9
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-26 01:10:04 -05:00
e5f0119f66 Fix page up/page down scrolling only half a page
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-04-25 23:18:12 -05:00
1c7d68bb16 invert and outdent 2021-04-25 09:35:18 +01:00
4411498057 Fix add existing to space dialog no longer showing rooms for public spaces 2021-04-25 09:33:44 +01:00
3bb6edbda7 Fix accepting invite edge case where it wouldn't show the newly joined space 2021-04-25 09:24:26 +01:00
47c12a7d23 Add tests for rooms moving around the SpaceStore 2021-04-25 09:24:00 +01:00
9a11b346c9 To fix the Redaction error and a few improvements 2021-04-24 18:09:34 +05:30
98851f8e64 Text space switching behaviour and fix invalid space edge case 2021-04-24 11:32:55 +01:00
da46e90896 Fix SpaceStore reset behaviour 2021-04-24 11:32:12 +01:00
f85d3643ee Test and fix subspace invite receipt behaviour 2021-04-24 11:31:52 +01:00
0e312977e3 Rework zooming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 10:36:53 +02:00
90f2423eb7 Fix zoom step and coeficient
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 10:35:25 +02:00
bcc6e5c5d5 Add some comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:41:46 +02:00
9b7a9fc865 Use MAX_SCALE for maxZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 09:24:25 +02:00
1a906c95da Merge branch 'develop' into image-view-zoom 2021-04-24 09:14:30 +02:00
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
e0e9ccbf95 Remove logline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:38:13 +02:00
57b34f8dbc Get rid of onWindowResize()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:37:51 +02:00
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
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
dad7a22055 Initial code for dynamic minZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-24 08:03:39 +02:00
49f5f89351 Give a bit of opacity to the divider colour 2021-04-23 16:04:53 -06:00
82119ad595 Merge branch 'develop' into travis/error-states 2021-04-23 15:53:37 -06:00
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
f34489e2df Actually fix indent lint errors 2021-04-23 18:11:54 +01:00
e088118650 Merge pull request #5909 from robintown/spaces-visual-fixes
Spaces visual fixes
2021-04-23 17:54:30 +01:00
cf21658e30 Use suggested box-shadow
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-23 18:29:10 +02:00
3d41b48543 Check for null room in VisibilityProvider
Hopefully fixes https://github.com/vector-im/element-web/issues/16898
2021-04-23 17:27:20 +01:00
2344ddd164 Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-23 17:19:52 +01:00
8f1ea84eb6 Broadcast language change to ElectroPlatform 2021-04-23 17:11:45 +01:00
d7e6f4b4b5 Add basic types 2021-04-23 17:05:50 +01:00
0e92251f70 Fix simple lint errors 2021-04-23 16:28:55 +01:00
dd2a1d063a Write tests for spaces context switching behavious 2021-04-23 16:14:55 +01:00
9c3bd12830 Copy indent rule to TS as well 2021-04-23 16:07:15 +01:00
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
002c24ebeb Merge branch 'develop' into spaces-visual-fixes 2021-04-23 10:43:40 -04:00
3d7842d696 Remove old FormButton CSS
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-23 10:25:04 -04:00
0f84b3dff3 Align checkboxes with names in add rooms to space dialog
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-23 10:25:04 -04:00
024cf7f66c Cut off long names in add rooms to space dialog
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-23 10:24:50 -04:00
f5ab75cfdd Fix automatic space switching behaviour to prioritise canonical parents 2021-04-23 14:45:34 +01:00
4446022327 Add automatic space switching tests 2021-04-23 14:45:22 +01:00
dc3d05bc88 Test for asserted identity
This is out first CallHandler test(!) Switches react-sdk to use
createCall on the client object so we can stub this out in the test.
Add a bunch more stubs to the test client.

There's more stuff in this test that has scope to be used more
widely, like waiting for a certain dispatch and mocking out rooms
with particular sets of users in them: we could consider moving these
out to test utils if we wanted.
2021-04-23 14:39:39 +01:00
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
2d17ba445a Increase drop shadow alpha to 0.45
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-23 15:33:10 +02:00
320ff7b870 Fix invites relating to a space not showing in the space 2021-04-23 13:41:42 +01:00
ec908bc8be Merge branch 'develop' into fix-pip-color 2021-04-23 14:40:58 +02:00
c35678c64a Add yet more tests 2021-04-23 13:40:16 +01:00