Michael Telatynski
f929d2ee5f
Typescript fixes due to MatrixEvent being TSified
2021-06-17 14:06:03 +01:00
Michael Telatynski
f84ee22769
Add comment
2021-06-08 16:36:53 +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
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
Michael Telatynski
1ff870927a
When pinning a message automatically mark it as read
2021-05-26 15:40:24 +01:00
Michael Telatynski
27ad90760d
Iterate pinned messages
2021-05-26 13:51:17 +01:00
Michael Telatynski
fd74a946e0
add header
2021-05-25 17:24:43 +01:00
Michael Telatynski
c1f397dcf7
delint
2021-05-25 16:20:23 +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
02d11b8926
Extend HeaderButton and HeaderButtons to be more generic
2021-05-25 13:53:46 +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
170b11d130
Convert RightPanel to Typescript
2021-05-25 12:13:16 +01:00
Germain Souquet
f156c2db15
prevent reflow in app when accessing window dimensions
2021-05-25 10:28:43 +01: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
f52dc9a3ea
Fix room name not updating whilst summary card is open
2021-05-19 17:12:31 +01:00
Michael Telatynski
5430f44c27
Convert verification and UntrustedDeviceDialog to TS
2021-05-12 17:08:44 +01:00
Michael Telatynski
95b43d1284
Merge pull request #5985 from aaronraimist/blank-device-name
...
Show device ID in UserInfo when there is no device name
2021-05-10 16:19:56 +01:00
Aaron Raimist
fa307ee14c
Update src/components/views/right_panel/UserInfo.tsx
...
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-05-07 18:41:47 -05:00
Aaron Raimist
5d7535738a
Show device ID in UserInfo when there is no device name
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-05-06 20:01:53 -05:00
Michael Telatynski
9518e4d415
Guard all isSpaceRoom calls behind the labs flag
2021-05-05 23:59:07 +01:00
Travis Ralston
ac00c80efb
Merge pull request #5521 from SimonBrandner/improve-image-view
...
Improve image view
2021-04-13 19:01:27 -06:00
Michael Telatynski
1572a53af9
Fix useRoomPowerLevels hook
2021-04-13 10:39:09 +01:00
Šimon Brandner
e1446f01e4
Make ImageView static
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:07:17 +02:00
Michael Telatynski
591c8ffd83
User Info hide disambiguation as we always show MXID anyway
2021-04-12 11:10:51 +01:00
J. Ryan Stinnett
fd59a66523
Tweak cross-signing copy
...
This makes some Design-approved copy tweaks to the recent cross-signing flow
changes.
2021-03-26 11:13:39 +00:00
Travis Ralston
a9a4bd50ca
Merge branch 'develop' into travis/media-customization
2021-03-11 08:37:49 -07:00
Travis Ralston
229a95f190
Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps
...
[SK-3] Decorate easy components with replaceableComponent
2021-03-11 07:26:20 -07:00
Travis Ralston
533c9fed64
Appease the linter
2021-03-10 12:32:18 -07:00
Travis Ralston
1ac12479ca
Convert cases of mxcUrlToHttp to new media customisation
2021-03-10 12:32:18 -07:00
Travis Ralston
c5935dbc61
Batch of views getting replaceableComponent decorators
2021-03-08 20:23:46 -07:00
Matthew Hodgson
c02d03cc5b
Merge branch 'develop' of git+ssh://github.com/matrix-org/matrix-react-sdk into develop
2021-03-08 04:57:10 +00:00
Matthew Hodgson
5b48e13eb9
add explicit link to edit devices from one's own UserInfo
2021-03-08 04:46:15 +00:00
Michael Telatynski
8efe7dcaa1
Decorate Right Panel cards with Space header for when viewing it in that context
2021-03-02 09:54:32 +00:00
Šimon Brandner
8a50b7bcbb
Properly handle closing encryption panel
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 10:22:11 +01:00
Šimon Brandner
1360f551ce
Back button should send you to member info
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 08:54:08 +01:00
Šimon Brandner
4cf03e4c10
Added optional refireParams
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-30 08:51:26 +01:00
J. Ryan Stinnett
d78bc98521
Resolve linting errors after upgrades
2021-01-27 12:42:39 +00:00
Travis Ralston
04d1f5dd28
Implement a "Copy my layout to the room" button
2021-01-18 20:42:21 -07:00
Travis Ralston
1768d6ea5f
Move all widget pinning logic to the WidgetLayoutStore
2021-01-18 20:26:47 -07:00
Michael Telatynski
ecb0b0113f
Also use getJoinedMemberCount
as its capable of using the room summary member count instead
...
Leave the useRoomMembers hook for future use as it is very useful.
2020-12-09 11:07:40 +00:00
Michael Telatynski
184c73cca4
Throttle RoomState.members handler to improve performance
...
Lazy Loading emits a RoomState.members for each member which in the case of a room like
Matrix HQ means it happens over 8000 times in a very short span of time causing the UI
to lock up.
2020-12-09 11:02:30 +00:00
Travis Ralston
bd1de8d45b
Require a room ID for WidgetStore's pinned widget contracts
...
This should alleviate https://github.com/vector-im/element-web/issues/15705 from happening, though the cause is still unknown.
Requiring a room ID is safe for this because only room widgets can be pinned, and widget IDs are not globally unique which means from a logical standpoint the contract still makes sense here.
2020-12-01 13:05:48 -07:00
Travis Ralston
107fa98180
Support arbitrary widgets sticking to the screen + sending stickers
...
Following https://github.com/matrix-org/matrix-react-sdk/pull/5385 , it is now possible for a widget to request these capabilities without being a video conference or sticker picker. This commit actually enables this support for those kinds of widgets.
This commit also fixes an issue in the URL templating where some variables might get set to 'undefined' - this appears to be a scoping issue, so StopGapWidget now stores the definition alongside the superclass.
Fixes https://github.com/vector-im/element-web/issues/15001
2020-11-20 16:53:15 -07:00
Travis Ralston
91b1c8b817
Fix DM logic to always pick a more reliable DM room
...
Fixes https://github.com/vector-im/element-web/issues/15605
2020-11-16 15:07:09 -07:00
Michael Telatynski
db3f125e26
Change how we expose Role in User Info and hide in DMs
2020-11-10 12:03:50 +00:00
Travis Ralston
b4de01b1f1
Don't let users accidentally redact ACL events
...
Fixes https://github.com/vector-im/element-web/issues/15633
Fixes https://github.com/vector-im/element-web/issues/15632
Slightly more information is in the issues above and in the diff, however the short version is redacting an ACL event can obliterate a room which is bad.
2020-11-02 12:55:59 -07:00
Michael Telatynski
a16a6d2b54
Remove redundant event listener
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-21 16:05:44 +01:00
Michael Telatynski
744a4abd1c
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/feat/widgets
2020-10-19 13:08:17 +01:00