Commit Graph

32 Commits (05a016d30b67036cbd16d2e7d527b09c0f6ac22f)

Author SHA1 Message Date
OCA-git-bot 3a08e543b8 [BOT] post-merge updates 2024-05-15 10:14:08 +00:00
trisdoan 1ec010667f [IMP] web_dialog_size: hide restore button when opening dialog 2024-05-15 16:21:27 +07:00
OCA-git-bot 55183d2487 [UPD] README.rst 2023-09-03 17:56:09 +00:00
Hai Lang b3f75abf0d [UPD] web_dialog_size: reduce rpc call to get config
After installing web_dialog_size and setup its parameter, there's
a slight delay where we can see the modal at its normal size and then
after a rpc to ir.config_parameter:get_web_dialog_size_config() the
modal is maximized.

This commit is to set a session value then use it to set initial dialog
size upfront without delay.
2023-06-20 11:43:37 +07:00
OCA-git-bot 30f9aceee8 [UPD] README.rst 2022-08-30 06:42:40 +00:00
Mantux11 e4c0d27709 [15.0][MIG] web_dialog_size: migration to 15.0 2022-03-25 09:01:51 +00:00
OCA-git-bot faeaac3e93 [UPD] README.rst 2022-03-10 14:24:00 +00:00
Jairo Llopis 921ad9e024 [IMP] web_dialog_size: add task to roadmap
It is important to let users decide their default dialog size. Some have ultrawide monitors and this module does more harm than benefit.

Here I add such task to roadmap, to avoid forgetting about it.

@Tecnativa
2022-03-10 14:24:00 +00:00
Pierre Pizzetta f7cd735fdd [MIG] web_dialog_size: Migration to 14.0 2022-03-10 14:24:00 +00:00
Pierre Pizzetta c9513c3039 [IMP] web_dialog_size: black, isort, prettier 2022-03-10 14:24:00 +00:00
OCA-git-bot 20442c8b21 [UPD] README.rst 2022-03-10 14:24:00 +00:00
OCA-git-bot 7606270951 [UPD] README.rst 2022-03-10 14:24:00 +00:00
Stéphane Bidoul 33521cb098 pre-commit update: prettier xml indent 2022-03-10 14:24:00 +00:00
Jairo Llopis 5784067517 [IMP] pre-commit run after update
Includes some manual fixes to silent ESLint warnings.
2022-03-10 14:24:00 +00:00
emagdalena 2c0d1b3af1 [FIX] web_dialog_size js warnings 2022-03-10 14:24:00 +00:00
OCA-git-bot 8b4a18857e [UPD] README.rst 2022-03-10 14:24:00 +00:00
sudhir-erpharbor f86d3fecfa [IMP] Improved code and solved the bug of two arrows in dialog. 2022-03-10 14:24:00 +00:00
sudhir-erpharbor 27ad484093 [MIG] Migrated web_dialog_size module in v13. 2022-03-10 14:24:00 +00:00
OCA-git-bot d4219058cb [UPD] README.rst 2022-03-10 14:24:00 +00:00
ernesto f8dc8750d7 [MIG] web_dialog_size: Migration to 12.0 2022-03-10 14:24:00 +00:00
joezsweet 2bceaae2b3 Fix default_maximize check
Checking result of rpc call, `dialog_maximize`, will end to be always `true` as the method will return a json: `{'dialog_maximize': false }`. So i changed the test to test the value of json key `dialog_maximize`
2022-03-10 14:24:00 +00:00
QS5ELkMu 8c6198bbdd [11.0][FIX] web_dialog_size: Draggable Dialog 2022-03-10 14:24:00 +00:00
Jairo Llopis f7b883c4c3 [FIX] web_dialog_size: Fix usage for non-admins and reduce calls (#954)
This addon had 2 problems after migrating to v11:

1. One call to backend's `ir.config_parameter.get_param` was done for
   each instantiated dialog, while the setting served for the whole
   session equally.
2. That model is now readable only by admin users, so non-admins
   couldn't use the default at all.

Fixed now.
2022-03-10 14:24:00 +00:00
Quentin THEURET 8b9d514241 [FIX] #921 Fixed issue when discard a modal with draggable element 2022-03-10 14:24:00 +00:00
Quentin Theuret 3d13362f69 [MIG] Migrate web_dialog_size module to v11 2022-03-10 14:24:00 +00:00
David 364ab609b2 [FIX] web_dialog_size: default_maximize
- default_maximize option wasn't working due to strict value comparison
2022-03-10 14:24:00 +00:00
Wolfgang Pichler 11d99bae5b [FIX+IMP] web_dialog_size
* IMP: Added draggable support to dialogs
* FIX: web_dialog_size: export modal
  - PR #733 introduced draggable dialogs which broke some of them
2022-03-10 14:24:00 +00:00
Siddharth Bhalgami 59963d97bc [10.0-MIG] web_dialog_size for v10.0 2022-03-10 14:24:00 +00:00
Siddharth Bhalgami 0206a20d23 [MIG] web_dialog_siza: Migrate to v9.0 2022-03-10 14:24:00 +00:00
Stéphane Bidoul 1ef77a577c [FIX] web_dialog_size: do not expand by default and correctly honor default_maximize parameter 2022-03-10 14:24:00 +00:00
Pedro M. Baeza ef9887775a [IMP] web_dialog_size: Select default dialog size by config
* [IMP] web_dialog_size: Put dialog size expanded by default

* [REM] web_popup_large: By duplication of the functionality

* [IMP] web_dialog_size: README and contributors

* [ADD] configuration parameter for default behavior

[FIX] return super's promise
[IMP] use fontawesome icons for buttons
2022-03-10 14:24:00 +00:00
Anthony Muschang 2c1216c791 [ADD] module web_dialog_size
New module that let the user expand a dialog box to the full screen
width.
2022-03-10 14:24:00 +00:00