-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
Milestone
Description
A note for those who wants to contribute to this repo (and probably me too).
While digging into feature/2.0 brunch following inconsistent things has been found:
Event/ThemeEvents.php: remove or make used eventconst THEME_SIDEBAR_SEARCH(unused now). Removeconst THEME_SIDEBAR_ACTIVATE_MENUsince it is also never used and not documented.Controller/SecurityController: not used becauseResources/config/security.ymlroute file never included or described in docs, needs doc or remove (sine its code is same as in symfony doc).Controller/ExceptionController: not documented (but used as I suppose). Contains weird code for very specific use cases.Form/FormHelpExtension: the purpose of this form extension is unclear (at least for me)Model/UserInterface->isOnline()the method is never used (remove?)- Route with
loginalias required but not documented here. However, documented aliaslogoutnot used (since logout_path) used instead. avanzu_logo_pathandavanzu_navbar_toggleblocks are not exists (requires doc page fix)
Documentation not up to date: some documented defaults are not actually defaults and some options not documented at all, here are full options with defaults (dump):
"skin" => "skin-blue"
"fixed_layout" => false
"boxed_layout" => false
"collapsed_sidebar" => false
"mini_sidebar" => false
"control_sidebar" => true
"default_avatar" => "bundles/avanzuadmintheme/img/avatar.png"
"widget" => array:8 [▼
"type" => "primary"
"bordered" => true
"collapsible" => true
"collapsible_title" => "Collapse"
"removable" => true
"removable_title" => "Remove"
"solid" => false
"use_footer" => true
]
"button" => array:2 [▼
"type" => "primary"
"size" => "md"
]
"knp_menu" => array:3 [▼
"enable" => false
"main_menu" => "avanzu_main"
"breadcrumb_menu" => false
]quentin-st, tofra, mmonbr and cybernic