Commit Graph

221 Commits (a4bc668762c29ccab9e18dc2327a3dcf45f4713d)

Author SHA1 Message Date
Sergey Shebanin 14fbf4a522 [FIX] make base odoo JS tests working with web_responsive module 2025-01-28 01:31:28 +03:00
Sergey Shebanin b53b11e23b [IMP] big inputs on forms in edit mode 2025-01-28 01:31:28 +03:00
Sergey Shebanin c555e915c3 [IMP] show AppsMenu by default after login
also redirect to backend from website AppsMenu
2025-01-28 01:31:28 +03:00
Sergey Shebanin 0dd5208b8d [IMP] recaptured actual description screenshots 2025-01-28 01:31:28 +03:00
Sergey Shebanin b4cb0b467b [MIG] web_responsive: Migration to 15.0 2025-01-28 01:31:27 +03:00
Rémi 4ab1df348f Translated using Weblate (French)
Currently translated at 88.8% (16 of 18 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/fr/
2025-01-28 01:31:27 +03:00
Saeed Raeisi 118bb1c865 Translated using Weblate (Persian)
Currently translated at 100.0% (24 of 24 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/fa/
2025-01-28 01:31:27 +03:00
Saeed Raeisi f62f988718 Added translation using Weblate (Persian) 2025-01-28 01:31:27 +03:00
Saeed Raeisi 2fe67abb66 Added translation using Weblate (Persian) 2025-01-28 01:31:27 +03:00
Rémi 84c0baf11c Translated using Weblate (French)
Currently translated at 77.7% (14 of 18 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/fr/
2025-01-28 01:31:27 +03:00
Bosd bcc964d011 Translated using Weblate (Dutch)
Currently translated at 77.7% (14 of 18 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/nl/
2025-01-28 01:31:27 +03:00
Splash aa2778bed6 [FIX] word wrap for appdrawer menu items 2025-01-28 01:31:27 +03:00
Yves Le Doeuff 165e7c670f Translated using Weblate (French (France))
Currently translated at 50.0% (12 of 24 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/fr_FR/
2025-01-28 01:31:27 +03:00
Yves Le Doeuff a1ddaf6d82 Added translation using Weblate (French (France)) 2025-01-28 01:31:27 +03:00
SplashS 972d09097c Translated using Weblate (Russian)
Currently translated at 87.5% (21 of 24 strings)

Translation: web-14.0/web-14.0-web_responsive
Translate-URL: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_responsive/ru/
2025-01-28 01:31:27 +03:00
Splash c0d2286f06 [FIX] error on grouped mobile kanban with zero groups 2025-01-28 01:31:27 +03:00
SplashS 057c7d31d4 Added translation using Weblate (Russian) 2025-01-28 01:31:27 +03:00
OCA-git-bot 9ef199a065 [UPD] README.rst 2025-01-28 01:31:27 +03:00
oca-travis 5f9eb3cd93 [UPD] Update web_responsive.pot 2025-01-28 01:31:27 +03:00
Sergey Shebanin e1a5e0ddb4 [MIG] web_responsive: Migration to 14.0 2025-01-28 01:31:27 +03:00
oca-travis 7227ce695c Update translation files 2025-01-28 01:31:27 +03:00
Alexandre D. Díaz d36524086d [IMP] web_responsive: Scrollable dropdowns 2025-01-28 01:31:27 +03:00
Yann Papouin 267791fd3c [FIX] web_responsive: Do not set overflow property on inline fields
Co-authored-by: Alexandre Díaz <alexandre.diaz@tecnativa.com>
Ensure that the title is displayed while the user holds the mouse click (while selecting content)
2025-01-28 01:31:27 +03:00
Alexandre D. Díaz ebdeefb62a [IMP] web_responsive: Bigger checkboxes in list view 2025-01-28 01:31:27 +03:00
Alexandre D. Díaz 624dc5570d [FIX] web_responsive: Menu section overflow 2025-01-28 01:31:27 +03:00
Alexandre D. Díaz 57b32dfce6 [IMP] web_responsive: Apply pre-commit changes 2025-01-28 01:31:27 +03:00
Alexandre D. Díaz b232a3d535 [IMP] web_responsive: Cut long filters names in the filters menu 2025-01-28 01:31:27 +03:00
Alexandre D. Díaz 28046f71d5 [FIX] web_responsive: Hide search panel on small screens 2025-01-28 01:31:27 +03:00
OCA-git-bot 9b45fb739f [UPD] README.rst 2025-01-28 01:31:27 +03:00
Pedro M. Baeza 28fca536ff [IMP] web_responsive: Adjust roadmap
* Removed one of the wishlist after #1654 and #1657
* Added the bug depicted in #1626

Closes #1626
2025-01-28 01:31:27 +03:00
Andrii Skrypka 6591215b3a [FIX] web_responsive: fix hotkey combinations in a shortcut template 2025-01-28 01:31:27 +03:00
OCA-git-bot 7e6d2cc5d2 [UPD] README.rst 2025-01-28 01:31:27 +03:00
Ivàn Todorovich 93f4d5ccb5 [IMP] Improve responsiveness in large screens: don't let the icons separate too much from each other
[FIX] Display of long search result items in mobile

[IMP] AppMenu searchbar style

[IMP] Add vertical padding to icons, to increase separation

[IMP] Add focus style on app icons

[IMP] Prevent user selection on menu

[IMP] Prevent dragging the menues
2025-01-28 01:31:27 +03:00
Pablo Androetto 45d4935d52 New style in apps menu
scss file to change ui variables easily

Deleted unnecesary padding

remove unnecesary styles

unnecesary styles

align menu items to left again

search results styles and fixes

prettier configuration fix

newline at end of file (variables.scss)

text color calculation for navbar

fix in img url

requested fixes

Transitions and focus fixes

fix in js settimeout

margin added in search-container

Fix in transition

Co-authored-by: Jairo Llopis <Yajo@users.noreply.github.com>

Remove duplicated css
2025-01-28 01:31:27 +03:00
Alexandre Díaz 8071a1b87d [IMP] web_responsive: Restore discuss mobile mode 2025-01-28 01:31:27 +03:00
Stéphane Bidoul 93d1e99a01 pre-commit update: prettier xml indent 2025-01-28 01:31:27 +03:00
Alexandre Díaz 83987120e5 [FIX] web_responsive: Change AppDrawer close method
Previous of this commit, AppDrawer closes when the action have an id
that is defined in a menu item and no rpc calls are running.
Now AppDrawer closes in a more generic way, is enough that a
controller is attached to consider that the AppDrawer needs to be
closed.
2025-01-28 01:31:27 +03:00
Jairo Llopis 7f6cc65947 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2025-01-28 01:31:27 +03:00
Alexandre Díaz 1e1e6924b7 [IMP] web-responsive: Document Viewer 2025-01-28 01:31:27 +03:00
Jairo Llopis ae3725a4a1 [FIX] web_responsive: make followers dropdown usable
Fix a visual glitch that impeded using the followers dropdown with a sided chatter.
2025-01-28 01:31:27 +03:00
Alexandre Díaz 3f104515fd [IMP] mail_tracking: Changed form statusbar z-index 2025-01-28 01:31:27 +03:00
Alexandre Díaz b15bf966ac [IMP] web_responsive: Adapt test to 13.0 2025-01-28 01:31:27 +03:00
emagdalena e52c3b9eb5 [FIX] web_dialog_size js warnings 2025-01-28 01:31:26 +03:00
OCA-git-bot e7aface594 [UPD] README.rst 2025-01-28 01:31:26 +03:00
Pedro M. Baeza 4109bc1853 [IMP] web_responsive: Add development status + contributors 2025-01-28 01:31:26 +03:00
Alexandre Díaz 692488a722 black, isort 2025-01-28 01:31:26 +03:00
Alexandre Díaz 3f122ad826 [IMP] web_responsive: Support long titles 2025-01-28 01:31:26 +03:00
Alexandre Díaz 4fb55bb53a [IMP] web_responsive: Made chatter input & attachments scrollable 2025-01-28 01:31:26 +03:00
Alexandre Díaz c1e37460c0 [MIG] web_responsive: Migration to 13.0 2025-01-28 01:31:26 +03:00
Alexandre Díaz e245cda4ca [FIX] web_responsive: changed button box more initial position 2025-01-28 01:31:26 +03:00
Mathias Markl 6790f71915 Update web_responsive.scss 2025-01-28 01:31:26 +03:00
Alexandre Díaz 638f92edef [IMP] web_responsive: Performance when hide menus 2025-01-28 01:31:26 +03:00
Alexandre Díaz 900d70fd8a [IMP] web_responsive: Small refactor 'isWaiting' 2025-01-28 01:31:26 +03:00
Alexandre Díaz a69ba7ceeb [IMP] web_responsive: Don't show menu if waiting for an action to end 2025-01-28 01:31:26 +03:00
OCA-git-bot a4d4e402c0 [UPD] README.rst 2025-01-28 01:31:26 +03:00
Mathias Markl 12862a506d [FIX] web_responsive: Close Menu on Discard 2025-01-28 01:31:26 +03:00
Mathias Markl 20e1a06e7a [FIX] web_responsive: adapt AppDrawer Discard 2025-01-28 01:31:26 +03:00
Mathias Markl 7003e15e41 [FIX] web_responsive: AppDrawer Discard 2025-01-28 01:31:26 +03:00
Alexandre Díaz ec3f800e49 [FIX] web_responsive: Close AppDrawer 2025-01-28 01:31:26 +03:00
Alexandre Díaz b927a187e3 [IMP] web_responsive: Chatter on small screen 2025-01-28 01:31:26 +03:00
Alexandre Díaz 3f7c3fa7cd imp overflow 2025-01-28 01:31:26 +03:00
Alexandre Díaz 218960e2c6 [FIX] web_responsive: Chatter position 2025-01-28 01:31:26 +03:00
Alexandre Díaz 52d30d021b [IMP] web_responsive: Readme 2025-01-28 01:31:26 +03:00
Alexandre Díaz 5e43423003 [IMP] web_responsive: Refactor code 2025-01-28 01:31:26 +03:00
Alexandre Díaz 9bcd9bb0c9 [FIX] web_responsive: AppDrawer in Chromium 2025-01-28 01:31:26 +03:00
Alexandre Díaz 713b69a542 [IMP] web_responsive: Readme 2025-01-28 01:31:26 +03:00
Alexandre Díaz 45c7a6d420 [IMP] web_responsive: Menu wait for action 2025-01-28 01:31:26 +03:00
Alexandre Díaz 28af44b9f7 [IMP] web_responsive: Suggested changes 2025-01-28 01:31:26 +03:00
Alexandre Díaz 15335a0661 [IMP] web_responsive: AppMenu wait for load view 2025-01-28 01:31:26 +03:00
Alexandre Díaz 4a06068d08 [IMP] web_responsive: Support long title in form view 2025-01-28 01:31:26 +03:00
Alexandre Díaz 7bf737fbb1 [IMP] web_responsive: Sticky in tree view and form view 2025-01-28 01:31:26 +03:00
Alexandre Díaz 083e00f852 [IMP] web_responsive: chatter width 2025-01-28 01:31:26 +03:00
Jairo Llopis 2a9fbf9e4b [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.
2025-01-28 01:31:26 +03:00
Jairo Llopis d2226a0395 Update web_responsive/static/src/css/web_responsive.scss
Co-Authored-By: Tardo <dev@redneboa.es>
2025-01-28 01:31:26 +03:00
Alexandre Díaz 32d0ea659c [FIX+IMP] web_responsive: Chatter Topbar + fix #1189 + added gif 2025-01-28 01:31:26 +03:00
Alexandre Díaz 3e0f263def [IMP] Sticky chatter topbar 2025-01-28 01:31:26 +03:00
Jairo Llopis fa981bd1b0 [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.
2025-01-28 01:31:26 +03:00
Jairo Llopis 5c90e51b21 [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.
2025-01-28 01:31:26 +03:00
Jairo Llopis 569ee644c3 [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!
2025-01-28 01:31:26 +03:00
OCA Transbot fc14d7ec42 Update translation files 2025-01-28 01:31:26 +03:00
OCA Git Bot bf36373c08 [UPD] README.rst 2025-01-28 01:31:26 +03:00
Jairo Llopis bec60fa007 [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.
2025-01-28 01:31:26 +03:00
Jairo Llopis afbe90b6e7 [FIX] web_responsive: Complete search feature forward-porting 2025-01-28 01:31:26 +03:00
Dave Lasley ad1373ed4b [IMP] web_responsive: Add search feature (#838)
* Add feature to search menus in the app drawer
* Switch model to RPC
2025-01-28 01:31:26 +03:00
OCA Git Bot 84119d4117 [UPD] README.rst 2025-01-28 01:31:26 +03:00
Pedro M. Baeza d0aded0656 [IMP] web_responsive: Add known issue note about sticky 2025-01-28 01:31:26 +03:00
QS5ELkMu 2d4b91fe6d [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
2025-01-28 01:31:26 +03:00
QS5ELkMu 0bdd8862a4 [FIX][11.0][web_responsive] Views without sheet 2025-01-28 01:31:26 +03:00
QS5ELkMu 3d28511188 [IMP] Add sticky header & footer in list view 2025-01-28 01:31:26 +03:00
QS5ELkMu 67ce5e29cd [IMP] Sticky Statusbar 2025-01-28 01:31:26 +03:00
Jairo Llopis 61e1ec9edd Fix linter 2025-01-28 01:31:26 +03:00
QS5ELkMu 3c634ab69e [IMP] Adding res.users chatter_position read/write test 2025-01-28 01:31:26 +03:00
QS5ELkMu e6df7a49d2 [IMP] Code 2025-01-28 01:31:26 +03:00
QS5ELkMu 4a0089ab42 [CLEAN] Comments 2025-01-28 01:31:26 +03:00
QS5ELkMu 967ceae491 [FIX] Read/Write permissions 2025-01-28 01:31:26 +03:00
QS5ELkMu 7ba8b40e32 [FIX] Chatter Position 2025-01-28 01:31:26 +03:00
OCA Git Bot 73a8b42037 [UPD] README.rst 2025-01-28 01:31:26 +03:00
QS5ELkMu 0590965672 [IMP] web_responsive: Possibility of putting the chatter in the right (#951) 2025-01-28 01:31:26 +03:00
fanha99 77491557d8 [FIX] web_responsive: Hide header when print directly from browser issues 808 (#809)
Closes #808
2025-01-28 01:31:26 +03:00
Dave Lasley 237f33821f [FIX] web_responsive: Menu Height on Init
* Add a call to the window resize method during init to fix OCA#773
2025-01-28 01:31:26 +03:00
Minh H.G e49f7648d9 [MIG] web_responsive test to 11.0 2025-01-28 01:31:26 +03:00
Pedro M. Baeza b79d4d73b8 [FIX] web_responsive: Correct runbot link 2025-01-28 01:31:26 +03:00
Dave Lasley 2960a0d903 [FIX] web_responsive: Chrome Slow Scrolling
* Update to iScoll bleeding edge to fix #741
2025-01-28 01:31:26 +03:00
Angel Moya - PESOL b6c52c71e4 FIX travis (#747)
* FIX hasclass

* FIX views

* [FIX] web_responsive: Syntax error in xpath
2025-01-28 01:31:26 +03:00
Angel Moya Pardo b600d120d2 UPDT version 2025-01-28 01:31:26 +03:00
Sergio Teruel Albert 14c39a814a [10.0][IMP] web_responsive: Load default kanban view for small screen 2025-01-28 01:31:26 +03:00
Jairo Llopis d95cee1ad5 [FIX][web_responsive] Long-named multicompanies nice in XS (#688) 2025-01-28 01:31:26 +03:00
Dennis Sluijk 3611363b14 [10.0][IMP][web_responsive] Make search bar sticky (#633)
* Initial commit

* Initial commit
2025-01-28 01:31:26 +03:00
Pedro M. Baeza 64633d09dd [FIX] web_responsive: Execution permission 2025-01-28 01:31:26 +03:00
Jairo Llopis 794cc5d72b [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.
2025-01-28 01:31:26 +03:00
Dave Lasley 0e8881f779 [FIX] web_responsive: Change edit accesskey
* Change accesskey for `edit` in form view back to `e` to fix #587
2025-01-28 01:31:26 +03:00
zeroheure 9d94a9066c Update README to fix wikipedia link 2025-01-28 01:31:26 +03:00
Dennis Sluijk 206a55f664 [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
2025-01-28 01:31:26 +03:00
Jairo Llopis 8ba347f8e7 [FIX][web_responsive] Form padding, titles and buttons OK in XS
Small makeup to make it look good in XS screens.
2025-01-28 01:31:26 +03:00
Jairo Llopis a5f8815c02 Fix problem with overflowing chatter widget. 2025-01-28 01:31:26 +03:00
Daniel Torres 8d26f7eb5a Form image editing controls always present
Make image editing controls always available, instead of depending
on resolution or hover.
2025-01-28 01:31:26 +03:00
Daniel Torres 01339901f5 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
2025-01-28 01:31:26 +03:00
Daniel Torres d5c6ccbb12 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
2025-01-28 01:31:26 +03:00
Dave Lasley a57604fa89 [FIX] web_responsive: Change z-indexes
* Rebalance z-indexes to fix overlay issue while still providing notification support
2025-01-28 01:31:26 +03:00
Dave Lasley a769934d98 [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
2025-01-28 01:31:26 +03:00
Dave Lasley e2013b2c1d [FIX] web_responsive: Other minor fixes
* Add Tecnativa as author
* Remove untestable JS method
* Rename to web_responsive
2025-01-28 01:31:26 +03:00