Bruno Windels
acba36c975
Merge pull request #2364 from matrix-org/bwindels/fixresizepersistenceandscrollindicator-again
...
Redesign: left panel fixes
2018-12-18 14:23:38 +00:00
Bruno Windels
31c13adaba
cleanup: do initialization in componentDidMount instead of render
2018-12-18 15:10:57 +01:00
Bruno Windels
2cda6d8f35
fix empty comment line
2018-12-18 15:06:56 +01:00
Bruno Windels
f0a412e721
fix docs
2018-12-18 14:32:46 +01:00
Bruno Windels
12a339fe10
change subroomlist min height, as roomtiles are smaller now
2018-12-18 14:32:26 +01:00
Bruno Windels
affe75fd3f
make scroll indicator gradient smaller (40px->30px)
2018-12-18 14:31:59 +01:00
Bruno Windels
279521cab4
add id to props for completeness
2018-12-18 14:31:38 +01:00
Bruno Windels
e67d9c6d4f
forward checkOverflow to AutoHideScrollbar, fix over/underflow detection
...
the overflow/underflow events are not always reliable in nooverlay
browsers (FF), so forward the checkOverflow call we need anyway
for the scroll indicator gradients to see if we need to do the
margin trick for the on-hover scrollbar we use in nooverlay browsers.
this fixes on hover jumping in a subroomlist
2018-12-18 14:29:42 +01:00
Bruno Windels
3ddc8baed1
fix resizing sometimes not working (and selecting text)
...
Last friday a child <div> was added inside the ResizeHandle component,
which made the parentElement/classList checks fail on the event.target
here. This would only fail (and select all the text) when dragging exactly on
the grey line (the div), not the transparent margin around it.
use closest to make sure we have the root element of the handle.
2018-12-18 14:27:10 +01:00
Bruno Windels
cdcb3c1a55
check overflow and restore sizes in more places inside RoomList:
...
check overflow on mount
restore size on query change (in case a sublist appeared)
check overflow when updating rooms
avoid duplicating for restoring size and checking overflow
2018-12-18 14:26:33 +01:00
J. Ryan Stinnett
acc2e98355
Add New Recovery Method dialog
...
Adds a New Recovery Method dialog which is shown when key backup fails because
of a version mismatch / version not found error.
The set up button in the dialog currently only marks a device as verified (via a
verification prompt) instead of the eventual restore and cross-sign flow, since
those pieces don't exist yet.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-18 10:20:12 +00:00
J. Ryan Stinnett
2b14f2af5c
Clean up when new key backup version fails to backup
...
If creating a new key backup version succeeds but backing up to it fails, delete
the version to avoid surprises. In addition, this converts the creation of a new
key backup to async / await style.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-18 10:20:12 +00:00
Bruno Windels
b359a2edee
call header clicked callback after rerendering, so resizer has DOM nodes
2018-12-18 10:56:00 +01:00
Bruno Windels
0676c1b8ad
Merge pull request #2361 from matrix-org/bwindels/collapserhs
...
Redesign: allow to hide the right panel when clicking already active button & persist
2018-12-18 09:46:30 +00:00
Bruno Windels
f6727c5724
add collapsedRhs to propTypes
2018-12-18 10:34:26 +01:00
Travis Ralston
c6da61f1de
Make sure to grab the InlineSpinner object
2018-12-17 18:47:33 -07:00
J. Ryan Stinnett
1c4621c98e
Link to CONTRIBUTING from JS SDK
...
The JS SDK's CONTRIBUTING file is a bit simpler to read. The Synapse version previously used includes mentions of Python lint tools that don't apply here.
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-18 01:24:33 +00:00
Willem Mulder
d304c35b38
Allow widgets to autoplay media
...
This is useful for e.g. webcam streams in widgets.
Signed-off-by: Willem Mulder <willemmaster@hotmail.com>
2018-12-18 00:43:37 +00:00
Bruno Windels
b7c353d0a6
persist and load collapsed rhs globally
2018-12-17 15:56:35 +01:00
Bruno Windels
f744374d1d
read collapsedRhs from props when mounting main split
2018-12-17 15:56:17 +01:00
Bruno Windels
a734fb9d35
dont set initial phase, show panel when collapsed
2018-12-17 15:55:26 +01:00
Bruno Windels
f7b6e9c6fc
name collapsedRhs consistently everywhere
2018-12-17 15:30:39 +01:00
Bruno Windels
65f9bc9754
remove expand button in room header
2018-12-17 15:23:46 +01:00
Bruno Windels
bbafd8c2d3
toggle right panel when clicking already active header button
2018-12-17 15:22:02 +01:00
Bruno Windels
e26fd6c27a
Merge pull request #2359 from matrix-org/bwindels/higherdensityroomlist
...
Redesign: make room tiles less high so more rooms fit on the screen
2018-12-17 14:09:45 +00:00
Bruno Windels
bdbf6f865e
Merge pull request #2358 from matrix-org/bwindels/ignorecustomtags
...
Redesign: ignore any unknown tags
2018-12-17 14:09:23 +00:00
Bruno Windels
0496ed535c
have a bit more space between rooms
2018-12-17 14:35:11 +01:00
Bruno Windels
242b0c21ac
make avatar 24px and tile height 32px
2018-12-17 14:03:48 +01:00
Bruno Windels
6c1639b2ce
dont hardcode avatar container dimensions
2018-12-17 14:03:28 +01:00
Bruno Windels
532fb6ea78
update comment as well
2018-12-17 13:58:36 +01:00
Bruno Windels
4fffb55cc5
ignore any unknown tags
2018-12-17 13:52:32 +01:00
Bruno Windels
4264f915a2
Merge pull request #2357 from matrix-org/bwindels/fixedtheme
...
Redesign: disable setting theme completely
2018-12-17 12:00:39 +00:00
Bruno Windels
510cec1ebf
disabling setting theme without breaking the build
2018-12-17 12:49:38 +01:00
Bruno Windels
649910139a
disable setting theme completely
2018-12-17 12:27:42 +01:00
Bruno Windels
ffec533c17
Merge pull request #2355 from matrix-org/travis/dharma-theme
...
Force use of dharma theme
2018-12-17 09:24:28 +00:00
Travis Ralston
c706135c6e
Force use of dharma theme
2018-12-16 12:49:41 -07:00
Travis Ralston
7b0766a303
Apply 50% opacity to the checkmark when there is no status
2018-12-14 13:49:35 -07:00
Travis Ralston
7efd82f713
Disable password managers on the status form
2018-12-14 13:44:40 -07:00
Bruno Windels
f934794bfe
Merge pull request #2354 from matrix-org/bwindels/leftpanelsmallfixes
...
Redesign: some small fixes
2018-12-14 18:18:59 +00:00
Bruno Windels
3ea0fd1a2f
fix overflow indicators not being updated when searching
2018-12-14 17:06:51 +01:00
Bruno Windels
e4d2b6f2b7
fix resize handles being too thick on edge (hopefully)
2018-12-14 17:06:00 +01:00
Bruno Windels
2afdb04db5
prevent jumping on when hovering over invited section
2018-12-14 17:05:01 +01:00
Travis Ralston
7ed9559ad7
Merge pull request #2351 from matrix-org/travis/fix-username-requirements
...
Standardize errors about localpart structure
2018-12-13 22:09:49 -07:00
Travis Ralston
576bfedfb5
Remove global flag
...
Regular expression objects are stateful, and the global flag interferes badly with the expression. A valid call can cause it to act like a flip flop instead of a stateless test.
2018-12-13 22:00:06 -07:00
Travis Ralston
8592e76e12
Standardize errors about localpart structure
...
Fixes https://github.com/vector-im/riot-web/issues/5833
This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per https://github.com/vector-im/riot-web/issues/5833#issuecomment-445323177
2018-12-13 16:45:30 -07:00
Travis Ralston
bae9996c64
Merge pull request #2352 from matrix-org/travis/fix-notification-bell
...
Fix translation error on notification icon
2018-12-13 16:36:18 -07:00
Travis Ralston
49769a405d
Fix translation error on notification icon
...
Introduced by https://github.com/matrix-org/matrix-react-sdk/pull/2336
2018-12-13 16:12:56 -07:00
Travis Ralston
366f343432
Merge pull request #2327 from matrix-org/travis/well-known-improvements
...
Introduce a default_server_name for aesthetics and rework .well-known
2018-12-13 14:55:04 -07:00
Travis Ralston
5f434cd31c
Don't break the UI when something goes wrong
2018-12-13 14:45:08 -07:00
Travis Ralston
63658e0441
Add a missing null check
2018-12-13 14:29:12 -07:00