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

MWPW-159374: Replace tinyMCE with Prosemirror #79

Merged
merged 32 commits into from
Nov 6, 2024
Merged

MWPW-159374: Replace tinyMCE with Prosemirror #79

merged 32 commits into from
Nov 6, 2024

Conversation

Copy link

aem-code-sync bot commented Oct 30, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@yesil
Copy link
Collaborator Author

yesil commented Oct 30, 2024

I have some OST changes as well, I'll open a PR tomorrow.

@3ch023
Copy link
Collaborator

3ch023 commented Oct 30, 2024

seeing overlap
image

@@ -138,6 +138,7 @@ export function getOffferSelectorTool() {
<div id="ost"></div>
</sp-dialog-wrapper>
</overlay-trigger>
Copy link
Collaborator

Choose a reason for hiding this comment

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

is </overlay-trigger> closing tag needed? can't see the opening one

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

nope ,thx

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@3ch023 thanks to you I found dead ost code to cleanup.

// Function to get the difference between two objects
function getObjectDifference(values, defaults) {
const difference = {};

Copy link
Collaborator

Choose a reason for hiding this comment

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

extra spaces her and in line 71

@yesil
Copy link
Collaborator Author

yesil commented Nov 4, 2024

@afmicka updates in the editor should be fixed now.
But I need to address issue n°2 though.

Copy link
Member

@Axelcureno Axelcureno left a comment

Choose a reason for hiding this comment

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

A couple suggestions to keep the code clean but overall lgtm! 🚀

@afmicka
Copy link
Collaborator

afmicka commented Nov 5, 2024

@yesil Leaving here the list of issues still present:

  1. Double click on configured CTA does not open the OST
  2. Strikethrough price on slice cards - not able to apply bold style and font colour should be lighter grey as on suggested card
Screenshot 2024-11-05 at 10 16 43

expected:
Screenshot 2024-11-05 at 10 22 42

  1. When CTA variant is applied in studio, data-extra-option attribute without value is added, giving placeholder-failed
Screenshot 2024-11-05 at 10 40 11
  1. Issue no.2 from the previous list

@afmicka
Copy link
Collaborator

afmicka commented Nov 5, 2024

@yesil studio looks good to me now. Will create separate jira for the strikethrough price style

The remaining issues i see (but are no regression) are:

  1. When you remove the text from the badge field, it does not get removed in the preview. Card needs to be saved and page refreshed in order to see the badge gone

  2. When OST is opened for the checkout link, the window has a scroll bar, buttons at the bottom are not visible.

Screenshot 2024-11-05 at 14 56 32

Let me know if these issues need a separate jiras or will be addressed here

@afmicka
Copy link
Collaborator

afmicka commented Nov 5, 2024

Issue no 1 fixed, the second created a follow-up jira https://jira.corp.adobe.com/browse/MWPW-161588.
Looks good to me

@@ -335,7 +332,7 @@ class MasStudio extends LitElement {
? html`<mas-filter-panel></mas-filter-panel>`
: nothing}
${this.content} ${this.fragmentEditor} ${this.selectFragmentDialog}
${this.toast} ${this.loadingIndicator} ${getOffferSelectorTool()}
${this.toast} ${this.loadingIndicator}}
Copy link
Member

Choose a reason for hiding this comment

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

There's an extra closing curly bracket at eol that should be removed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch, thanks @Axelcureno

@yesil yesil merged commit a22dc7f into main Nov 6, 2024
4 of 5 checks passed
@yesil yesil deleted the MWPW-159374 branch November 6, 2024 10:17
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.

5 participants