3
0
Fork 0
Commit Graph

126 Commits (c91e5ca56d18b1edab98a57d32032765ba159490)

Author SHA1 Message Date
Alexandre Díaz c89c1230ed [IMP] web_responsive: Readme 2019-06-21 08:58:28 +00:00
Alexandre Díaz ad0fed6cb2 [IMP] web_responsive: Refactor code 2019-06-21 08:58:28 +00:00
Alexandre Díaz 32924c7cd2 [FIX] web_responsive: AppDrawer in Chromium 2019-06-21 08:58:28 +00:00
Alexandre Díaz d1c46ba5bf [IMP] web_responsive: Readme 2019-06-21 08:58:28 +00:00
Alexandre Díaz edaae02c9e [IMP] web_responsive: Menu wait for action 2019-06-21 08:58:28 +00:00
Alexandre Díaz 097bbcc1e4 [IMP] web_responsive: Suggested changes 2019-06-21 08:58:28 +00:00
Alexandre Díaz 00ab49cd1a [IMP] web_responsive: AppMenu wait for load view 2019-06-21 08:58:28 +00:00
Alexandre Díaz 5aa9278b58 [IMP] web_responsive: Support long title in form view 2019-06-21 08:58:28 +00:00
Alexandre Díaz 6ed50a9f37 [IMP] web_responsive: Sticky in tree view and form view 2019-06-21 08:58:28 +00:00
Alexandre Díaz 3381d5771c [IMP] web_responsive: chatter width 2019-06-21 08:58:28 +00:00
OCA Transbot 7d7733098c 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-05-20 21:09:04 +00:00
oca-travis be54987e84 [UPD] Update web_responsive.pot 2019-04-16 11:45:18 +00:00
Jairo Llopis 771ab61d0b
[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-04-16 08:12:38 +01:00
Jairo Llopis 1bbd254fba Update web_responsive/static/src/css/web_responsive.scss
Co-Authored-By: Tardo <dev@redneboa.es>
2019-04-08 16:31:20 +02:00
Alexandre Díaz a0095285e0 [FIX+IMP] web_responsive: Chatter Topbar + fix #1189 + added gif 2019-04-08 16:31:20 +02:00
OCA Transbot fec11cbd54 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-03-03 16:19:08 +00:00
Alexandre Díaz 86e62473e6 [IMP] Sticky chatter topbar 2019-02-14 17:52:49 +01:00
oca-travis 2f31985f14 [UPD] Update web_responsive.pot 2019-02-05 15:29:46 +00:00
Jairo Llopis 7692f52c77
[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-02-05 11:58:28 +00:00
Jairo Llopis e180390ae1
[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-02-05 11:58:28 +00:00
OCA Transbot 1d94170138 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-01-27 11:12:11 +00:00
oca-travis 9f91d5d9a9 [UPD] Update web_responsive.pot 2019-01-10 16:01:42 +00:00
Jairo Llopis 69a7491f4a
[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-01-10 13:51:17 +00:00
OCA Git Bot 90586c27f3
[UPD] README.rst 2018-12-10 13:33:30 +00:00
oca-travis 322b3345da
[UPD] Update web_responsive.pot 2018-12-10 13:33:30 +00:00
Jairo Llopis 43e5a7bb42
[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.
2018-12-10 13:33:30 +00:00
Jairo Llopis 68bc0ebd01
[FIX] web_responsive: Complete search feature forward-porting 2018-12-10 13:33:29 +00:00
Dave Lasley 924c874d74
[IMP] web_responsive: Add search feature (#838)
* Add feature to search menus in the app drawer
* Switch model to RPC
2018-12-10 13:33:29 +00:00
Hans Henrik Gabelgaard 9776ce3859
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/
2018-12-10 13:33:29 +00:00
Hans Henrik Gabelgaard ccb690f2df
Added translation using Weblate (Danish) 2018-12-10 13:33:29 +00:00
OCA Git Bot ac8fa9bf4c
[UPD] README.rst 2018-12-10 13:33:29 +00:00
Pedro M. Baeza 7144af124b
[IMP] web_responsive: Add known issue note about sticky 2018-12-10 13:33:28 +00:00
Rodrigo Macedo 1796d12f11
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/
2018-12-10 13:33:28 +00:00
Pedro M. Baeza 42c38345f5
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/
2018-12-10 13:33:28 +00:00
oca-travis 5316bfe4a0
[UPD] Update web_responsive.pot 2018-12-10 13:33:28 +00:00
QS5ELkMu 5d61618ec0
[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
2018-12-10 13:33:28 +00:00
QS5ELkMu 50942205cc
[FIX][11.0][web_responsive] Views without sheet 2018-12-10 13:33:27 +00:00
QS5ELkMu db6f7a84b1
[IMP] Add sticky header & footer in list view 2018-12-10 13:33:27 +00:00
QS5ELkMu 81bf8bfd65
[IMP] Sticky Statusbar 2018-12-10 13:33:27 +00:00
Rodrigo Macedo cd9ec2f957
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/
2018-12-10 13:33:27 +00:00
Jairo Llopis ee221546f3
Fix linter 2018-12-10 13:33:27 +00:00
QS5ELkMu 09e89832cd
[IMP] Adding res.users chatter_position read/write test 2018-12-10 13:33:26 +00:00
QS5ELkMu 6241375f83
[IMP] Code 2018-12-10 13:33:26 +00:00
QS5ELkMu 716d995975
[CLEAN] Comments 2018-12-10 13:33:26 +00:00
QS5ELkMu 8dfc2ddc5e
[FIX] Read/Write permissions 2018-12-10 13:33:26 +00:00
QS5ELkMu 931648a981
[FIX] Chatter Position 2018-12-10 13:33:26 +00:00
oca-travis 2e7d2f810d
[UPD] Update web_responsive.pot 2018-12-10 13:33:26 +00:00
OCA Git Bot b65981288a
[UPD] README.rst 2018-12-10 13:33:25 +00:00
QS5ELkMu 53d9a6e303
[IMP] web_responsive: Possibility of putting the chatter in the right (#951) 2018-12-10 13:33:25 +00:00
fanha99 58c1c66176
[FIX] web_responsive: Hide header when print directly from browser issues 808 (#809)
Closes #808
2018-12-10 13:33:25 +00:00
Dave Lasley e94bcf5ca3
[FIX] web_responsive: Menu Height on Init
* Add a call to the window resize method during init to fix OCA#773
2018-12-10 13:33:25 +00:00
Minh H.G 132cf2ede5
[MIG] web_responsive test to 11.0 2018-12-10 13:33:25 +00:00
Pedro M. Baeza 511368eb8f
[FIX] web_responsive: Correct runbot link 2018-12-10 13:33:24 +00:00
Dave Lasley 9b7d55994e
[FIX] web_responsive: Chrome Slow Scrolling
* Update to iScoll bleeding edge to fix #741
2018-12-10 13:33:24 +00:00
Angel Moya - PESOL d4695d5bc4
FIX travis (#747)
* FIX hasclass

* FIX views

* [FIX] web_responsive: Syntax error in xpath
2018-12-10 13:33:24 +00:00
Angel Moya Pardo accdc4cf85
UPDT version 2018-12-10 13:33:24 +00:00
Sergio Teruel Albert eeeb8b6457
[10.0][IMP] web_responsive: Load default kanban view for small screen 2018-12-10 13:33:24 +00:00
Jairo Llopis 2b584435da
[FIX][web_responsive] Long-named multicompanies nice in XS (#688) 2018-12-10 13:33:23 +00:00
OCA Transbot 3c82ff9226
OCA Transbot updated translations from Transifex 2018-12-10 13:33:23 +00:00
Dennis Sluijk c0fdbbd685
[10.0][IMP][web_responsive] Make search bar sticky (#633)
* Initial commit

* Initial commit
2018-12-10 13:33:23 +00:00
Pedro M. Baeza 2c0356da4d
[FIX] web_responsive: Execution permission 2018-12-10 13:33:23 +00:00
Jairo Llopis 75364c9433
[FIX][web_responsive] Make it compatible with l10n_es_toponyms
Before this patch, there was an incompatibility between this addon and l10n_es_toponyms, caused by the lack of wrapping of the special address field that was being added.

Now layout works as expected in that case. In any other case, it seems sensible to wrap inputs so no more weird overflows happen and less chances of needing horizontal scrolling happen.
2018-12-10 13:33:23 +00:00
OCA Transbot e3a8fdecc5
OCA Transbot updated translations from Transifex 2018-12-10 13:33:22 +00:00
Dave Lasley a2d49b4a88
[FIX] web_responsive: Change edit accesskey
* Change accesskey for `edit` in form view back to `e` to fix #587
2018-12-10 13:33:22 +00:00
zeroheure 4a2b09c3c7
Update README to fix wikipedia link 2018-12-10 13:33:22 +00:00
Dennis Sluijk d662159f15
[10.0][IMP][web_responsive] (#569)
* [IMP] drawer-toggle

* [IMP] Hitbox of close drawer-toggle

* [IMP] Removed outline on menu item

* [IMP] Logo positionings

* [FIX] Try me on runbot button

* [REM] Reversed outline change
2018-12-10 13:33:22 +00:00
OCA Transbot 6cbd51141f
OCA Transbot updated translations from Transifex 2018-12-10 13:33:22 +00:00
Jairo Llopis 0a0a6dbeff
[FIX][web_responsive] Form padding, titles and buttons OK in XS
Small makeup to make it look good in XS screens.
2018-12-10 13:33:21 +00:00
Jairo Llopis 8675b0991f
Fix problem with overflowing chatter widget. 2018-12-10 13:33:21 +00:00
Daniel Torres 1b67e2074c
Form image editing controls always present
Make image editing controls always available, instead of depending
on resolution or hover.
2018-12-10 13:33:21 +00:00
Daniel Torres 11dff8f4c9
Form view improvements to fit smaller screens
On screens with less than 768px content is limited to 2 columns.

On mobile field labels have their own line.

Fix elements width for XS screens
2018-12-10 13:33:21 +00:00
Daniel Torres 18032ea5b7
Web responsive menu improvements (#513)
* Bold titles for apps in the app-drawer
* Remove z-index from Control Panel buttons, so it doesn't overlap the menu.
* Better responsive menus
  * Move systray icons/menus out of the menu and up to the top bar.
  * Increase avatar size and visibility.

* Other minor menu behavior fixes.
* Changes to fit odoo variables
* And a little margin adjust on navbar-right
* Top menu always thick
* Removed overflow:hidden!important from main.less
* Local patch: prevent body overflow auto
* Stop using `style=` on `<body>`
* Fix jquery drawer in anticipation of:
   https://github.com/blivesta/drawer/pull/36
2018-12-10 13:33:21 +00:00
OCA Transbot ff9ff5fdde
OCA Transbot updated translations from Transifex 2018-12-10 13:33:20 +00:00
Dave Lasley b92a8e3cf4
[FIX] web_responsive: Change z-indexes
* Rebalance z-indexes to fix overlay issue while still providing notification support
2018-12-10 13:33:20 +00:00
Dave Lasley bc47367746
[MIG] web_responsive: Migrate to v10
* Bump version
* Change all openerp to odoo
* Fix qunit suite injection
* Remove jQuery require
* Change to new selectors:
  * `oe_leftbar` to `o_sub_menu`
  * `oe_logo` to `o_sub_menu_logo`
  * `oe_footer` to `o_sub_menu_footer`
  * `oe_secondary_menus_container` to `o_sub_menu_content`
* Add style to hide oe_footer instead of remove to not break `support_branding`
* Add note in ReadMe explaining override of `support_branding`
* Set top margin of app drawer title to 0 to fit v10 proportions
* Fix notification badge positioning
* Add o_web_client class to body to fix overlaps
* Scroll control panel with page
* Change navbar z-index to not be overlapped by buttons
* Raise z-index on header to raise over buttons
* Handle layered notifications via z-index
* Remove `#` from navigation links HREF to prevent history littering
2018-12-10 13:33:20 +00:00
Dave Lasley 3459bb8d83
[FIX] web_responsive: Other minor fixes
* Add Tecnativa as author
* Remove untestable JS method
* Rename to web_responsive
2018-12-10 13:33:20 +00:00