Bruno Windels
b0032b247d
Merge pull request #2270 from matrix-org/bwindels/memberqueryfield
...
Redesign: move member query field to bottom of member list
2018-11-07 12:29:53 +00:00
Bruno Windels
883126a528
Merge branch 'experimental' into bwindels/memberqueryfield
2018-11-07 13:29:28 +01:00
Bruno Windels
9e95a1402c
Merge pull request #2269 from matrix-org/bwindels/roomlistpolish
...
Redesign: room list visual polish
2018-11-07 11:44:47 +00:00
Bruno Windels
b0a47da72c
fix lint
2018-11-06 15:29:47 +01:00
Bruno Windels
c19b593f5c
Merge branch 'develop' into experimental
2018-11-06 15:28:20 +01:00
Bruno Windels
4e773c2665
Make right panel a dark-panel instead of every descendant.
...
Also move bg color central.
2018-11-06 14:47:58 +01:00
Bruno Windels
92e43ea181
move filter member field to bottom of memberlist
...
reorganize styles as well
2018-11-06 14:47:11 +01:00
Bruno Windels
ba00c29351
ellipsis class not used anymore
2018-11-06 14:03:29 +01:00
Bruno Windels
3bd0bcde4b
align room sub list header with design
...
also make css more maintainable with less hardcoded dimensions
2018-11-06 14:03:01 +01:00
Bruno Windels
3ce52d104c
align collapsed roomtile with design
2018-11-06 14:02:43 +01:00
Bruno Windels
c9dc273cb0
better native scrollbar width compensation for FF
...
instead of having to offset the padding of children of the
autohiding scrollbar container, which gets fiddly quickly,
add a new child to the scrollbar container that gets a negative
margin of the scrollbar width when needed
(on hover and overflowing when overlay is not supported).
This needs an extra DOM element, but as it doesn't do anything weird
layout-wise (like set position), it shouldn't affect styling at all.
It also makes the auto hide scrollbar workarounds completely transparent
to the rest of the code.
2018-11-06 11:37:49 +01:00
Bruno Windels
3c70c2b82f
not needed
2018-11-05 17:43:16 +01:00
Bruno Windels
fd0b33edaf
margin adjusment of room tile according to design
2018-11-05 17:42:59 +01:00
Bruno Windels
ef26189add
add dedicated menu button to room tile with new design
2018-11-05 17:42:25 +01:00
Travis Ralston
57ee816c90
Merge pull request #2266 from matrix-org/travis/fix-pinned-rooms
...
Regenerate the room list when m.fully_read is issued
2018-11-05 08:49:29 -07:00
Bruno Windels
f8f4dde3ec
Merge pull request #2267 from matrix-org/bwindels/roomfilterfield
...
Redesign: bring back & restyle room filter field
2018-11-05 13:28:23 +00:00
Bruno Windels
645ae73f3b
undo type/brain fart
2018-11-05 14:27:27 +01:00
Bruno Windels
665d424758
use svg icon in add room button
2018-11-05 14:25:28 +01:00
Bruno Windels
05935db8fc
don't show sublist header badge in collapsed mode
...
just not enough space
2018-11-05 14:25:07 +01:00
Bruno Windels
c0becc7664
fix roomtile badge
...
only put it in the dom if it has
anything to show as it has a border now in collapsed mode
2018-11-05 14:24:12 +01:00
Bruno Windels
cb8393d449
fix room sublist padding when collapsed
2018-11-05 14:22:55 +01:00
Bruno Windels
c0e3e3925f
more badge cleanup
2018-11-05 14:22:41 +01:00
Bruno Windels
01626d6b02
never show horizontal scrollbar in subroom list
2018-11-05 14:21:58 +01:00
Bruno Windels
3cd32e2f44
update search icon(s)
2018-11-05 13:07:49 +01:00
Bruno Windels
c6751e25e0
fix lint
2018-11-05 12:15:03 +01:00
Bruno Windels
6993dc034d
always show badges in room sub list header
2018-11-05 10:35:50 +01:00
Bruno Windels
010f077092
align badges with design
2018-11-05 10:35:38 +01:00
Bruno Windels
1d77a67683
fix room list chevron
2018-11-05 10:09:05 +01:00
Bruno Windels
701dd6d33f
restyle search close button
2018-11-05 09:54:14 +01:00
Bruno Windels
6db81edf6c
restyle SearchBox & make it more reusable
...
as we can reuse it in the room header
2018-11-05 09:35:44 +01:00
Bruno Windels
064662380f
support search icon in mx_textinput, use in memberlist
2018-11-05 09:35:27 +01:00
Bruno Windels
46389457e3
add input styling for light and dark panels (leftpanel vs room header)
2018-11-05 09:32:37 +01:00
Bruno Windels
80afc0982b
add generic text input styling
...
text inputs are now styled at every occurence in the app,
style input by default, and provide a .mx_textinput class
if buttons need to appear inside the input styling.
Before this was partially done in _common.scss, but as it's
highly theme-dependent, makes more sense to do it in the theme.
2018-11-05 09:28:26 +01:00
Travis Ralston
ec2528e8b5
Update MatrixActionCreators.js
2018-11-04 23:00:47 -07:00
Travis Ralston
f9d5c11d8d
Regenerate the room list when m.fully_read is issued
...
Not doing so results in the RoomListStore tracking stale data when the user reads messages on another device. The visual effect of this is rooms being incorrectly pinned in places they shouldn't be, such as the top of the list. This also fixes another visual bug where rooms don't move down once their timelines are read. This second issue is mot prominent when multiple rooms have been pinned to the top, and the middle one is read ahead of the others - it'll stick around until some other condition decides to wipe the room's cached state.
Fixes https://github.com/vector-im/riot-web/issues/7653
2018-11-04 19:47:24 -07:00
Travis Ralston
ba56803e0d
Merge pull request #2263 from matrix-org/travis/cleanup-request
...
Remove the request-only stuff we don't need anymore
2018-11-02 09:39:08 -06:00
Bruno Windels
1fbfddfa8a
hide search field when left panel is collapsed
...
also remove collapse/expand button in search field
2018-11-02 15:29:18 +01:00
Bruno Windels
e29227db4e
bring back "filter rooms" field
...
this does the filtering in RoomList instead of RoomSubList, so
we can hide sections that don't have any results.
The filtering does happen with every rerender of RoomList,
but only does something while searching, so the performance
implications are probably negligible.
2018-11-02 15:27:17 +01:00
Bruno Windels
06cc7a493d
Merge pull request #2262 from matrix-org/bwindels/biggerresizehandles
...
Redesign: increase interaction rectangle of resize handles
2018-11-02 14:12:49 +00:00
Bruno Windels
9546df609e
Merge pull request #2260 from matrix-org/bwindels/rightpanelbelowheader
...
Redesign: move right panel below room/group header
2018-11-02 14:12:24 +00:00
Bruno Windels
9be4598a0e
use main element for room/group view
2018-11-02 15:05:55 +01:00
David Baker
b07514d21f
Merge pull request #2264 from matrix-org/bwindels/nativescrollbars
...
Redesign: use native auto-hiding scrollbars in room sub lists
2018-11-02 10:55:12 +00:00
Travis Ralston
151b4cc7fa
Merge pull request #2265 from matrix-org/travis/fix-pinned-rooms
...
Improve performance of room list and fix timestamp ordering when pinning rooms
2018-11-01 18:24:04 -06:00
Travis Ralston
3960ae2fcd
Add more commentary around how the roomCache works
2018-11-01 17:17:01 -06:00
Travis Ralston
a713cc5c52
Compare the right types of events
2018-11-01 17:07:05 -06:00
Travis Ralston
122868e32f
Removing timing/performance tracking on room list store
...
This was used to verify the fix was actually making improvements and can be safely taken out.
2018-11-01 16:30:48 -06:00
Travis Ralston
0c7aadb92b
Improve room list sort performance by caching common variables
...
This won't help much if the user is in a ton of highly active rooms, but for the most part this will help those in thousands of rooms, many of which are likely to be quiet.
Fixes https://github.com/vector-im/riot-web/issues/7646
Fixes https://github.com/vector-im/riot-web/issues/7645 (due to timestamp ordering)
2018-11-01 16:28:13 -06:00
Travis Ralston
272acfa2f5
Appease the linter
2018-11-01 14:46:39 -06:00
Travis Ralston
5558b7a3b2
Avoid hitting the SettingsStore thousands of times when generating room lists
...
Should fix https://github.com/vector-im/riot-web/issues/7646 to some degree
2018-11-01 14:43:15 -06:00
Bruno Windels
4c5bd71114
fix lint
2018-11-01 17:56:08 +01:00