Bruno Windels
e479c72e3c
Merge branch 'experimental' into bwindels/roomheader1
2018-10-23 21:39:13 +02:00
Bruno Windels
466062e872
Merge pull request #2239 from matrix-org/bwindels/topleftmenu1
...
Redesign: 1st go at top left menu & restyling context menus
2018-10-23 19:37:05 +00:00
Bruno Windels
88df3d2a81
Merge pull request #2238 from matrix-org/bwindels/initialtimelinetweaks
...
Redesign: Initial timeline tweaks
2018-10-23 19:36:19 +00:00
Bruno Windels
18fedb23ec
fix basic room header layout
...
make room name take as much space as it needs (but not more than width)
put all items apart from right buttons in one flex container
so name and topic can grow as required
more small tweaks
2018-10-23 16:57:56 +02:00
Bruno Windels
b7ab207778
move sendername colors to theme
2018-10-23 15:48:44 +02:00
Bruno Windels
4b90fd5c11
move TopLeftMenu to context_menus folder
2018-10-23 15:42:28 +02:00
Bruno Windels
cad0fa05e5
hide name when collapsed
2018-10-23 15:33:45 +02:00
Bruno Windels
97789a8858
event handlers need to be bound with es6 react classes
2018-10-23 15:33:24 +02:00
Bruno Windels
8b38af856a
put settings and sign out in top left menu for now
2018-10-23 15:25:20 +02:00
Bruno Windels
863d89f6fd
show profile in topleftmenu button for now (will be current community)
2018-10-23 15:25:10 +02:00
Bruno Windels
eba91d3edc
initial restyle of context menus with drop shadow
2018-10-23 15:23:59 +02:00
Bruno Windels
3f6175527c
move menu padding from wrapper so menu can have full-width elements
2018-10-23 15:22:41 +02:00
Bruno Windels
7b8e96723e
support contextual menus without chevron
2018-10-23 15:21:30 +02:00
Bruno Windels
5f1cf07543
rename TopLeftMenu to TopLeftMenuButton
...
so the former can be the actual menu
2018-10-23 13:29:44 +02:00
Bruno Windels
f95b50f6a9
Merge pull request #2233 from matrix-org/bwindels/roomlistvisuals
...
Redesign: Align visuals of room list with design
2018-10-23 10:23:48 +00:00
Bruno Windels
2b41345651
Merge branch 'experimental' into bwindels/roomlistvisuals
2018-10-23 11:21:15 +02:00
Bruno Windels
f2efbc15f4
apply color categories to sender profile name
2018-10-23 10:49:44 +02:00
Bruno Windels
2a264f36b7
style date separator
2018-10-23 10:25:04 +02:00
Bruno Windels
bf6486ac4f
align avatar in room header with avatars in timeline
...
(equally not part of design but making it prettier for now)
2018-10-23 09:34:08 +02:00
Bruno Windels
f3ae9fe981
align avatar in composer with avatar in timeline
...
not part of design but temporarily make it prettier
2018-10-23 09:33:35 +02:00
Bruno Windels
7e09d50e68
add padding to timeline
2018-10-23 09:33:22 +02:00
Bruno Windels
e8048930c4
align (+) button and aggregated badge on section header
2018-10-22 18:18:36 +02:00
Bruno Windels
59fe5ee91f
make text on room tile with highlight or notifitications black
2018-10-22 18:18:08 +02:00
Bruno Windels
3d5395e784
tweak paddings and margins on room tile
2018-10-22 18:17:51 +02:00
Bruno Windels
521e035bf0
add vertical space above and below room section
2018-10-22 18:17:14 +02:00
Bruno Windels
91a2ee1779
tweak badges
2018-10-22 18:16:36 +02:00
Bruno Windels
7d0b8083b6
hardcode to to dharma to avoid weird mix
2018-10-22 16:33:46 +02:00
David Baker
0992408930
Merge pull request #2229 from matrix-org/bwindels/roomsectionheadercleanup
...
Redesign: room section header tidbits
2018-10-22 14:49:53 +01:00
David Baker
bb3a03a9b8
Merge remote-tracking branch 'origin/experimental' into bwindels/roomsectionheadercleanup
2018-10-22 14:43:38 +01:00
David Baker
256bcb0963
Merge pull request #2228 from matrix-org/bwindels/addroomfromsublistheader
...
Redesign: Add (+) button in room section header to add rooms
2018-10-22 14:32:48 +01:00
Bruno Windels
d1bab6cc35
tweak resize handle in room list
...
only show a 1 px line but with a 9px interaction target
apply darker color from design
2018-10-22 11:19:42 +02:00
Bruno Windels
b728acc798
set accest color to new red
2018-10-22 11:18:53 +02:00
Bruno Windels
5c843acc10
fix room lists growing taller than screen height in FF
...
sections with flex-basis don't seem to shrink smaller in FF,
so use flexGrow which is unitless/proportional but works as well
2018-10-22 11:16:33 +02:00
Bruno Windels
f42ab32e05
Merge branch 'experimental' into bwindels/roomsectionheadercleanup
2018-10-22 10:31:07 +02:00
Bruno Windels
ebd3d34106
make sure no resize handle is put after last sublist
2018-10-19 18:35:27 +02:00
Bruno Windels
7c64d9637e
hide resize handles next to collaped/empty sublists
2018-10-19 18:18:45 +02:00
Bruno Windels
73d9a71b29
Merge pull request #2226 from matrix-org/bwindels/resizeroomsublists
...
Redesign: 1st go at resizing room sublists
2018-10-19 13:33:28 +00:00
Bruno Windels
f2ee8307dc
Merge pull request #2224 from matrix-org/bwindels/removedndmore
...
Redesign: remove room list truncation and DND
2018-10-19 13:30:18 +00:00
Bruno Windels
933028120b
Merge pull request #2210 from matrix-org/bwindels/resizehandles
...
Redesign: resizeable/collapsible sections
2018-10-19 13:27:55 +00:00
Bruno Windels
7ece134b4e
dont cause rerender with anon func
2018-10-19 15:22:28 +02:00
Bruno Windels
eb1ee1ca55
bind instead of second member var
2018-10-19 15:15:49 +02:00
Bruno Windels
e4276d9378
don't show notification count in expanded room section header
2018-10-19 14:50:35 +02:00
Bruno Windels
acd383c6a9
move closer to usage
2018-10-19 14:44:37 +02:00
Bruno Windels
8f71210bdf
header should never grow or shrink
2018-10-19 14:44:07 +02:00
Bruno Windels
c6924c47fa
no need for self
2018-10-19 14:43:54 +02:00
Bruno Windels
d48f19bc19
remove alwaysShowHeader, as now onAddRoom prop determines this
2018-10-19 14:43:02 +02:00
Bruno Windels
5091aa3b43
get rid of emptyContent, also cleanup sublist render method
...
also assume empty list in css by default and add nonEmpty class
2018-10-19 14:41:51 +02:00
Bruno Windels
57a9d3ca98
remove obsolete resizer
2018-10-19 14:37:23 +02:00
Bruno Windels
14cdd723f7
only show chevron for non-empty lists
2018-10-19 14:33:51 +02:00
Bruno Windels
0386a1e048
get rid of obsolete showEmpty prop
2018-10-19 14:32:49 +02:00