Commit Graph

216 Commits (d62b10c3ee6174e3570c347733e0952f5cf3774c)

Author SHA1 Message Date
OCA-git-bot 3f7c2de850 web_responsive 12.0.1.3.0 2019-10-13 23:12:04 +02:00
Alexandre Díaz 8bdef680ea [FIX] web_responsive: changed button box more initial position 2019-10-13 23:12:04 +02:00
黎伟杰 08f7be9512 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (11 of 11 strings)

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/zh_CN/
2019-10-13 23:12:04 +02:00
黎伟杰 8f83fbc7b8 Added translation using Weblate (Chinese (Simplified)) 2019-10-13 23:12:04 +02:00
Rodrigo Macedo 40a5df06f1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (11 of 11 strings)

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/pt_BR/
2019-10-13 23:12:04 +02:00
OCA-git-bot 160c8da274 web_responsive 12.0.1.2.0 2019-10-13 23:12:04 +02:00
Mathias Markl 66e7fc659c Update web_responsive.scss 2019-10-13 23:12:04 +02:00
Pedro Castro Silva 7ab6819c64 Translated using Weblate (Portuguese)
Currently translated at 90.9% (10 of 11 strings)

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/pt/
2019-10-13 23:12:04 +02:00
OCA-git-bot 2350f98c90 web_responsive 12.0.1.1.4 2019-10-13 23:12:04 +02:00
Alexandre Díaz e38a0fcf0c [IMP] web_responsive: Performance when hide menus 2019-10-13 23:12:04 +02:00
Pedro Castro Silva fd6ae6e745 Added translation using Weblate (Portuguese) 2019-10-13 23:12:04 +02:00
OCA-git-bot 1ce1d22b71 web_responsive 12.0.1.1.3 2019-10-13 23:12:04 +02:00
Alexandre Díaz 29625ef6c7 [IMP] web_responsive: Small refactor 'isWaiting' 2019-10-13 23:12:04 +02:00
Alexandre Díaz 5a90de21cf [IMP] web_responsive: Don't show menu if waiting for an action to end 2019-10-13 23:12:04 +02:00
Nicolas JEUDY c613edb77a Translated using Weblate (French)
Currently translated at 100.0% (11 of 11 strings)

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/fr/
2019-10-13 23:12:04 +02:00
Nicolas JEUDY f8e6710135 Added translation using Weblate (French) 2019-10-13 23:12:04 +02:00
OCA-git-bot 2825f5dc66 [UPD] README.rst 2019-10-13 23:12:04 +02:00
OCA-git-bot c3e9f3e2b2 web_responsive 12.0.1.1.2 2019-10-13 23:12:04 +02:00
OCA-git-bot 1f6ac6766e [UPD] README.rst 2019-10-13 23:12:04 +02:00
Mathias Markl e222219635 [FIX] web_responsive: Close Menu on Discard 2019-10-13 23:12:04 +02:00
Mathias Markl 4aa9a2f330 [FIX] web_responsive: adapt AppDrawer Discard 2019-10-13 23:12:04 +02:00
Mathias Markl 67a0f6af4e [FIX] web_responsive: AppDrawer Discard 2019-10-13 23:12:04 +02:00
OCA-git-bot b7cd6dd50f web_responsive 12.0.1.1.1 2019-10-13 23:12:04 +02:00
Alexandre Díaz a6f30d954a [FIX] web_responsive: Close AppDrawer 2019-10-13 23:12:04 +02:00
Alexandre Díaz c186087a96 [IMP] web_responsive: Chatter on small screen 2019-10-13 23:12:04 +02:00
Alexandre Díaz ad69d4befc imp overflow 2019-10-13 23:12:04 +02:00
Alexandre Díaz 070f04dfa0 [FIX] web_responsive: Chatter position 2019-10-13 23:12:04 +02:00
Alexandre Díaz 807dd06ffa [IMP] web_responsive: Readme 2019-10-13 23:12:04 +02:00
Alexandre Díaz cca5156738 [IMP] web_responsive: Refactor code 2019-10-13 23:12:04 +02:00
Alexandre Díaz 86c2d0db00 [FIX] web_responsive: AppDrawer in Chromium 2019-10-13 23:12:04 +02:00
Alexandre Díaz d82aa9e964 [IMP] web_responsive: Readme 2019-10-13 23:12:04 +02:00
Alexandre Díaz fbc696ff22 [IMP] web_responsive: Menu wait for action 2019-10-13 23:12:04 +02:00
Alexandre Díaz d3a5defb2b [IMP] web_responsive: Suggested changes 2019-10-13 23:12:04 +02:00
Alexandre Díaz a8c182d9ec [IMP] web_responsive: AppMenu wait for load view 2019-10-13 23:12:04 +02:00
Alexandre Díaz f434cb0488 [IMP] web_responsive: Support long title in form view 2019-10-13 23:12:04 +02:00
Alexandre Díaz 9835efc1a9 [IMP] web_responsive: Sticky in tree view and form view 2019-10-13 23:12:04 +02:00
Alexandre Díaz 380c857519 [IMP] web_responsive: chatter width 2019-10-13 23:12:04 +02:00
OCA Transbot 1d0d04810a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/
2019-10-13 23:12:04 +02:00
oca-travis c93e4af36a [UPD] Update web_responsive.pot 2019-10-13 23:12:04 +02:00
Jairo Llopis 6215c05bc2 [FIX] web_responsive: Allow searching apps in mobile Chrome
This patch fixes #1251.

The keydown event is faked in mobile chrome because it's not something reliable due to today's virtual keyboards prediction features. Typing a <kbd>C</kbd> character doesn't mean it will be there when user uses autocorrection/autoguessing.

Instead of that, we use now the `keydown` event exclusively for movement features, and `input` event exclusively for content changes in the search input element.

Apart from fixing search in mobile Chrome, it also makes code more readable.

The search input also disables autocompletion since it would be useless and annoying here.
2019-10-13 23:12:04 +02:00
Jairo Llopis 0715e85279 Update web_responsive/static/src/css/web_responsive.scss
Co-Authored-By: Tardo <dev@redneboa.es>
2019-10-13 23:12:04 +02:00
Alexandre Díaz 9ad63fbb17 [FIX+IMP] web_responsive: Chatter Topbar + fix #1189 + added gif 2019-10-13 23:12:04 +02:00
OCA Transbot c6759edd07 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/
2019-10-13 23:12:04 +02:00
Alexandre Díaz 92d3796bbe [IMP] Sticky chatter topbar 2019-10-13 23:12:04 +02:00
oca-travis cbfc1f681a [UPD] Update web_responsive.pot 2019-10-13 23:12:04 +02:00
Jairo Llopis 25eb30edd1 [FIX] web_responsive: Make app icons and search results middle-button-clickable
In the case of app icons, those weren't getting the `href` attribute filled.

In the case of search results, those weren't even an `<a>` element.

Fixed in both cases to fix https://github.com/OCA/web/issues/1170.
2019-10-13 23:12:04 +02:00
Jairo Llopis 350ab7c85f [FIX] web_responsive: Skip re-search when not writing
When the user uses TAB or SHIFT+TAB to navigate in search results, he can trigger a SHIFT-only keydown event without noticing, which would reset the selected result position to the first or last.

It is disturbing, so, to avoid that problem, the re-search is only triggered if the currently pressed key has length=1 or is Backspace, which will skip most keys that are not actually writing a character into the search input, like i.e. "Shift", "Alt", "F4", etc.

In addition to that, to detect if the search results is empty, the `:empty` selector is not trustable because it considers not empty nodes with whitespace-only content. That has been patched too.
2019-10-13 23:12:04 +02:00
OCA Transbot e96a35a305 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: web-12.0/web-12.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-12-0/web-12-0-web_responsive/
2019-10-13 23:12:04 +02:00
oca-travis b7d5eb5d25 [UPD] Update web_responsive.pot 2019-10-13 23:12:04 +02:00
Jairo Llopis e8670da0b7 [MIG] web_responsive: Migrate to v12 and refactor
This migration includes a full refactoring to make this module more
maintainable. Some things that have changed:

- Removed external libraries.
- Change Less for Scss.
- Reduce ES and XML to the minimal required needs.
- Implement as much features as possible with just Scss.
- Remove copyright from `__init__.py` files.
- Trigger the new hotkeys system from Odoo v12 with `Shift+Alt` instead
  of just `Alt`, and restore some good old hotkeys (`E` for "Edit",
  `D` for "Discard", and `A` for "Apps menu").
  See https://github.com/odoo/odoo/issues/30068 on the matter.
- Control panel breadcrumbs are collapsed into a single backwards icon.
- Add FA icons to most common buttons in control panel.
- Hide text in XS for those buttons, to have a slicker phone experience.
- Lots of gifs in the README!
2019-10-13 23:12:04 +02:00