Commit Graph

13126 Commits (f103e60d1d14f408fbef248aae18075fa4c68365)

Author SHA1 Message Date
Bruno Windels f103e60d1d fix lint - bis 2019-01-28 15:22:05 +01:00
Bruno Windels d08216e857 fix lint 2019-01-28 14:56:14 +01:00
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
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
Bruno Windels 4eb2555fc1 initial support for collapsing 2019-01-24 18:18:10 +01:00
Bruno Windels 636955daef use offsetHeight for consistency with sizer 2019-01-24 16:45:26 +01:00
Bruno Windels b230e65e74 prevent height doubling when resizing
caused by mixing up absolute height with incremental height
2019-01-24 16:44:36 +01:00
Bruno Windels a5297303b0 remove flexbox layout 2019-01-24 15:44:16 +01:00
Bruno Windels 067a861f80 integrate layout/distributor with RoomList 2019-01-24 15:43:49 +01:00
Bruno Windels 1092244bbf more fixes for updates/resizing 2019-01-24 15:43:23 +01:00
Bruno Windels 5bddf62d54 WIP to port prototype code 2019-01-23 18:30:51 +01:00
Bruno Windels 3c8bd3fc78
Merge pull request #2456 from matrix-org/bwindels/extendtypingbartiming
Avoid "jumpiness" with inline typing indicator
2019-01-22 11:04:25 +00:00
Bruno Windels f83411ea0b whitespace 2019-01-22 11:46:02 +01:00
Bruno Windels 0e0128c297 if instead of short-circuit and for readability 2019-01-22 11:37:18 +01:00
Bruno Windels 5d45d5dfac formatting 2019-01-22 11:37:09 +01:00
Travis Ralston 881353037e
forgot .length somehow
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-22 10:34:54 +00:00
David Baker 49cc9f4b82
Merge pull request #2472 from matrix-org/dbkr/delint_compatpage_loggedinview
De-lint CompatabilityPage & LoggedInView
2019-01-22 10:23:23 +00:00
David Baker ba1aa2037d Merge remote-tracking branch 'origin/experimental' into dbkr/delint_compatpage_loggedinview 2019-01-22 10:13:27 +00:00
J. Ryan Stinnett 1d01ac398c Rename `mx_Login_box` to `mx_AuthPage_modal` and fold into `AuthPage` 2019-01-21 19:11:43 -06:00
J. Ryan Stinnett 3bd765f63f Rename LoginPage, Header, Footer views to Auth* 2019-01-21 19:11:43 -06:00
J. Ryan Stinnett c7354f483b Rename LoginBox to AuthButtons
This component displays login and register buttons. It's currently used in the
composer when viewing a room as a guest.

The name is confusing because the login flow uses are very similarly named
`mx_Login_box` as a wrapping around forms, which is totally different than these
buttons.

Additionally, the components is moved to `views/auth` since it is very simple
and auth related.
2019-01-21 19:11:43 -06:00
J. Ryan Stinnett 29be3ee4b5 Rename login directory to auth 2019-01-21 17:45:55 -06:00
J. Ryan Stinnett 6160db7a82
Merge pull request #2473 from jryans/rm-status-hacks
Remove Status theme-specific hacks
2019-01-21 15:05:05 -06:00
J. Ryan Stinnett cd8c74a7c4 Rebuild strings 2019-01-21 15:03:55 -06:00
J. Ryan Stinnett 31808c23a8 Override Firefox UA style for placeholders 2019-01-21 15:01:26 -06:00
J. Ryan Stinnett e714b2aed2 Remove Status theme-specific hacks 2019-01-21 13:59:22 -06:00
J. Ryan Stinnett 82dee37afe Fix styling regression in member list filter 2019-01-21 13:57:33 -06:00
J. Ryan Stinnett 23b3e74c1c Change to new field focused color 2019-01-21 13:47:16 -06:00
J. Ryan Stinnett 352107352e Tweak field input padding to match label position 2019-01-21 13:47:16 -06:00
J. Ryan Stinnett 1906cfd700 Tweak field label to be vertically centered 2019-01-21 13:47:16 -06:00
David Baker bd011de1e5 De-lint CompatabilityPage & LoggedInView
and remove from errorfiles
2019-01-21 19:32:57 +00:00
David Baker eecc37038a
Merge pull request #2469 from matrix-org/dbkr/warn_on_wrong_recovery_key
Error if no sessions decrypted
2019-01-21 19:18:33 +00:00
David Baker 31889ecfad Lint 2019-01-21 19:07:44 +00:00
David Baker e42b0a9972 Make error string less redundant 2019-01-21 18:02:09 +00:00
David Baker 1a9c3f1ac7 Make error string less technical 2019-01-21 17:41:55 +00:00
David Baker 0a2b79b62d Error if no sessions decrypted
Tell the user if they entered the wrong recovery key

Fixes https://github.com/vector-im/riot-web/issues/8143
2019-01-21 16:51:30 +00:00
Bruno Windels 86357fde51 sort combined typing users by name so order is stable 2019-01-21 17:49:46 +01:00
Bruno Windels 25aa58f29f increase/clear min-height on timeline on new message(s)
depending on whether the typing bar is visible
2019-01-21 17:35:40 +01:00
Bruno Windels 018f3d2a5c use box-sizing: border-box to make clientHeight === actual height 2019-01-21 17:30:02 +01:00
David Baker 250c7e0c4e
Merge pull request #2466 from matrix-org/dbkr/fix_direct_chat_button
Fix settings direct chat
2019-01-21 16:28:02 +00:00
David Baker 7e0f60505e Fix settings direct chat
We were expecting this function to return a string user ID, but it
returned a user object

Make it return a user ID and add jsdoc to say what it returns.

Fixes https://github.com/vector-im/riot-web/issues/8180
2019-01-21 16:02:25 +00:00
David Baker b53c4d05ab
Merge pull request #2464 from matrix-org/dbkr/dont_show_verify_button_unknown_device
Show verify button when we have a device to verify
2019-01-21 15:04:50 +00:00
David Baker 4c381c32ee Show verify button when we have a device to verify
rather than when we don't
2019-01-21 11:34:13 +00:00
Matthew Hodgson efcfaed335 switch to 35px high gradients 2019-01-20 14:31:06 +00:00
J. Ryan Stinnett d7031c12f4
Merge pull request #2463 from jryans/field-component
Redesign: Add a form field component
2019-01-19 22:37:39 -06:00
J. Ryan Stinnett 728830e2fd Add rethemendex as script for easier access 2019-01-19 22:33:51 -06:00
Travis Ralston 36ffbef010
Tweak comment about field ID
Co-Authored-By: jryans <jryans@gmail.com>
2019-01-19 22:29:57 -06:00