3
0
Fork 0
Commit Graph

135 Commits (fbc696ff2243315ed1c968693c2ff6e41d515451)

Author SHA1 Message Date
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
OCA Git Bot ee6ab8f244 [UPD] README.rst 2019-10-13 23:12:04 +02:00
oca-travis 3bba537983 [UPD] Update web_responsive.pot 2019-10-13 23:12:04 +02:00
Jairo Llopis c1eeb017fe [FIX] web_responsive: Disable access to hidden menus
When doing menu search, some menus that the user didn't have permission to use were presented to him.

Fix #850.
2019-10-13 23:12:04 +02:00
Jairo Llopis b684813325 [FIX] web_responsive: Complete search feature forward-porting 2019-10-13 23:12:04 +02:00
Dave Lasley 7977d82189 [IMP] web_responsive: Add search feature (#838)
* Add feature to search menus in the app drawer
* Switch model to RPC
2019-10-13 23:12:04 +02:00
Hans Henrik Gabelgaard abcbed9128 Translated using Weblate (Danish)
Currently translated at 90.0% (9 of 10 strings)

Translation: web-11.0/web-11.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_responsive/da/
2019-10-13 23:12:04 +02:00
Hans Henrik Gabelgaard b16821411d Added translation using Weblate (Danish) 2019-10-13 23:12:04 +02:00
OCA Git Bot ccdadeff89 [UPD] README.rst 2019-10-13 23:12:04 +02:00
Pedro M. Baeza 2fffac5d2b [IMP] web_responsive: Add known issue note about sticky 2019-10-13 23:12:04 +02:00
Rodrigo Macedo c1c3fa7566 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100,0% (9 of 9 strings)

Translation: web-11.0/web-11.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_responsive/pt_BR/
2019-10-13 23:12:04 +02:00
Pedro M. Baeza c1d469765a Translated using Weblate (Spanish)
Currently translated at 100.0% (9 of 9 strings)

Translation: web-11.0/web-11.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_responsive/es/
2019-10-13 23:12:04 +02:00
oca-travis 7a19ad5e8f [UPD] Update web_responsive.pot 2019-10-13 23:12:04 +02:00
QS5ELkMu 55882ab52a [IMP][11.0][web_responsive] Suggested changes (#978)
* [IMP] Chatter Position
* [IMP] Clean unused stuff
* [IMP] FieldStatus hidden-xs
* [IMP] Improvements suggested in #540
* [WIP] Suggested changes
* [WIP] Improve FieldStatus-Responsive
* [IMP] Statusbar Buttons & FieldStatus
* [IMP] Statusbar Buttons Style
* [IMP] Button 'Task' style
2019-10-13 23:12:04 +02:00
QS5ELkMu 591b2dc12b [FIX][11.0][web_responsive] Views without sheet 2019-10-13 23:12:04 +02:00
QS5ELkMu 1206cd772a [IMP] Add sticky header & footer in list view 2019-10-13 23:12:04 +02:00
QS5ELkMu 5f9e1e9526 [IMP] Sticky Statusbar 2019-10-13 23:12:04 +02:00
Rodrigo Macedo 52481bb158 Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.7% (6 of 9 strings)

Translation: web-11.0/web-11.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_responsive/pt_BR/
2019-10-13 23:12:04 +02:00
Jairo Llopis 9557a8775b Fix linter 2019-10-13 23:12:04 +02:00
QS5ELkMu 7be5728808 [IMP] Adding res.users chatter_position read/write test 2019-10-13 23:12:04 +02:00
QS5ELkMu 2a1d9ab8fd [IMP] Code 2019-10-13 23:12:04 +02:00
QS5ELkMu 9850c1d30c [CLEAN] Comments 2019-10-13 23:12:04 +02:00
QS5ELkMu 97969372be [FIX] Read/Write permissions 2019-10-13 23:12:04 +02:00
QS5ELkMu 9567e5fcfe [FIX] Chatter Position 2019-10-13 23:12:04 +02:00
oca-travis 8754bb1336 [UPD] Update web_responsive.pot 2019-10-13 23:12:04 +02:00
OCA Git Bot 88732b6796 [UPD] README.rst 2019-10-13 23:12:04 +02:00
QS5ELkMu b876a7dba4 [IMP] web_responsive: Possibility of putting the chatter in the right (#951) 2019-10-13 23:12:04 +02:00
fanha99 c02b8a77b6 [FIX] web_responsive: Hide header when print directly from browser issues 808 (#809)
Closes #808
2019-10-13 23:12:04 +02:00
Dave Lasley d057ad78bc [FIX] web_responsive: Menu Height on Init
* Add a call to the window resize method during init to fix OCA#773
2019-10-13 23:12:04 +02:00
Minh H.G dbb13fd15a [MIG] web_responsive test to 11.0 2019-10-13 23:12:04 +02:00
Pedro M. Baeza d1f6d20444 [FIX] web_responsive: Correct runbot link 2019-10-13 23:12:04 +02:00
Dave Lasley 846f2eed30 [FIX] web_responsive: Chrome Slow Scrolling
* Update to iScoll bleeding edge to fix #741
2019-10-13 23:12:04 +02:00