Bruno Windels
bfb1031a6b
unify heights stored by id and index, to avoid them getting out of sync
...
effectively get rid of _originalHeights and calculate the array
from the dictionary when needed
2019-01-28 14:52:40 +01:00
Bruno Windels
0a5e8e6cfe
WIP on persisting height across collapse/expand
2019-01-28 14:35:04 +01:00
David Baker
eb7112cbc0
Merge pull request #2461 from matrix-org/dbkr/sas
...
Short-Authentication-String Verification
2019-01-28 09:45:59 +00:00
David Baker
b4f02844a8
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-28 09:36:39 +00:00
J. Ryan Stinnett
4ac617c72b
Merge pull request #2513 from jryans/null-dvb
...
Fix unmount TypeError in `DeviceVerifyButtons`
2019-01-25 22:57:45 -06:00
J. Ryan Stinnett
d1b78e5b08
Fix unmount TypeError in `DeviceVerifyButtons`
2019-01-25 17:54:11 -06:00
J. Ryan Stinnett
a07ba49641
Merge pull request #2511 from matrix-org/jryans/rm-team-server
...
Remove support for team servers
2019-01-25 16:48:24 -06:00
Travis Ralston
e2ba1cc0d6
Remove unused import
2019-01-25 15:46:38 -07:00
Travis Ralston
57e45e7e7c
Proof of concept for a flair tab in user settings
2019-01-25 15:35:32 -07:00
Travis Ralston
f969a35885
Merge pull request #2510 from matrix-org/travis/rsettings/tabify
...
Initial structure for new room settings
2019-01-25 15:25:31 -07:00
J. Ryan Stinnett
20b7debcaf
Remove support for team servers
2019-01-25 16:13:30 -06:00
Travis Ralston
535d42684f
Initial structure for new room settings
2019-01-25 13:09:44 -07:00
David Baker
2061ce2dbf
Merge pull request #2509 from matrix-org/dbkr/logout_warning_wording
...
Tweak wording on logout warning
2019-01-25 18:25:37 +00:00
David Baker
86e9417a19
Merge pull request #2508 from matrix-org/dbkr/fix_roomrecoveryreminder_npe
...
Fix NPE in RoomRecoveryReminder
2019-01-25 18:09:59 +00:00
David Baker
47c2ca3384
Tweak wording on logout warning
...
I further tweaked the wording from Tom's in the bug report to
put passphrases first since they are supposed to be the norm
(and the correct term is "recovery passphrase").
Fixes https://github.com/vector-im/riot-web/issues/8214
2019-01-25 18:01:40 +00:00
David Baker
de9b964490
Fix NPE in RoomRecoveryReminder
...
Also fix a bug introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/2506
where I failed to set the button caption in one case.
Fixes https://github.com/vector-im/riot-web/issues/8216
2019-01-25 17:49:02 +00:00
Bruno Windels
2d2f9712b5
update layout on window resize
2019-01-25 18:48:25 +01:00
Bruno Windels
cb9ebf8b8b
rerender roomlist when banner gets shown/hidden, to update the layout
2019-01-25 18:47:57 +01:00
Bruno Windels
8ffeee6a98
add matthews new resize algo
2019-01-25 18:47:34 +01:00
David Baker
7aa779c160
Remove outdated paragraph promising better verification
2019-01-25 17:31:46 +00:00
J. Ryan Stinnett
939f8b5591
Fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:59 +00:00
J. Ryan Stinnett
e3cd50da1f
Fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:47 +00:00
J. Ryan Stinnett
44a5ee3e44
Add fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:22 +00:00
David Baker
1b5be8603c
Merge pull request #2506 from matrix-org/dbkr/room_recovery_reminder_verifydevice
...
New text/caption for key backup by verifying device
2019-01-25 17:13:09 +00:00
Travis Ralston
41bc2a3d0c
Merge pull request #2499 from matrix-org/travis/usettings/tab/security
...
Implement the "Security & Privacy" tab of new user settings
2019-01-25 09:44:00 -07:00
Travis Ralston
e1bc1eee43
Appease the linter
2019-01-25 09:30:13 -07:00
David Baker
f6bbfd7e0d
New text/caption for key backup by verifying device
...
https://github.com/vector-im/riot-web/issues/8072
2019-01-25 16:25:15 +00:00
Travis Ralston
fb36f7abef
Fix imports and quotes
2019-01-25 09:18:00 -07:00
Travis Ralston
3e69be5139
Regenerate i18n due to conflicts
2019-01-25 09:12:45 -07:00
Travis Ralston
f7f23e4dea
Merge branch 'experimental' into travis/usettings/tab/security
2019-01-25 09:12:07 -07:00
Travis Ralston
aeac82209e
Improve disabled Field styling
2019-01-25 09:10:16 -07:00
Travis Ralston
d136c33a87
Invert setting values in a common place
2019-01-25 09:04:56 -07:00
Travis Ralston
949343d7d5
Merge pull request #2505 from matrix-org/travis/settings/animated-toggles
...
Add simple animations to toggle switches
2019-01-25 07:51:38 -07:00
Travis Ralston
7a2cc3a242
Merge pull request #2503 from matrix-org/travis/settings/placeholders
...
Default a Field's placeholder to the label
2019-01-25 07:51:07 -07:00
Travis Ralston
3301c35f7d
Merge pull request #2501 from matrix-org/travis/settings/dialog-size
...
Have the settings dialog be fixed in size
2019-01-25 07:46:36 -07:00
Travis Ralston
f58d016137
Merge pull request #2500 from matrix-org/travis/usettings/tab/help
...
Implement the "Help & About" tab of new user settings
2019-01-25 07:44:10 -07:00
Travis Ralston
9bbbab9d03
Add simple animations to toggle switches
2019-01-24 21:24:28 -07:00
Travis Ralston
cb6f415a05
Be more positive with setting labels
...
Fixes https://github.com/vector-im/riot-web/issues/6435
This is done through an on-the-fly inverter for the settings. All the settings changed are boolean values, so this should be more than safe to just let happen throughout the SettingsStore. Typically a change like this would be done in the individual handlers (similar to how setting names are remapped to different properties or even different storage locations on the fly), however doing that for this many settings would be a huge nightmare and involve changing *all* the layers. By putting a global "invert this" flag on the setting, we can get away with doing the inversion as the last possible step during a read (or write).
To speed up calculations of the default values, we cache all the inverted values into a lookup table similar to how we represent the defaults already. Without this, the DefaultHandler would need to iterate the setting list and invert the values, slowing things down over time. We invert the value up front so we can keep the generic inversion logic without checking the level ahead of time. It is fully intended that a default value represents the new setting name, not the legacy name.
This commit also includes a debugger for settings because it was hard to visualize what the SettingsStore was doing during development. Some added information is included as it may be helpful for when someone has a problem with their settings and we need to debug it. Typically the debugger would be run in conjunction with `mxSendRageshake`: `mxSettingsStore.debugSetting('showJoinLeaves') && mxSendRageshake('Debugging showJoinLeaves setting')`.
2019-01-24 20:57:40 -07:00
Travis Ralston
d819095a76
Default a Field's placeholder to the label
...
Fixes https://github.com/vector-im/riot-web/issues/8250
This keeps all fields in line with the design without them having to defining it twice. The option is kept in the first place as some fields might want to override the placeholder to be longer than the label or something.
2019-01-24 19:36:23 -07:00
Travis Ralston
284be2653e
Override UA/OS styles for disabled Field selects
...
Fixes https://github.com/vector-im/riot-web/issues/8249
2019-01-24 19:27:20 -07:00
Travis Ralston
5dc75e2d3c
Have the settings dialog be fixed in size
...
This also brings out some classes that aren't solely applicable to the user settings and will be applicable to the room settings as well.
2019-01-24 19:12:09 -07:00
Travis Ralston
1f10cda5e4
Implement the "Help & About" tab of new user settings
2019-01-24 17:10:35 -07:00
Travis Ralston
b0a8cbf75f
Implement the "Security & Privacy" tab of new user settings
2019-01-24 15:47:04 -07:00
Travis Ralston
c5deeeaceb
Merge pull request #2498 from matrix-org/travis/usettings/tab/voice
...
Implement the "Voice & Video" tab of new user settings
2019-01-24 14:59:32 -07:00
Travis Ralston
0f89668446
Also the font size
2019-01-24 14:42:30 -07:00
Travis Ralston
87cea5ef09
Fix sizings and margins
2019-01-24 14:41:00 -07:00
Travis Ralston
3e09cd1d2e
Appease the linter
2019-01-24 13:43:16 -07:00
Travis Ralston
a4e0796bfe
Swap out the media permissions text for a paragraph element
...
The sizing ratio looks way off when the text is just subtext.
2019-01-24 13:37:20 -07:00
Travis Ralston
27ee6625ee
Implement the "Voice & Video" tab of new user settings
2019-01-24 13:33:22 -07:00
Travis Ralston
77b551a911
Merge pull request #2497 from matrix-org/travis/usettings/tab/labs-screenshot
...
Add widget screenshots to the Labs section
2019-01-24 13:22:55 -07:00