Commit Graph

30479 Commits (ab51404421f9bb060962f200b0af28a0afb34e54)

Author SHA1 Message Date
Travis Ralston ab51404421 Appease the tests? 2021-01-18 21:07:44 -07:00
Travis Ralston 6d770cb4d1 Appease the linter 2 2021-01-18 21:00:47 -07:00
Travis Ralston 6227d3c183 Appease the linters 2021-01-18 20:53:15 -07:00
Travis Ralston 04d1f5dd28 Implement a "Copy my layout to the room" button 2021-01-18 20:42:21 -07:00
Travis Ralston 5c393cc2d0 Add in some local echo support to make changes appear faster 2021-01-18 20:29:51 -07:00
Travis Ralston 7ff76b2500 Don't forget to run cleanup 2021-01-18 20:28:09 -07:00
Travis Ralston 1768d6ea5f Move all widget pinning logic to the WidgetLayoutStore 2021-01-18 20:26:47 -07:00
Travis Ralston 5b5c338200 Render layout changes in the timeline 2021-01-18 19:31:11 -07:00
Travis Ralston 0d29d15a46 Support room-defined height as well
Much like widget widths, it is acceptable for us to forget what everyone's height was previously at.
2021-01-18 19:27:11 -07:00
Travis Ralston cfb583d193 Calculate widget widths in the WidgetLayoutStore
Note that this ditches all previously set width values, however this is probably acceptable for now. Trying to remain backwards compatible gets tricky on top of already tricky code, and the impact of Element forgetting widths is not as severe as forgetting which widgets were/are pinned.
2021-01-18 18:50:36 -07:00
Travis Ralston 2548a438ae Render ordering changes in the AppsDrawer 2021-01-18 17:43:29 -07:00
Travis Ralston 0001e1e684 Support initial ordering and calculation for widgets by layout 2021-01-18 17:41:42 -07:00
Travis Ralston 4ee29d4e63 Split out ready states of stores to its own store 2021-01-18 17:41:17 -07:00
Travis Ralston 39ce5d06e6 Describe how the widget layouts are supposed to look in time 2021-01-18 17:40:52 -07:00
Travis Ralston 1f219d8530 Simple support for generics off the settings store
Ideally the settings store returns the right type, but for now we can feed it the type we need/expect.
2021-01-18 17:40:32 -07:00
Michael Telatynski 7b882c6393
Merge pull request #5552 from 2580ayush2580/ayush25801
Fixed continue button while selecting home-server
2021-01-18 17:24:00 +00:00
Ayush Kumar 530a242aae Fixed continue button while selecting home server 2021-01-18 21:41:10 +05:30
Travis Ralston 83fb698bbc
Merge pull request #5527 from matrix-org/travis/widget-nav
Wire up MSC2931 widget navigation
2021-01-18 09:09:32 -07:00
RiotRobot 6c8e6096da Reset matrix-js-sdk back to develop branch 2021-01-18 15:16:31 +00:00
RiotRobot 5455b90c98 Resetting package fields for development 2021-01-18 15:16:18 +00:00
RiotRobot 82d90b2567 Merge branch 'master' into develop 2021-01-18 15:16:17 +00:00
RiotRobot 5a54bb0e7f v3.12.0 2021-01-18 15:14:53 +00:00
RiotRobot 5cf6d57883 Prepare changelog for v3.12.0 2021-01-18 15:14:52 +00:00
RiotRobot c4570cdaee Upgrade matrix-js-sdk to 9.5.0 2021-01-18 15:09:22 +00:00
RiotRobot 9d75a796d8 Merge branch 'release-v3.12.0' of github.com:matrix-org/matrix-react-sdk into release-v3.12.0 2021-01-18 14:58:52 +00:00
Will Hunt 117d8843c4
Merge pull request #5454 from matrix-org/hs/bridge-info-v2
Various fixes for Bridge Info page (MSC2346)
2021-01-18 13:19:15 +00:00
Will Hunt e9d2daab8f fix strings 2021-01-18 13:09:39 +00:00
Will Hunt 74b5febb9c oops strings 2021-01-18 11:38:49 +00:00
Will Hunt d71b2cf04f Merge remote-tracking branch 'origin/develop' into hs/bridge-info-v2 2021-01-18 11:36:46 +00:00
Will Hunt 461c0733d9 Revert strings 2021-01-18 11:36:35 +00:00
J. Ryan Stinnett 1c5a234b93
Merge pull request #5547 from matrix-org/jryans/listener-overload
Use room-specific listeners for message preview and community prototype
2021-01-18 10:57:56 +00:00
Travis Ralston f6a328a55b Update widget api 2021-01-16 23:34:16 -07:00
Travis Ralston ea61c979f9 Try a different string 2021-01-16 23:29:27 -07:00
Travis Ralston bebcabcde4 Merge branch 'develop' into travis/widget-nav 2021-01-16 23:28:11 -07:00
J. Ryan Stinnett 462e0889f0 Fix lint 2021-01-15 14:46:38 +00:00
J. Ryan Stinnett 8a341446aa Use room-specific listeners for community prototype
Similar to message previews, this changes another area to use room-specific
listeners for better performance and avoiding warnings.
2021-01-15 14:34:56 +00:00
J. Ryan Stinnett 729356394e Use room-specific listeners for message previews
This should be a bit faster (since we now only notify one tile instead of all
for each update). It also resolves the max listener warning.

Fixes https://github.com/vector-im/element-web/issues/15121
2021-01-15 14:21:21 +00:00
J. Ryan Stinnett 48a3154ab6
Merge pull request #5546 from matrix-org/jryans/react-warnings
Fix some misc. React warnings when viewing timeline
2021-01-15 13:55:04 +00:00
J. Ryan Stinnett 80f3e14faf Move `LoggedInView` subscriptions to after mounted
This avoids a React warning about trying to call `setState` before the component
is mounted.
2021-01-15 13:20:49 +00:00
J. Ryan Stinnett e90009772d Fix React warnings about missing key for edited messages
This uses a fragment instead of an array to avoid the need for key attributes.
2021-01-15 13:20:49 +00:00
J. Ryan Stinnett 266162fa32
Merge pull request #5544 from matrix-org/jryans/guest-allow-widget
Use device storage for allowed widgets if account data not supported
2021-01-14 17:50:47 +00:00
J. Ryan Stinnett 97a551c04a Fix test 2021-01-14 17:39:58 +00:00
J. Ryan Stinnett 6d932e1352 Fix lint errors 2021-01-14 17:38:06 +00:00
J. Ryan Stinnett accbe78d9a Add null path 2021-01-14 17:37:18 +00:00
J. Ryan Stinnett 658a8dfa99 Use device storage for allowed widgets if account data not supported
With guest accounts, account data is not available, so we use device storage to
hold allowed widgets as a good enough place.

Fixes https://github.com/vector-im/element-web/issues/16145
2021-01-14 17:30:25 +00:00
J. Ryan Stinnett cb66f7493b Skip account settings for guest users
Homeservers don't allow this currently, so we should use something else instead
for such cases.
2021-01-14 15:58:27 +00:00
David Baker 35965aa276
Merge pull request #5543 from matrix-org/dbkr/fix_incoming_call_dark_theme_rel
Fix incoming call box on dark theme
2021-01-13 18:02:46 +00:00
David Baker 7f51553723
Merge pull request #5542 from matrix-org/dbkr/fix_incoming_call_dark_theme
Fix incoming call box on dark theme
2021-01-13 17:06:22 +00:00
David Baker 1b98ada55f Actually this is right colour 2021-01-13 17:05:02 +00:00
David Baker d4470d2ed2 Actually this is right colour 2021-01-13 16:55:38 +00:00