From b390c4c3c7ddf0bcb98302eee9f172e16cc35b04 Mon Sep 17 00:00:00 2001
From: chaule97
Date: Tue, 14 Jan 2025 12:23:10 +0700
Subject: [PATCH] [MIG] web_responsive: Migration to 18.0
---
web_responsive/README.rst | 33 ++--
web_responsive/__manifest__.py | 5 +-
web_responsive/readme/CONTRIBUTORS.md | 2 +
web_responsive/readme/CREDITS.md | 1 +
web_responsive/readme/DESCRIPTION.md | 4 -
web_responsive/static/description/index.html | 24 +--
web_responsive/static/img/form_buttons.gif | Bin 209567 -> 0 bytes
.../src/components/apps_menu/apps_menu.esm.js | 142 ++++++++----------
.../src/components/apps_menu/apps_menu.scss | 2 +-
.../src/components/apps_menu/apps_menu.xml | 9 +-
.../apps_menu/apps_menu_preferences.esm.js | 5 +-
.../apps_menu_item/apps_menu_item.esm.js | 34 ++---
.../src/components/apps_menu_tools.esm.js | 2 -
.../src/components/chatter/chatter.esm.js | 3 +-
.../static/src/components/chatter/chatter.xml | 8 +-
.../components/command_palette/main.esm.js | 6 +-
.../control_panel/control_panel.esm.js | 8 +-
.../components/file_viewer/file_viewer.esm.js | 5 +-
.../components/file_viewer/file_viewer.scss | 6 +
.../menu_canonical_searchbar/searchbar.esm.js | 2 +-
.../menu_fuse_searchbar/searchbar.esm.js | 1 -
.../menu_odoo_searchbar/searchbar.esm.js | 1 -
.../menu_searchbar/searchbar.esm.js | 19 +--
.../src/legacy/js/web_responsive.esm.js | 6 +-
.../src/views/form/form_renderer.esm.js | 3 +-
.../src/views/form/status_bar_buttons.xml | 14 +-
.../tests/apps_menu_search_tests.esm.js | 13 +-
.../static/tests/apps_menu_tests.esm.js | 13 +-
web_responsive/static/tests/test_patch.js | 19 ---
web_responsive/tests/test_ir_http.py | 3 +-
.../static/src/numeric_step.esm.js | 7 +-
31 files changed, 170 insertions(+), 230 deletions(-)
create mode 100644 web_responsive/readme/CREDITS.md
delete mode 100644 web_responsive/static/img/form_buttons.gif
delete mode 100644 web_responsive/static/tests/test_patch.js
diff --git a/web_responsive/README.rst b/web_responsive/README.rst
index eaa28661d66d..eafb82af8136 100644
--- a/web_responsive/README.rst
+++ b/web_responsive/README.rst
@@ -61,13 +61,9 @@ This module adds responsiveness to web backend.
**Features for mobile**: \* View type picker dropdown displays
comfortably
-- Control panel buttons use icons to save space.
-
- |image6|
-
- Followers and send button is displayed on mobile. Avatar is hidden.
- |image7|
+ |image6|
- Big inputs on form in edit mode
@@ -79,23 +75,23 @@ comfortably
be more intuitive or accessible by fingers of one hand. F.x. Alt + S
for Save
- |image8|
+ |image7|
- Autofocus on search menu box when opening the app menu
- |image9|
+ |image8|
- When the chatter is on the side part, the document viewer fills that
part for side-by-side reading instead of full screen. You can still
put it on full width preview clicking on the new maximize button.
- |image10|
+ |image9|
- When the user chooses to send a public message the color of the
composer is different from the one when the message is an internal
log.
- |image11|
+ |image10|
.. |image| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/redirecthome.gif
.. |image1| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/appmenu.gif
@@ -103,12 +99,11 @@ comfortably
.. |image3| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/listview.gif
.. |image4| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/formview.gif
.. |image5| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/listview.gif
-.. |image6| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/form_buttons.gif
-.. |image7| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/chatter.png
-.. |image8| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/shortcuts.gif
-.. |image9| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/appsearch.gif
-.. |image10| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/document_viewer.gif
-.. |image11| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/chatter-colors.png
+.. |image6| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/chatter.png
+.. |image7| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/shortcuts.gif
+.. |image8| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/appsearch.gif
+.. |image9| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/document_viewer.gif
+.. |image10| image:: https://raw.githubusercontent.com/OCA/web/18.0/web_responsive/static/img/chatter-colors.png
**Table of contents**
@@ -179,6 +174,14 @@ Contributors
- Angel Patel
+- Chau Le
+
+Other credits
+-------------
+
+The migration of this module from 17.0 to 18.0 was financially supported
+by Trobz.
+
Maintainers
-----------
diff --git a/web_responsive/__manifest__.py b/web_responsive/__manifest__.py
index 2c772995ab8d..373ffbcc1ddf 100644
--- a/web_responsive/__manifest__.py
+++ b/web_responsive/__manifest__.py
@@ -9,7 +9,7 @@
{
"name": "Web Responsive",
"summary": "Responsive web client, community-supported",
- "version": "17.0.1.1.3",
+ "version": "18.0.1.0.0",
"category": "Website",
"website": "https://github.com/OCA/web",
"author": "LasLabs, Tecnativa, ITerra, Onestein, "
@@ -50,9 +50,6 @@
"/web_responsive/static/src/components/command_palette/*",
"/web_responsive/static/src/views/form/*",
],
- "web.assets_tests": [
- "/web_responsive/static/tests/test_patch.js",
- ],
"web.qunit_suite_tests": [
"/web_responsive/static/tests/apps_menu_tests.esm.js",
"/web_responsive/static/tests/apps_menu_search_tests.esm.js",
diff --git a/web_responsive/readme/CONTRIBUTORS.md b/web_responsive/readme/CONTRIBUTORS.md
index 8e7d7d5e2c25..faaaf57ecfad 100644
--- a/web_responsive/readme/CONTRIBUTORS.md
+++ b/web_responsive/readme/CONTRIBUTORS.md
@@ -21,3 +21,5 @@
- Taras Shabaranskyi \<\>
- Angel Patel \<\>
+
+- Chau Le \<\>
diff --git a/web_responsive/readme/CREDITS.md b/web_responsive/readme/CREDITS.md
new file mode 100644
index 000000000000..7ae5877845b9
--- /dev/null
+++ b/web_responsive/readme/CREDITS.md
@@ -0,0 +1 @@
+The migration of this module from 17.0 to 18.0 was financially supported by Trobz.
diff --git a/web_responsive/readme/DESCRIPTION.md b/web_responsive/readme/DESCRIPTION.md
index 9e2714aad6a8..a6eb682fbb0f 100644
--- a/web_responsive/readme/DESCRIPTION.md
+++ b/web_responsive/readme/DESCRIPTION.md
@@ -32,10 +32,6 @@ their profile settings.
**Features for mobile**: \* View type picker dropdown displays
comfortably
-- Control panel buttons use icons to save space.
-
- ![image](../static/img/form_buttons.gif)
-
- Followers and send button is displayed on mobile. Avatar is hidden.
![image](../static/img/chatter.png)
diff --git a/web_responsive/static/description/index.html b/web_responsive/static/description/index.html
index 668be0abad30..8eee01943e43 100644
--- a/web_responsive/static/description/index.html
+++ b/web_responsive/static/description/index.html
@@ -397,11 +397,8 @@ Web Responsive
Features for mobile: * View type picker dropdown displays
comfortably
-Control panel buttons use icons to save space.
-
-
Followers and send button is displayed on mobile. Avatar is hidden.
-
+
Big inputs on form in edit mode
@@ -413,20 +410,20 @@ Web Responsive
with Firefox Tab switching. Standard Odoo keyboard hotkeys changed to
be more intuitive or accessible by fingers of one hand. F.x. Alt + S
for Save
-
+
+
The migration of this module from 17.0 to 18.0 was financially supported
+by Trobz.
+