Frans de Jonge
c847d628e1
Docs: cosmetic updates and additions
...
* Content from wiki had some cosmetic leftover glitches
* Added/adapted some docs for other modules
8 years ago
Frans de Jonge
da48a54727
Fix LuaCheck error
...
"frontend/ui/menusorter.lua:110:13: value assigned to variable 'sub_menu_content' is unused"
Kind of the point, I'm assigning it nil after all. This way it probably shouldn't complain.
8 years ago
Frans de Jonge
3982170886
MenuSorter: fix findById
8 years ago
Frans de Jonge
8b7e18a7d7
MenuSorter: resolve review comments
...
* simplify user config loop
* simplify unit test for Travis memory use
* remove unused util variable
8 years ago
Frans de Jonge
33c848f813
MenuSorter: first unit tests
8 years ago
Frans de Jonge
a970a1f034
MenuSorter: fix outside testability (for potential unit tests)
8 years ago
Frans de Jonge
653ff64438
MenuSorter: handle disabled
8 years ago
Frans de Jonge
8f31a81601
MenuSorter: some documentation
...
MenuSorter: forgot to add plugin style change
MenuSorter: worked out the final quirks
* Menu always compressed into tables without missing indexes for ipairs compatibility
* Orphans attached
* Separators no longer count as items
8 years ago
Frans de Jonge
56659ddb20
MenuSorter: avoid recursion in findById
8 years ago
Frans de Jonge
b7b5950e98
MenuSorter: review comments and various bug fixes
...
* fixed wrongful retention of submenus variable and added return to MenuSorter:findById
* fixed readerfooter_spec.lua error
* fixed review comments
8 years ago
Frans de Jonge
aa0bf60ccb
MenuSorter: pass config prefix for proper user override
8 years ago
Frans de Jonge
5b20106db7
MenuSorter: initial implementation
...
* Menus are now sanely configurable
* Custom separator placement for clearer menus
8 years ago