1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-13 23:41:50 +03:00
Commit Graph

91 Commits

Author SHA1 Message Date
90d380c8ae Cache value of feature_spaces* flags as they cause page refresh so are immutable 2021-07-15 08:26:49 +01:00
ae0a8b8da4 Auto-fix lint errors 2021-06-29 13:11:58 +01:00
d22617c422 More specific type definition and adhering to code style better 2021-06-18 12:44:15 +01:00
de414cd0a6 Migrate UserSettingsDialog to TypeScript 2021-06-14 23:42:36 +01:00
90982f9b3f Fix upgrade to element home button in top left menu 2021-06-08 17:31:08 +01:00
f31ec343f4 Use Set::size instead of Array.from()::length 2021-05-27 09:26:31 +01:00
b8a7d5d730 Better Set handling
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-27 09:23:56 +01:00
fbb6a42d86 fix reading Set length 2021-05-27 09:05:51 +01:00
2d15d66df8 Listen to home server sync update to remove pending rooms 2021-05-27 08:58:11 +01:00
be22a325f6 Prevent having duplicates in pending room state 2021-05-27 08:57:27 +01:00
36d95ff737 Display spinner in user menu when joining a room 2021-05-24 15:02:26 +01:00
eed5efdbe1 Labs: Add quick/cheap "do not disturb" flag
This just disables audio notifications and the popup, which is the easiest way to do "do not disturb" for a device. This needs spec changes to be done properly, as it's a shame that mobile devices for the user will still go off.

Disabling all of push doesn't sound ideal as it would potentially mean missing highlights for when leaving DND mode.
2021-04-15 00:47:09 -06:00
c230a75eda Flag structural components as replaceable 2021-03-08 20:23:24 -07:00
ce64863326 Annotate User Menu handle with currently selected space 2021-03-01 15:53:16 +00:00
bce88efa4f update isUserOnDarkTheme to return correct theme when use_system_theme is true
Signed-off-by: Germain <germain@grabyo.com>
2021-02-21 16:49:30 +00:00
234f1bf2c4 Test domains in config directly 2021-02-15 17:38:11 +00:00
a4a478cf72 Remove host signup link from UserMenu.tsx
It duplicates the new host signup modal dialog.
2021-02-09 20:01:45 +02:00
e80dba9414 WIP 2021-01-15 15:32:30 +02:00
5f84371038 Update some copyrights 2021-01-05 14:29:48 +02:00
bb53ae8038 Rename Element Pro -> Host Signup 2021-01-04 16:05:49 +02:00
7a358b1ca3 Rename components to be less EMS specific 2020-12-28 11:21:42 +02:00
0ae28d584b Typing and other PR feedback fixes 2020-12-18 16:05:57 +02:00
cd836be809 Rename everything HostingSignup -> EMSElementPro
This setup flow ended up quite specific due to all the various moving parts.
2020-12-15 10:50:38 +02:00
ad49dedec3 Document hosting_signup config option in source 2020-11-27 15:10:35 +02:00
94fba82227 Fix hostingSignupIFrame rendering in UserMenu after latest develop changes 2020-11-27 15:10:35 +02:00
116f109a62 Improve setup initiation link 2020-11-27 15:10:35 +02:00
a1d750a4aa Rename a few things, make hosting signup config an object 2020-11-27 15:10:35 +02:00
54b22290e7 Add hosting_signup_domains for controlling which users see the hosting signup dialog 2020-11-27 15:10:35 +02:00
c7706ac3d5 Add possibility for hosting provider IFrame
Add config option hosting_signup_iframe that
will render an action in the UserMenu and ProfileSettings
for setting up a host with some hosting provider
that provides an HTML to do that.

Add iframe for hosting provider signup content
2020-11-27 15:10:35 +02:00
00b1cd01eb Update copy 2020-11-27 09:44:04 +00:00
5f23c9499c Simplify UserMenu for Guests as they can't use most of the options 2020-11-12 12:46:55 +00:00
73eb43d32a Merge pull request #5406 from matrix-org/t3chguy/fix/home-button-ctx-menu
Close context menu when user clicks the Home button
2020-11-10 01:19:33 +00:00
5bed02b6e8 Skip e2ee warn logout prompt if user has no megolm sessions to lose 2020-11-09 15:50:35 +00:00
462be2b6a0 Close context menu when user clicks the Home button 2020-11-09 13:45:33 +00:00
c3a355097d Initial Countly work 2020-10-29 15:57:16 +00:00
0170fa608e Fix User Menu avatar colouring being based on wrong string
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-21 14:11:39 +01:00
30adc98a15 Fix excessive hosting link padding
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-19 12:34:25 +01:00
f5a40eff4b updated TagFilterStore 2020-10-10 18:02:58 +05:30
26b18811ce Add some permission checks to the communities v2 prototype
Prototype behaviour:
* If you can't create a room in the community, say so.
  * The UX for this could probably be improved, but for now the intention is to not break muscle memory by hiding the create room option.
* If you can't change settings in the community, or can't invite people, don't show those respective options.
  * Breaking muscle memory here is moderately okay.
2020-09-18 16:04:19 -06:00
04d7aebad0 UI Feature Flag: Disable feedback button 2020-09-16 10:59:14 +01:00
92c184385c Merge branch 'develop' into travis/communities/proto/userinfo 2020-09-01 10:51:42 -06:00
fdbaddbace Add a simple edit dialog for communities 2020-08-31 10:52:08 -06:00
724e3f6905 Run all selected prototype community logic through one store 2020-08-31 10:19:05 -06:00
93d67a6689 Wire up members button to member view
Ideally this would open up the group members panel, but that's exceedingly difficult. Instead, we switch to the general chat and rename the button to be a bit more helpful.
2020-08-31 10:12:12 -06:00
275ff6b41e Wire up the invite button 2020-08-28 20:08:12 -06:00
35e4d89545 Add aria labels to menu options 2020-08-28 20:04:19 -06:00
9ba33c7f80 Fix eslint ts override tsx matching and delint 2020-08-29 01:11:08 +01:00
02095389e7 Add structure for mixed prototype UserMenu 2020-08-28 17:03:17 -06:00
01b0acbe62 Make the UserMenu echo the current community name 2020-08-28 16:14:08 -06:00
c9e967f05c Don't override UserMenu with group changes 2020-08-25 21:21:16 -06:00