Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] web_responsive: Automatic height for HTML fields #1921

Closed
wants to merge 1 commit into from

Conversation

etobella
Copy link
Member

@etobella etobella commented May 5, 2021

Following comments from #1919

@SplashS @Tardo @pedrobaeza

@@ -13,7 +13,7 @@
"license": "LGPL-3",
"installable": True,
"depends": [
'web',
'web_editor',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

web_editor is auto_install, so it should be installed, I don't know if this is a problem for web_responsive

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, changing dependencies is not the ideal indeed...

@pedrobaeza pedrobaeza added this to the 12.0 milestone May 6, 2021
Copy link
Member

@yajo yajo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally don't like this feature here.

This is how vanilla Odoo 12 looks like:

Peek.06-05-2021.09-12.mp4

Mouse-wheel scrolling feels natural to me. Also, html widgets have a handle at the bottom that allow resizing if the user feels the need for more space.

Adding this option might make other modules depend on web_responsive to be able to make use of automatic_summernote_height, which is not something we desire, because then that'd make the modules not work in enterprise versions for example.

I think this fits better in a more specific module such as web_field_html_customizable, which can be used with web, web_responsive or web_enterprise, and which covers a specific need and can be extended to support further summernote customizations.

Sorry because I'm late to the party, but my vote is 👎🏼 here 🤷🏼‍♂️

@etobella
Copy link
Member Author

etobella commented May 6, 2021

Sure!!! I knew that might be an issue, so don't worry, I will close this PR and make a new one with the new module.

Thanks for all the comments

@etobella etobella closed this May 6, 2021
@yajo
Copy link
Member

yajo commented May 6, 2021

Thanks for your contribution and your understanding 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants