[IMP] web_responsive: Add search feature (#838)

* Add feature to search menus in the app drawer
* Switch model to RPC
This commit is contained in:
Dave Lasley
2017-12-14 17:07:30 -08:00
committed by Sergey Shebanin
parent e7d34b9f6b
commit c00a602e09
12 changed files with 1208 additions and 97 deletions

View File

@@ -2,7 +2,22 @@ This module provides a mobile compliant interface for Odoo Community web.
Features:
* New navigation with an App drawer
* Keyboard shortcuts for easier navigation
* Display kanban views for small screens if an action or field One2x
* Set chatter side (Optional per user)
* New navigation with an App drawer
* Keyboard shortcuts for easier navigation
* Display kanban views for small screens if an action or field One2x
* Set chatter side (Optional per user)
* Quick search (see below)
The following keyboard shortcuts are implemented:
* Toggle App Drawer - `ActionKey <https://en.wikipedia.org/wiki/Access_key#Access_in_different_browsers>` + ``A``
* Navigate Apps Drawer - Arrow Keys
* Type to select App Links
* ``esc`` to close App Drawer
The search feature provided in the App Drawer allows you to easily
navigate menus without a mouse.
To activate the search, just begin typing while within the App Drawer.
You can use the arrow keys or mouse to navigate and select results,
in a similar fashion to navigating the apps in the drawer.

View File

@@ -13,3 +13,10 @@ this module.
* Sticky header and footer in list view only works on certain browsers:
https://caniuse.com/#search=sticky (note that the used feature is in
`thead`).
* The ``AppDrawer`` JavaScript object currently extends ``Class``.
We should extend ``Widget`` instead.
* On Android (FireFox) - clicking the search icon does not
focus the search input.
* On Android (FireFox & Chrome) - clicking the search query input will
show the on screen keyboard for a split second, but the App Drawer
immediately closes and the keyboard closes with it.