Commit Graph

82 Commits (cf7bfbced5e28f05fbd3e4487b6433f9544f1bf5)

Author SHA1 Message Date
Pedro M. Baeza 2c82fa8953 Revert "Update web_responsive.scss"
This reverts commit d81776e159.
2020-10-06 12:16:33 +02:00
JulianaPoudou d81776e159
Update web_responsive.scss
On the edit page of a channel, if the user is configured with the chat on the side, when clicking to add a subscriber, the list is truncated. Change the overflow of the div o_chatter displays the list correctly.
2020-09-30 15:31:33 +02:00
Alexandre D. Díaz e5cb859419 [IMP] web_responsive: change search options buttons css 2020-08-03 20:18:35 +02:00
OCA-git-bot 5b099ca76c [UPD] README.rst 2020-07-14 05:30:40 +00:00
OCA-git-bot e91957559d [UPD] README.rst 2020-07-13 05:30:37 +00:00
Andrii Skrypka 64ca2f4d17 [FIX] web_responsive: fix hotkey combinations in a shortcut template 2020-03-23 18:57:45 +02:00
Alexandre Díaz e3c47265ba [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.
2020-02-24 00:39:48 +01:00
OCA-git-bot 97a4aadc39 Merge PR #1509 into 12.0
Signed-off-by Yajo
2020-02-18 08:21:51 +00:00
Alexandre Díaz e384f67317 [IMP] web_responsive: Payment info popover position 2020-01-31 19:43:53 +01:00
Jairo Llopis 378c02c7a2
[FIX] web_responsive: usable search buttons in md screens
When the screen wasn't small enough to trigger mobile mode but wasn't big enough to display properly search buttons, those got awkward.

@Tecnativa TT21728
2020-01-27 12:02:26 +00:00
Alexandre Díaz 62728e99fc [IMP] web_responsive: Document Viewer key events 2020-01-20 15:18:30 +01:00
Alexandre Díaz 740683a9b5 [FIX] web_responsive: Remove auto-focus for the document viewer modal 2020-01-20 12:43:12 +01:00
Alexandre Díaz 6ff13e8569 [IMP] web_responsive: Document Viewer 2020-01-03 12:37:04 +01:00
Alexandre Díaz 478fd62453 [IMP] mail_tracking: Changed form statusbar z-index 2019-12-04 14:29:49 +01:00
Alexandre Díaz 1325b260c8 [FIX] web_responsive: modify action handling
Previous this commit, AppMenu doesn't hide in some situations.
Steps to reproduce (sometimes works, sometimes doesn't):
From Discuss App (refresh) open AppMenu and search some menu,
select the second in the list and press enter.
The action is launched correctly, but the AppMenu doesn't hide.

Now uses 'defer' to ensure that all has done to do the task
2019-11-20 18:03:54 +01:00
Alexandre Díaz d0d4650ef0 [IMP] web_responsive: Scroll menu sections on mobile 2019-11-11 17:10:41 +01:00
OCA-git-bot 9bc07f872f Merge PR #1391 into 12.0
Signed-off-by Yajo
2019-10-11 12:36:19 +00:00
Alexandre Díaz 8a7d5f68f0 [IMP] web_responsive: Support long titles 2019-10-09 15:38:13 +02:00
Alexandre Díaz f40005b215 [IMP] web_responsive: Made chatter input & attachments scrollable 2019-10-08 18:49:27 +02:00
Alexandre Díaz c8bb200d64 [FIX] web_responsive: changed button box more initial position 2019-09-25 20:03:28 +02:00
Mathias Markl 6865134807 Update web_responsive.scss 2019-08-12 11:47:52 +00:00
Alexandre Díaz 3273a6e4cf [IMP] web_responsive: Performance when hide menus 2019-08-12 10:45:39 +00:00
Alexandre Díaz 0c06496dcf [IMP] web_responsive: Small refactor 'isWaiting' 2019-08-08 17:12:28 +02:00
Alexandre Díaz 54c2103014 [IMP] web_responsive: Don't show menu if waiting for an action to end 2019-08-08 17:05:35 +02:00
OCA-git-bot 6df32b51c3 [UPD] README.rst 2019-07-29 03:49:00 +00:00
OCA-git-bot 31a3198cd2 [UPD] README.rst 2019-07-04 14:52:23 +00:00
Mathias Markl 00f09adf1b [FIX] web_responsive: Close Menu on Discard 2019-07-04 14:42:09 +00:00
Mathias Markl 086f9e7dfd [FIX] web_responsive: adapt AppDrawer Discard 2019-07-04 14:42:09 +00:00
Mathias Markl eb25ccef6c [FIX] web_responsive: AppDrawer Discard 2019-07-04 14:42:09 +00:00
Alexandre Díaz c5c59470c6 [FIX] web_responsive: Close AppDrawer 2019-06-21 08:58:29 +00:00
Alexandre Díaz 4c9a89ab73 [IMP] web_responsive: Chatter on small screen 2019-06-21 08:58:29 +00:00
Alexandre Díaz dbd33fbf72 imp overflow 2019-06-21 08:58:28 +00:00
Alexandre Díaz 453f8b0635 [FIX] web_responsive: Chatter position 2019-06-21 08:58:28 +00:00
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
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
Alexandre Díaz 86e62473e6 [IMP] Sticky chatter topbar 2019-02-14 17:52:49 +01: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
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