Commit Graph

11932 Commits (e4dfb90b855e83b38c89c614597efb5c891666b0)

Author SHA1 Message Date
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
Bruno Windels ae8723451a remove onShowMoreRooms, as room tiles & scrollbar rendered at same level 2018-10-19 14:27:36 +02:00
Bruno Windels f14c2cf2b2 don't hide empty sections that have a (+) button 2018-10-19 12:46:59 +02:00
Bruno Windels 07799f609f fix lint 2018-10-19 12:34:55 +02:00
Bruno Windels bbd50e75ee disable old style of showing focus for now 2018-10-19 12:10:37 +02:00
Bruno Windels bfbf41f431 make scrollable room list grab available space
without this, in small sizes, it would make the header shrink.
2018-10-19 12:09:15 +02:00
Bruno Windels 798be2d514 remove room count leftovers 2018-10-19 12:08:05 +02:00
Bruno Windels 6af61ebb09 add plus button for rooms and people 2018-10-19 12:07:36 +02:00
Bruno Windels 197dd57461 also set max-height so you can't make a sublist bigger than the content 2018-10-18 16:58:23 +02:00
Bruno Windels 44b92eb071 set sub list height with flex-basis to make it ... well, grow less 2018-10-18 16:58:17 +02:00
Bruno Windels d264687796 don't scroll sub list header 2018-10-18 16:25:22 +02:00
Bruno Windels 0b615b21e2 fix lint 2018-10-18 15:53:27 +02:00
Bruno Windels 01082c8595 hook up resizer events 2018-10-18 15:51:58 +02:00
Bruno Windels 39ab3d86bd create sizer that sets item size with flex-basis
works with the flex-grow we set initially for the sub lists
2018-10-18 15:51:22 +02:00
Bruno Windels a910f46c5b don't assume config 2018-10-18 15:51:01 +02:00
Bruno Windels c1e602d56f scrollbars and resize handles around room sub lists 2018-10-18 15:19:45 +02:00
Bruno Windels 99982b1164 put repeated props in process function 2018-10-18 15:15:56 +02:00
Bruno Windels c12368ea48 process RoomSubList props through function before creating them
this way, we'll be able to add adjacent resize handles and scroll wrappers
2018-10-18 15:09:58 +02:00
Bruno Windels 81d0ce2bcf remove sticky header code 2018-10-18 15:08:32 +02:00
Bruno Windels 3552326003 more lint fixes 2018-10-17 16:20:38 +02:00
Bruno Windels 6906d5a5f9 remove DND for room tiles 2018-10-17 16:02:35 +02:00
Bruno Windels 874ef50273 don't truncate room lists 2018-10-17 14:45:36 +02:00
Bruno Windels c926aa2bfe remove .collapsed class on mx_LeftPanel as the container already has it 2018-10-17 14:01:45 +02:00
Bruno Windels 8d414d0986 more docs 2018-10-17 13:45:56 +02:00
Bruno Windels d8ead8a8bb add some description to some classes 2018-10-17 13:42:30 +02:00
Bruno Windels 8d3347bcfb fix lint 2018-10-17 13:36:15 +02:00
Bruno Windels 6fdcebb876 add copyright headers 2018-10-17 11:38:25 +02:00
Bruno Windels 110e4526b8 store/load lhs & rhs sizes to/from localStorage 2018-10-16 18:43:40 +02:00
Bruno Windels 3a26f0fa12 only fire onCollapsed once when changing 2018-10-16 18:43:13 +02:00
Bruno Windels 28ec0f7462 onResized callback 2018-10-16 18:42:56 +02:00
Bruno Windels 1d2e1d4b6b make it work for now, probably want to rename this back later on 2018-10-16 17:45:53 +02:00
Bruno Windels bb184a4ae0 support programmatic access to a distributor (to set size from storage) 2018-10-16 17:22:12 +02:00
Bruno Windels 650e19ff77 don't expose direction, handleIndex to distributor ctor 2018-10-16 16:25:00 +02:00
Bruno Windels 30003d8f91 turn resizer into class to make programmatic interaction/cleanup easier 2018-10-16 15:16:10 +02:00
Bruno Windels c095e30ae4 provide collapsed callback to also collapse on react side of things 2018-10-16 14:56:49 +02:00
Bruno Windels 529845d8fc group collapsed styles 2018-10-16 14:55:35 +02:00
Bruno Windels 8fa22d620a align badge and make it non-flex when collapsed 2018-10-16 14:54:30 +02:00
Bruno Windels cc29dd08da don't always show badge (leftover) 2018-10-16 14:54:14 +02:00
Bruno Windels 99bf6b0e32 put dm icon back in it's correct location 2018-10-16 14:53:44 +02:00
Bruno Windels c56975d93d dont base collapse toggle size on min-width, as it's not available in collapsed state 2018-10-16 12:26:08 +02:00
Bruno Windels 01471abdc5 Merge branch 'bwindels/redesign' into bwindels/resizehandles 2018-10-16 11:57:59 +02:00
Bruno Windels 6878ce3c6a Merge branch 'develop' into bwindels/redesign 2018-10-16 11:57:44 +02:00