Commit Graph

137 Commits (27c80a8391731f727e7da275d342b02b61a0c7c5)

Author SHA1 Message Date
OCA-git-bot 27c80a8391 [UPD] README.rst 2023-11-17 00:37:43 +02:00
Mathias Markl 100961de7d [FIX] web_responsive: Close Menu on Discard 2023-11-17 00:37:43 +02:00
Mathias Markl 8920c41587 [FIX] web_responsive: adapt AppDrawer Discard 2023-11-17 00:37:43 +02:00
Mathias Markl 9b57101f37 [FIX] web_responsive: AppDrawer Discard 2023-11-17 00:37:43 +02:00
Alexandre Díaz 915077f3cd [FIX] web_responsive: Close AppDrawer 2023-11-17 00:37:43 +02:00
Alexandre Díaz fcc8b581c0 [IMP] web_responsive: Chatter on small screen 2023-11-17 00:37:43 +02:00
Alexandre Díaz 895e54adfb imp overflow 2023-11-17 00:37:43 +02:00
Alexandre Díaz 7c43021d60 [FIX] web_responsive: Chatter position 2023-11-17 00:37:43 +02:00
Alexandre Díaz 6ec69f4b17 [IMP] web_responsive: Readme 2023-11-17 00:37:43 +02:00
Alexandre Díaz dc593116a8 [IMP] web_responsive: Refactor code 2023-11-17 00:37:43 +02:00
Alexandre Díaz 17448df0db [FIX] web_responsive: AppDrawer in Chromium 2023-11-17 00:37:43 +02:00
Alexandre Díaz c7e037f87e [IMP] web_responsive: Readme 2023-11-17 00:37:43 +02:00
Alexandre Díaz 3889c7f6dd [IMP] web_responsive: Menu wait for action 2023-11-17 00:37:43 +02:00
Alexandre Díaz 48bdbe87cf [IMP] web_responsive: Suggested changes 2023-11-17 00:37:43 +02:00
Alexandre Díaz ba0bafaa2d [IMP] web_responsive: AppMenu wait for load view 2023-11-17 00:37:43 +02:00
Alexandre Díaz 7c21eb0fd5 [IMP] web_responsive: Support long title in form view 2023-11-17 00:37:43 +02:00
Alexandre Díaz 655b281dba [IMP] web_responsive: Sticky in tree view and form view 2023-11-17 00:37:42 +02:00
Alexandre Díaz 6a92d80baf [IMP] web_responsive: chatter width 2023-11-17 00:37:42 +02:00
Jairo Llopis 9923a3a916 [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.
2023-11-17 00:37:42 +02:00
Jairo Llopis 3ed7723107 Update web_responsive/static/src/css/web_responsive.scss
Co-Authored-By: Tardo <dev@redneboa.es>
2023-11-17 00:37:42 +02:00
Alexandre Díaz 2fc41bf8c1 [FIX+IMP] web_responsive: Chatter Topbar + fix #1189 + added gif 2023-11-17 00:37:42 +02:00
Alexandre Díaz ffaee3678f [IMP] Sticky chatter topbar 2023-11-17 00:37:42 +02:00
Jairo Llopis 8b57658097 [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.
2023-11-17 00:37:42 +02:00
Jairo Llopis 9b6c308012 [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.
2023-11-17 00:37:42 +02:00
Jairo Llopis 0e6d063b6e [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!
2023-11-17 00:37:42 +02:00
OCA Transbot b1ab4f2a36 Update translation files 2023-11-17 00:37:42 +02:00
OCA Git Bot 77a30d550d [UPD] README.rst 2023-11-17 00:37:42 +02:00
Jairo Llopis 03683b5dc3 [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.
2023-11-17 00:37:42 +02:00
Jairo Llopis d795df946e [FIX] web_responsive: Complete search feature forward-porting 2023-11-17 00:37:42 +02:00
Dave Lasley 2788a23a81 [IMP] web_responsive: Add search feature (#838)
* Add feature to search menus in the app drawer
* Switch model to RPC
2023-11-17 00:37:42 +02:00
OCA Git Bot 27acf01505 [UPD] README.rst 2023-11-17 00:37:42 +02:00
Pedro M. Baeza d9bbffd5c8 [IMP] web_responsive: Add known issue note about sticky 2023-11-17 00:37:42 +02:00
QS5ELkMu 349d002cdb [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
2023-11-17 00:37:42 +02:00
QS5ELkMu c2101e64b7 [FIX][11.0][web_responsive] Views without sheet 2023-11-17 00:37:42 +02:00
QS5ELkMu 9f6a487a1e [IMP] Add sticky header & footer in list view 2023-11-17 00:37:42 +02:00
QS5ELkMu 7bfda0b0c2 [IMP] Sticky Statusbar 2023-11-17 00:37:42 +02:00
Jairo Llopis 93ce8e9491 Fix linter 2023-11-17 00:37:42 +02:00
QS5ELkMu c604ec7e41 [IMP] Adding res.users chatter_position read/write test 2023-11-17 00:37:42 +02:00
QS5ELkMu aa0d93206a [IMP] Code 2023-11-17 00:37:42 +02:00
QS5ELkMu c4c5d7a562 [CLEAN] Comments 2023-11-17 00:37:42 +02:00
QS5ELkMu 10c7118dfb [FIX] Read/Write permissions 2023-11-17 00:37:42 +02:00
QS5ELkMu 9f8ba3e63c [FIX] Chatter Position 2023-11-17 00:37:42 +02:00
OCA Git Bot 179d1b3d65 [UPD] README.rst 2023-11-17 00:37:42 +02:00
QS5ELkMu 9817f318f5 [IMP] web_responsive: Possibility of putting the chatter in the right (#951) 2023-11-17 00:37:42 +02:00
fanha99 3c9ddf58b3 [FIX] web_responsive: Hide header when print directly from browser issues 808 (#809)
Closes #808
2023-11-17 00:37:42 +02:00
Dave Lasley f00aecd0a7 [FIX] web_responsive: Menu Height on Init
* Add a call to the window resize method during init to fix OCA#773
2023-11-17 00:37:42 +02:00
Minh H.G c36d3580d4 [MIG] web_responsive test to 11.0 2023-11-17 00:37:42 +02:00
Pedro M. Baeza edb253ba38 [FIX] web_responsive: Correct runbot link 2023-11-17 00:37:42 +02:00
Dave Lasley 24032068f9 [FIX] web_responsive: Chrome Slow Scrolling
* Update to iScoll bleeding edge to fix #741
2023-11-17 00:37:42 +02:00
Angel Moya - PESOL 139d1bf91e FIX travis (#747)
* FIX hasclass

* FIX views

* [FIX] web_responsive: Syntax error in xpath
2023-11-17 00:37:42 +02:00