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

[Themes 2012] Inline Editing | Small Promo Block #2202

Open
wants to merge 8 commits into
base: arc-themes-release-version-2.5.2
Choose a base branch
from

Conversation

malavikakoppula
Copy link
Contributor

@malavikakoppula malavikakoppula commented Aug 23, 2024

Description

Jira Ticket: THEMES-2012

inline edit certain content elements on a small promo block within PageBuilder Editor, so that I can curate the homepage small promo to drive engagement.

Test Steps

  1. Checkout this branch git checkout THEMES-2012
  2. Run fusion repo with linked blocks npx fusion start -f -l @wpmwdia/small-promo-block
  3. _id: LF33TMKJENGHFOSIKPHHIHFHJM
  4. publish the page and edit the heading

Before:
Screenshot 2024-08-22 at 4 22 23 PM

After:
Screenshot 2024-08-22 at 4 22 47 PM

@malavikakoppula malavikakoppula marked this pull request as ready for review August 23, 2024 14:57
@malavikakoppula malavikakoppula requested a review from a team as a code owner August 23, 2024 14:57
@malavikakoppula malavikakoppula added the ready for review The PR author has completed the PR template and is ready for a review label Aug 23, 2024
@malavikakoppula malavikakoppula changed the title Themes 2012 [Themes 2012] Inline Editing | Small Promo Block Aug 27, 2024
Copy link
Contributor

@nschubach nschubach left a comment

Choose a reason for hiding this comment

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

There's either an unnecessary flag here or missing logic.

const shouldLazyLoad = lazyLoad && !isAdmin;
const editable = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

editable will always be true, so it's not needed...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@nschubach Removed editable

@malavikakoppula malavikakoppula changed the base branch from arc-themes-release-version-2.5.1 to arc-themes-release-version-2.5.2 September 18, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review The PR author has completed the PR template and is ready for a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants