3
0
Fork 0
Commit Graph

1170 Commits (8aeaa4617410b25c7c3f8f099e19e287b3bd590e)

Author SHA1 Message Date
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
Angel Moya Pardo 481f45b8e9 UPDT version 2023-11-17 00:37:42 +02:00
Sergio Teruel Albert caadd7fe93 [10.0][IMP] web_responsive: Load default kanban view for small screen 2023-11-17 00:37:42 +02:00
Jairo Llopis 2ce69135c5 [FIX][web_responsive] Long-named multicompanies nice in XS (#688) 2023-11-17 00:37:42 +02:00
Dennis Sluijk 84f330d2ee [10.0][IMP][web_responsive] Make search bar sticky (#633)
* Initial commit

* Initial commit
2023-11-17 00:37:42 +02:00
Pedro M. Baeza f6df76d6ae [FIX] web_responsive: Execution permission 2023-11-17 00:37:42 +02:00
Jairo Llopis 457077f491 [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.
2023-11-17 00:37:42 +02:00
Dave Lasley 441e5c4403 [FIX] web_responsive: Change edit accesskey
* Change accesskey for `edit` in form view back to `e` to fix #587
2023-11-17 00:37:42 +02:00
zeroheure f14df314b5 Update README to fix wikipedia link 2023-11-17 00:37:42 +02:00
Dennis Sluijk 6ea223c057 [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
2023-11-17 00:37:42 +02:00
Jairo Llopis d54707cce0 [FIX][web_responsive] Form padding, titles and buttons OK in XS
Small makeup to make it look good in XS screens.
2023-11-17 00:37:42 +02:00
Jairo Llopis add2088174 Fix problem with overflowing chatter widget. 2023-11-17 00:37:42 +02:00
Daniel Torres 07cac94c3a Form image editing controls always present
Make image editing controls always available, instead of depending
on resolution or hover.
2023-11-17 00:37:42 +02:00
Daniel Torres 5bed732778 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
2023-11-17 00:37:42 +02:00
Daniel Torres d31b27699d 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
2023-11-17 00:37:42 +02:00
Dave Lasley 8146f4ba75 [FIX] web_responsive: Change z-indexes
* Rebalance z-indexes to fix overlay issue while still providing notification support
2023-11-17 00:37:42 +02:00
Dave Lasley e5095f6802 [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
2023-11-17 00:37:42 +02:00
Dave Lasley 88a9520f21 [FIX] web_responsive: Other minor fixes
* Add Tecnativa as author
* Remove untestable JS method
* Rename to web_responsive
2023-11-17 00:37:42 +02:00
Marcos Oitaben 5c423c80e9 [IMP] web_widget_open_tab: pre-commit stuff 2023-11-16 09:11:23 +01:00
Ivorra78 588b650e5c Translated using Weblate (Spanish)
Currently translated at 100.0% (6 of 6 strings)

Translation: web-16.0/web-16.0-web_widget_open_tab
Translate-URL: https://translation.odoo-community.org/projects/web-16-0/web-16-0-web_widget_open_tab/es/
2023-11-16 09:11:23 +01:00
Aungkokolin1997 2bd23ec0b8 [IMP] web_widget_open_tab 2023-11-16 09:11:23 +01:00
Pedro M. Baeza d48de150b2 [IMP] web_widget_open_tab: Add ROADMAP
According https://github.com/OCA/web/pull/2453#issuecomment-1625646345
2023-11-16 09:11:23 +01:00
dsolanki 27b941d272 [MIG] web_widget_open_tab: Migration to 16.0 2023-11-16 09:11:23 +01:00