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] website: improvements in optimize SEO dialog #32449

Closed

Conversation

parthchoksi-github
Copy link

@parthchoksi-github parthchoksi-github commented Apr 5, 2019

Improvements in behaviour of Optimize SEO dialog

After this PR is merged, when you keep title and description fields empty, then the page will use default title and description. We have added default_title and default_description to render the preview with default values when title and description fields are empty in SEO dialog.

A fix has been done on rendering of the 'Preview' in SEO dialog. Earlier 2 previews were being shown, now we've removed the extra one.

Some minor amendments like adding placeholders to title and description and renaming of second preview of SEO dialog to "Social Preview".

Task Link: https://www.odoo.com/web?debug#id=1949636&action=327&model=project.task&view_type=form&menu_id=4720

Pad Link: https://pad.odoo.com/p/r.6991f9e0448188a816cbbc85672ada39

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 5, 2019
Parth Choksi added 3 commits April 5, 2019 17:04
Before this commit, In dialog box of Optimize SEO, we were getting 2 previews.
This fix will remove the rendering of extra preview.

Task ID:1949636
Before this commit, In SEO dialog once you set the title and description,
it was not possible to reset title and description. The reason behind the
issue was, update method was taking title and description from DOM
instead of dialog inputs.

After this commit, you will be able to save empty strings in the title and
description. Once user will do this, the page will use default title.

Task ID:1949636
In this commit, we have changed behaviour of SEO dialog. Now when you
keep title and description fields empty, then the page will use default
title and description. We have added default_title and default_description
to render the preview with default values when title and description
fields are empty in SEO dialog.

Task ID:1949636
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Apr 5, 2019
Copy link
Contributor

@qsm-odoo qsm-odoo left a comment

Choose a reason for hiding this comment

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

Seems good to me, up to SBU and @JKE-be to merge :)

@JKE-be
Copy link
Contributor

JKE-be commented Apr 16, 2019

@robodoo r+

@robodoo
Copy link
Contributor

robodoo commented Apr 16, 2019

Because this PR has multiple commits, I need to know how to merge it:

  • merge to merge directly, using the PR as merge commit message
  • rebase-merge to rebase and merge, using the PR as merge commit message
  • rebase-ff to rebase and fast-forward

@JKE-be
Copy link
Contributor

JKE-be commented Apr 16, 2019

@robodoo rebase-ff

@robodoo
Copy link
Contributor

robodoo commented Apr 16, 2019

Merge method set to rebase and fast-forward

robodoo pushed a commit that referenced this pull request Apr 16, 2019
In this commit, we have changed behaviour of SEO dialog. Now when you
keep title and description fields empty, then the page will use default
title and description. We have added default_title and default_description
to render the preview with default values when title and description
fields are empty in SEO dialog.

Task ID:1949636

closes #32449

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
@robodoo
Copy link
Contributor

robodoo commented Apr 16, 2019

Merged, thanks!

@robodoo robodoo closed this Apr 16, 2019
@rdeodoo rdeodoo deleted the master-seo-dialog-pch branch April 16, 2019 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants