groupoffice
groupoffice copied to clipboard
Filterable startMenu
@mschering
did you think about filterable startMenu? I can modify it if you want but I would like to know if it follow your ideas :)
Actually there are two issues
- how to render textfield inside menu

This is modified version of menuItem.
- how to filter menu items - jsonmenu (however textfield have to be prepended)

Styles are pretty simple for textfield:
#startMenu.x-menu li.x-menu-textfield-item {
width: 800px;
height: 60px;
grid-column: 1 / -1;
line-height: 60px;
}
Also would be good to add standard wrap to module names because tehy are mostly hidden.
Coincidentally i thought the same this morning. So yes please go ahead!

Very nice! I have two feature requests :) It would be great if you:
- Put focus on the field when menu opens so you can start typing immediately.
- Add keyboard nav. Autofocus the first result so you can hit enter to open. or press right arrow key and hit enter to open the second.
- pushed to same branch.
- This will be a bit complicated because there is existing menu navigation - ie up/down/enter. Currently you can easily press tab to go to result + use up/down arrows to navigate between icons and hit enter to launch module.
I guess I will create new start menu component + custom navigation to it.
Maybe two simpler ones:
- When opening the start menu. Clear existing search
- When hitting enter after typing open the first result.