Travis Ralston
0c7e0a264b
Inline documentation
2019-02-13 19:49:28 -07:00
Travis Ralston
b08ab6cd12
Fix boundary math calculations
2019-02-13 19:35:01 -07:00
Travis Ralston
c0b63f986f
Implement a cache on _tsOfNewestEvent: ~75% improvement
2019-02-13 19:16:11 -07:00
Travis Ralston
52f48f7422
Order by timestamp within the categorized room lists
...
When we load the page, all encrypted events arrive well after we've generated our initial grouping which can cause them to jump to the top of their categories wrongly. For direct chats, this meant that people who don't have a lot of unread messages would see ancient rooms bubbling to the top for no reason after the page has loaded.
We still have to track when the last category change was (ie: when we switched from red -> grey) so that when the category doesn't exist in the list we can insert the room at the right place (the start of the last category when we switch beyond the order expected).
2019-02-13 18:19:18 -07:00
Travis Ralston
821b34b487
React to read receipt changes from ourselves
...
When a room is read on another device, it should be re-sorted
2019-02-13 17:03:27 -07:00
Travis Ralston
2eb80f793c
Try to handle direct chats and tag changes
...
This is a very blunt approach in that it ignores the sticky room.
2019-02-13 14:22:00 -07:00
Travis Ralston
b741b76797
Handle joins/leaves safely
2019-02-13 14:08:19 -07:00
Travis Ralston
9175655c16
Remove old pin unread options
...
They are not forced on, and do nothing.
2019-02-13 13:13:40 -07:00
Travis Ralston
b6c1b50fd9
Early support for improved room algorithm
...
This changes the approach from regenerating every time there's a change to incrementally fixing the room lists. Additionally, this forces the pin options on for people and implements the sticky room behaviour.
Known bugs include newly joined rooms, invites, etc not sorting correctly.
2019-02-13 13:01:03 -07:00
Bruno Windels
a720de81c1
Merge pull request #2632 from matrix-org/bwindels/searchthrottle
...
use throttle as its more responsive
2019-02-13 20:37:13 +01:00
Bruno Windels
47c14021b3
use throttle as its more responsive
2019-02-13 20:32:50 +01:00
Bruno Windels
5aa08a0f02
Merge pull request #2631 from matrix-org/bwindels/roomlistfilterfix
...
update range when items size changes
2019-02-13 20:29:40 +01:00
David Baker
0ad9d71935
Merge pull request #2630 from matrix-org/dbkr/fix_register_email_link
...
Fix registration after clicking email link
2019-02-13 19:25:15 +00:00
Bruno Windels
a1a82e48d9
update range when items size changes
2019-02-13 20:21:17 +01:00
David Baker
c3ca2b4d46
add comment
2019-02-13 19:06:44 +00:00
J. Ryan Stinnett
5b64543159
Typo
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-02-13 19:05:17 +00:00
David Baker
e439d36805
Merge pull request #2626 from matrix-org/dbkr/recheck_key_backup
...
Re-check key backup status when settings opened
2019-02-13 18:19:39 +00:00
David Baker
0f4092dcbc
Fix registration after clicking email link
...
We weren't correctly jumping into the appropriate bit of the registration
flow when coming in from an email link.
* If we have client secret / sessionId, go straight to registration phase
* Don't reset server URLs when the server type component tells us its
initial value
* Confusingly, pass the custom server URL as 'default server URL' to
the custom server type, as this is what we want the inital section
to be based on.
Fixes https://github.com/vector-im/riot-web/issues/8490
2019-02-13 18:12:34 +00:00
Bruno Windels
90667d8061
Merge pull request #2629 from matrix-org/bwindels/lazyroomtilerendering
...
Improve room list rendering performance
2019-02-13 18:55:47 +01:00
Bruno Windels
e51f279f36
dont assume there items is an array
2019-02-13 18:49:09 +01:00
J. Ryan Stinnett
694a59afb7
Merge pull request #2628 from jryans/adjust-top-left-menu
...
Adjust top left menu items
2019-02-13 17:38:08 +00:00
Bruno Windels
42409691b3
try to not trigger rerenders in LazyRenderList
...
by not creating new arrays
2019-02-13 18:36:46 +01:00
Bruno Windels
39632428d0
remove throttling after improving LazyRenderList perf
2019-02-13 18:36:19 +01:00
Bruno Windels
60d0ed4c01
make LazyRenderList stateful for better performance
...
it only rerenders when visible range it would render based on the
props gets OVERFLOW_MARGIN(5) items from the current renderRange
2019-02-13 18:33:57 +01:00
J. Ryan Stinnett
d6dcae35b5
Merge pull request #2627 from matrix-org/nadonomy/icon-diet
...
Normalised icon strokes to 1px
2019-02-13 16:40:17 +00:00
J. Ryan Stinnett
ed0fc12f98
Tweak stroke width
2019-02-13 16:17:40 +00:00
J. Ryan Stinnett
116367fd69
Add welcome to top left menu for all
2019-02-13 16:13:32 +00:00
Bruno Windels
9c371111b7
Merge branch 'develop' into bwindels/lazyroomtilerendering
2019-02-13 17:13:23 +01:00
Nad Chishtie
4aa0f56b06
Normalised icon strokes to 1px
2019-02-13 16:11:18 +00:00
J. Ryan Stinnett
22789ada94
Add sign in to top left menu for guests
2019-02-13 16:01:13 +00:00
David Baker
d2b4dfce30
Re-check key backup status when settings opened
...
Fixes https://github.com/vector-im/riot-web/issues/8524
Requires https://github.com/matrix-org/matrix-js-sdk/pull/840
2019-02-13 15:40:44 +00:00
David Baker
737b85c8f0
Merge pull request #2623 from matrix-org/dbkr/fix_force_turn_flag
...
Security: Force TURN setting was inverted
2019-02-13 15:24:14 +00:00
J. Ryan Stinnett
422750082d
Tweak pill bg color for dark theme
2019-02-13 15:11:29 +00:00
J. Ryan Stinnett
5f6907c85e
Improve gradients for Safari
2019-02-13 15:06:40 +00:00
J. Ryan Stinnett
f64f39f773
Tweak box shadow on dark theme
2019-02-13 15:06:40 +00:00
Matthew Hodgson
4028d775ba
remove unicode percentages
2019-02-13 14:36:08 +00:00
J. Ryan Stinnett
93324896f3
Force authpage to act like light theme
2019-02-13 14:24:03 +00:00
J. Ryan Stinnett
feb92957c0
Use notice colors for E2E icons
2019-02-13 14:05:45 +00:00
J. Ryan Stinnett
4409636c0b
Tweak panel button divider color
2019-02-13 13:57:59 +00:00
Bruno Windels
84163bed11
wrap roomtiles in LazyRenderList to improve perf for big accounts
2019-02-13 14:51:09 +01:00
Bruno Windels
0de2161a0d
create LazyRenderList component to trim list to visible part
2019-02-13 14:50:43 +01:00
Bruno Windels
3ce2309ae2
get scrolltop and scrollevent out of autohide/indicator scrollbar
2019-02-13 14:49:14 +01:00
J. Ryan Stinnett
fb4fd54f6f
Stop gradients at panel bg color
2019-02-13 13:48:56 +00:00
J. Ryan Stinnett
c8edd6b417
Route header panel bg color to left and right panels
2019-02-13 13:17:50 +00:00
J. Ryan Stinnett
e09963cdfb
Tweak dark theme color values
2019-02-13 13:10:55 +00:00
Matthew Hodgson
4c56b45a9f
back out bold unread
2019-02-13 12:46:08 +00:00
Matthew Hodgson
3eb5c71b75
rename 'Close Account' back to 'Deactivate Account'.
...
the word close on a red button makes you feel like you're going to close the
settings dialog, not terminate your account...
2019-02-13 12:24:04 +00:00
Matthew Hodgson
8464155663
fix topic & room name alignment in header
2019-02-13 12:16:09 +00:00
David Baker
26287067fc
Security: Force TURN setting was inverted
...
In making the settings more positive, we flipped 'disable peer to
peer' but didn't change the caption, so the setting was inverted
from what it was labelled as.
Also, forcing p2p isn't the inverse of forcing turn.
Change the setting to be 'allow p2p' and the label to match.
2019-02-13 11:51:32 +00:00
J. Ryan Stinnett
e6f9b7a109
Merge pull request #2619 from matrix-org/jryans/dark-theme-redesign
...
Add redesigned dark theme
2019-02-13 11:45:30 +00:00