Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Conversation

TalmizAhmed
Copy link

@TalmizAhmed TalmizAhmed commented Mar 19, 2025

Copy link

aem-code-sync bot commented Mar 19, 2025

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

@TalmizAhmed TalmizAhmed requested review from ujjwal5 and ravise5 March 19, 2025 10:28
Copy link

aem-code-sync bot commented Mar 19, 2025

Page Scores Audits Google
📱 / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ / PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

}

const submitBtn = panel.querySelector('.submit-wrapper');
if (submitBtn) {
wrapper.append(submitBtn);
panel.append(submitBtn);
}
Copy link

Choose a reason for hiding this comment

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

Copy link

Choose a reason for hiding this comment

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

handle this in form-editor-support.js

Copy link
Author

@TalmizAhmed TalmizAhmed Mar 19, 2025

Choose a reason for hiding this comment

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

@ravise5 The change in appearance is intentional and it has not broken anything in terms of functionality.
Submit and reset buttons were put into the wrapper that contained next and previous buttons which was excluded from annotation, and so there was no way to delete these components as they were not being rendered in the content tree.
Ideally this should have been appended to the bottom of the wizard as it is being done now. This way, whenever authors add reset/submit buttons in any of the panels of the wizard, they get pulled out and put in the bottom of the wizard, but still inside the runtime scope of the wizard to allow for functioning and deletion to take place.

Copy link

Choose a reason for hiding this comment

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

Need to discuss if we want to break the existing styling for fixing an authoring issue :)

Choose a reason for hiding this comment

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

Submit and reset button should be backed by some jcr resource if we want them to be editable or visible in tree. Can someone explain the exact requirement here?

Copy link

Choose a reason for hiding this comment

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

Context:
@nit23uec
Currently the code in wizard is written such that if a reset or submit button is added it places them in a wrapper.
This wrapper has some css that aligns them in same level. Due to this wrapper annotation is not working for reset or submit added inside a wizard.

Copy link
Author

Choose a reason for hiding this comment

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

@jalagari Need your inputs in this

Copy link

@ravise5 ravise5 left a comment

Choose a reason for hiding this comment

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

-1

@TalmizAhmed TalmizAhmed requested review from ravise5 and nit23uec March 19, 2025 12:56
@TalmizAhmed TalmizAhmed changed the title Fix: Fixing Buttons in Wizard not visible in content tree nor editable Fix: Fixing Buttons in Wizard not visible nor editable in content tree Mar 25, 2025
@TalmizAhmed TalmizAhmed requested a review from jalagari March 25, 2025 09:06
@TalmizAhmed TalmizAhmed changed the title Fix: Fixing Buttons in Wizard not visible nor editable in content tree UE: Fixing Buttons in Wizard not visible nor editable in content tree Mar 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants