Card Menu UI
See original GitHub issueMarkup output for card menu UI now exists on Labs page - needs to be moved into editor. Ideally should also be able to use keyboard-arrows to move autocomplete selection (just previous/next nav is fine, don’t need full directions) – but this can also be punted if a PITA
One weird thing that I’m not sure about:
There are two ways to trigger this menu, one is by typing /
and the other is by pressing the +
icon.
If you press the +
icon, then it makes sense that there is a search-box contained within the card menu.
but if you type /
then the expectation would be that you continue typing after that slash to filter/trigger autocomplete, eg / image
Not sure how to handle this? Maybe show the saerchbox inside the card-menu, only if it is triggered from the +
icon?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
That’s makes sense. Could we make it select nothing to begin with? Then on the first key press it selects the first item.
I’m also noticing a 0.3s delay between clicking on “upload an image” once an image card is inserted, and the browser upload dialog being triggered. Not sure if these little things should have their own issues or if I should just continue to add them in here. Let me know what’s preferred