Commit Graph

12384 Commits (a31dacc4bc1abe66c3a49e6c9541696490db7b30)

Author SHA1 Message Date
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
J. Ryan Stinnett 975392cbbb Add visible guest warning to encourage login
If you happen to get logged out, it might not be very clear what has happened
visually. This adds a visible warning to the top of the home page to suggest
logging in.

Fixes vector-im/riot-web#7629.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-11-06 21:08:57 +01: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
Weblate 2b560dc4d6 Merge remote-tracking branch 'origin/develop' into develop 2018-11-05 15:49:36 +00:00
Suetsugu Kawamura 6df367f95a Translated using Weblate (Japanese)
Currently translated at 75.6% (964 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-05 15:49:35 +00:00
Slavi Pantaleev 821cdc55c1 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-11-05 15:49:35 +00: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
Krombel 450b226632 Translated using Weblate (German)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-11-03 13:33:02 +00:00
Osoitz 578136fa30 Translated using Weblate (Basque)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-11-03 08:24:10 +00:00
Slavi Pantaleev 50768327e2 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-11-02 18:17:17 +00:00
Weblate b86af18aad Merge remote-tracking branch 'origin/develop' into develop 2018-11-02 15:39:14 +00:00
Suetsugu Kawamura ade9c7002a Translated using Weblate (Japanese)
Currently translated at 57.4% (732 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-02 15:39:13 +00: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
Szimszon 1ba96b97ea Translated using Weblate (Hungarian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-11-02 12:07:03 +00: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