Travis Ralston
41682fa8d2
Update src/components/views/elements/PersistedElement.js
2021-01-27 20:37:04 -07:00
Šimon Brandner
02b552f958
Fixed 15221
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-24 12:56:44 +01:00
Travis Ralston
d3281db2bf
Update widgets in the room upon join
2021-01-22 17:49:18 -07:00
Travis Ralston
27dc4cb574
Appease the linter
2021-01-22 17:03:36 -07:00
Travis Ralston
807a8c41e3
Remove debug
2021-01-22 17:02:00 -07:00
Travis Ralston
6ac8803191
Update AuxPanel and related buttons when widgets change or on reload
...
If we have widgets we're meant to be showing due to layout or because we reloaded the page (slightly different code paths) then we need to show those. This change fixes a bug in that where the layout wasn't being applied at the right moment in time so was never showing the widgets.
Seems to only be an issue if the layout state event was sent by someone other than you.
2021-01-22 17:00:30 -07:00
Travis Ralston
7413cea6ea
Format imports because the IDE said so
2021-01-22 16:58:47 -07:00
David Baker
f703383ab6
Merge pull request #5560 from matrix-org/dbkr/voip_user_mapper
...
Add VoIP user mapper
2021-01-22 14:12:08 +00:00
David Baker
3803a5ece1
This isn't a setting any more, just a regular ol' config option
2021-01-22 11:00:12 +00:00
Michael Telatynski
bb50cd56ee
Merge pull request #5558 from matrix-org/t3hcguy/socialloginfixup
...
Improve styling of SSO Buttons for multiple IdPs
2021-01-22 10:37:46 +00:00
J. Ryan Stinnett
35bee5c5ea
Merge pull request #5522 from SimonBrandner/room-dialog-fixes
...
Fixes for the general tab in the room dialog
2021-01-22 10:34:37 +00:00
David Baker
ba45b47240
Oops, the tests won't work if we don't export the functions
2021-01-21 22:42:12 +00:00
Dan
591b50b1fb
fix issue 16226 to allow switching back to default HS. Signed-off-by: Dan Gwynne dangwynne1@gmail.com
2021-01-21 21:51:22 +00:00
Travis Ralston
a779951512
Merge pull request #5553 from matrix-org/travis/widget-layout
...
Support room-defined widget layouts
2021-01-21 13:22:52 -07:00
Travis Ralston
f023fc50e2
Update src/stores/widgets/WidgetLayoutStore.ts
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-01-21 13:22:44 -07:00
David Baker
0a90c982c7
Add VoIP user mapper
...
The accompanying element-web PR with the config documentation should
explain what this is & why. Internally, this breaks the assumption
that call.roomId is the room that the call appears in for the user.
call.roomId may now be a 'virtual' room while the react SDK actually
displays it in a different room. React SDK always stores the calls
under the user-facing rooms, and provides a function to get the
user-facing room for a given call.
2021-01-21 19:20:35 +00:00
J. Ryan Stinnett
e49a931588
Merge pull request #5533 from aaronraimist/security-key
...
Change a bunch of strings from Recovery Key/Phrase to Security Key/Phrase
2021-01-21 17:46:02 +00:00
Michael Telatynski
928ddeb718
Improve styling of SSO Buttons for multiple IdPs
2021-01-21 13:33:25 +00:00
Travis Ralston
c7c055dd98
Give a bigger target area to AppsDrawer vertical resizer
...
The existing target was too hard to hit, which annoyed users. This change makes it the same sort of surface area as the horizontal resizers, as requested by design to fix the problem in the short term.
2021-01-20 15:05:18 -07:00
Travis Ralston
29780d902c
Try to reduce WidgetStore causing downstream problems
2021-01-20 14:44:30 -07:00
Travis Ralston
f8fe454c59
Replace looping resizer with actual math
2021-01-20 14:42:24 -07:00
J. Ryan Stinnett
3115c4f3f3
Show only preview buttons in directory for guest users
...
This aligns the room directory with the rest of Element Web so that it does not
allow guest users to join rooms. Instead, we show preview buttons (even when the
preview might not actually happen).
Fixes https://github.com/vector-im/element-web/issues/16213
2021-01-19 17:59:30 +00:00
Travis Ralston
f06aa00240
Fix percentage calculation
2021-01-19 00:22:02 -07:00
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
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
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
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