Closed (fixed)
Project:
Style Guide
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2018 at 17:16 UTC
Updated:
9 Jul 2018 at 13:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
andypostInitial patch
Comment #3
finnsky commentedTests done:
Added bartik custom layout. It is appears in styleguide. OK
Attached custom lib. Appears after patch.
In patch:
Added library used by layout in details list.
Added provider of layout in details list. It seems me important to know.
Added simple rendering. Libraries of layouts attached to styleguide.
Reduced icon size.
What should be done:
Maybe get details with LayoutPluginManager->getLayoutOptions()?
We need to set default markup and maybe add some styles(styleguide only)? To have good display of layouts.
Group layouts by categories.
Add layout modifiers???
Comment #4
finnsky commented1. grouped layouts by categories. so now we have groups names in styleguide menu
2. added wrapped per each layout. collapsible by default.
3. added styleguide only css. based on layout builder styles.
4. found bug with Display suite layouts.
Comment #5
ilya.no commentedFixed unused class and typo. New plugin looks fine, it's very informative.
Comment #6
andypostMore clean-up
Comment #7
andypostdebug removed
Comment #8
andypostFiled follow-up #2978789: Fix render of ds layouts
Updated screenshot - looks it needs float:left for icins & rtl fix for it
Comment #9
andypostAlso I think better remove dash border or make it on hover cos layouts could have special classes/modifiers for borders which we override in module's css
Comment #10
finnsky commentedAdded some css to have layouts looks better. Added container with float.
Found bug when patch enabled without Layout Discovery. Some extra rules should be added, or module dependency.
Comment #11
andypostIt looks good to go! displaying borders on hoved - nice idea
Comment #13
oleksiyComment #14
beccaneer commentedI can no longer use this module unless I have the Layout Discovery module installed.
Here's the error:
Comment #15
andypostThanks for report, please check the follow-up fix #2981411: Layout discovery enabled checking