Travis Ralston
906b72082e
Merge pull request #4819 from matrix-org/travis/room-list/icon-masks
...
Use theme-capable icons in the user menu
2020-06-24 10:34:29 -06:00
Travis Ralston
5c7e59b132
Use theme-capable icons in the user menu
...
They're still inconsistent weights, but at least they are the right color on non-light-theme clients.
2020-06-23 21:17:39 -06:00
Travis Ralston
380aed4244
Update profile information in User Menu
...
Fixes https://github.com/vector-im/riot-web/issues/14158 (we needed an HTTP avatar URL)
Fixes https://github.com/vector-im/riot-web/issues/14159
Fixes https://github.com/vector-im/riot-web/issues/14157
Also fixes an issue where it wasn't updating automatically when the user changed their profile info.
This is all achieved through a new OwnProfileStore which does the heavy lifting, as we have to keep at least 2 components updated.
2020-06-23 21:01:50 -06:00
Travis Ralston
6c48966bf5
Have the theme switcher set the device-level theme to match settings
...
Fixes https://github.com/vector-im/riot-web/issues/14111
This is a shortcut into the Appearance tab, so use the same level. It was an explicit decision to have the tab set the theme at the device level.
2020-06-22 13:34:49 -06:00
Jorik Schellekens
05d0309081
Lint a few semicolons
2020-06-18 14:32:43 +01:00
Travis Ralston
8f45e06844
Add a home button to the new room list menu when available
2020-06-16 08:46:48 -06:00
Michael Telatynski
ed7f4755cc
use ButtonEvent instead of MouseEvent | KeyboardEvent for AccessibleButton (make CI happy)
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-10 22:05:29 +01:00
Travis Ralston
72bb89d4ee
Merge pull request #4743 from matrix-org/travis/room-list/tile-menu
...
Add a context menu to rooms in the new room list
2020-06-10 07:46:09 -06:00
Travis Ralston
0755b4c148
Add a context menu to rooms in the new room list
...
The tag options are not implemented out of concern for diff size.
This splits the context menu classes out to a new "iconized" style which is common across a number of context menus, including the UserMenu.
Some of the badge/sublist styles had to change to better accommodate the menu icon lining up.
This also contains the framework required for https://github.com/vector-im/riot-web/issues/13961
2020-06-09 23:09:15 -06:00
Travis Ralston
fed52f274e
Fix custom theme use with new room list
...
Fixes https://github.com/vector-im/riot-web/issues/13968
We were grabbing "custom-" instead of the actual theme name.
2020-06-09 15:23:34 -06:00
Travis Ralston
de4c2fe3d9
Use real buttons in user menu
2020-06-08 11:06:21 -06:00
Travis Ralston
50673496c3
Add hosting link
2020-06-08 09:32:16 -06:00
Travis Ralston
94ce23aa4b
Wire up theme changer
2020-06-08 09:32:05 -06:00
Travis Ralston
acf78ae475
Wire up the remaining dialogs
2020-06-08 09:04:43 -06:00
Travis Ralston
de18af35ff
Support minimum to open user settings to a particular tab
...
Tabs now have IDs, and we use those IDs to open things. This doesn't do any conversion to typescript, and doesn't add the same feature to the room settings out of concern for the size of diff.
2020-06-08 08:20:15 -06:00
Travis Ralston
f05a1e532b
Point buttons at the right functions
2020-06-07 22:17:02 -06:00
Travis Ralston
8e0247afe5
Add most of the UI for the new room list's menu button
...
Incomplete implementation: buttons don't work, some text is missing, etc
2020-06-07 22:06:41 -06:00