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-158014 - [Notification] bugs #2996

Merged
merged 4 commits into from
Oct 21, 2024
Merged

Conversation

Sartxi
Copy link
Contributor

@Sartxi Sartxi commented Oct 2, 2024

As an author, I would like to be able to have the current Aside notification functionalities to be available in the new Notification block.

Bugs:
1 & 2 the notification.ribbon block (when nested in section with .sticky-bottom style) is not using the same default functionality as the original aside.promobar block that it was created to replace.

  1. The notification ribbon block should hide when the user scrolls to the bottom of the page.
  2. The notification ribbon block should only show up once the user scrolls to the element position in the document.
  3. The multi view port decorator wasn't setup to differentiate between a two column layout and a three column layout.

Solutions:

  1. Adjusted selector in the section for sticky functionality to query for all notifications where the class list does not contain the no-hide class name.
  2. Same as 1.
  3. Adjusted multi viewport decorator to consider number of columns in layout and subsequently use proper viewport logic in setting child content.

Resolves: MWPW-158014

Test URLs Bug 1 and 2:

Test URLs for the 'no-hide' variant:

Test URLs Bug 3:

@Sartxi Sartxi added bug Something isn't working needs-verification PR requires E2E testing by a reviewer labels Oct 2, 2024
@Sartxi Sartxi requested a review from a team as a code owner October 2, 2024 17:30
Copy link
Contributor

aem-code-sync bot commented Oct 2, 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

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.33%. Comparing base (067f609) to head (7ba2881).
Report is 23 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage    #2996      +/-   ##
==========================================
- Coverage   96.36%   96.33%   -0.03%     
==========================================
  Files         243      243              
  Lines       55122    55287     +165     
==========================================
+ Hits        53119    53263     +144     
- Misses       2003     2024      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@ryanmparrish ryanmparrish left a comment

Choose a reason for hiding this comment

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

Looks good.
Not related to this PR but I noticed some odd default icon-area img sizes in smaller viewports on the ex. 3... (its on main too), just a heads up if you think we need a follow up on that.

Copy link
Contributor

github-actions bot commented Oct 9, 2024

This PR is currently in the needs-verification state. Please assign a QA engineer to verify the changes.

@NadiiaSokolova NadiiaSokolova self-assigned this Oct 9, 2024
@aem-code-sync aem-code-sync bot temporarily deployed to sartxi/MWPW-158014-notifies October 9, 2024 17:37 Inactive
@Sartxi
Copy link
Contributor Author

Sartxi commented Oct 9, 2024

@NadiiaSokolova I have added some testing URLs for the no-hide variant functionality in the PR description for your review. Thanks!

Copy link

@NadiiaSokolova NadiiaSokolova left a comment

Choose a reason for hiding this comment

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

Verified. Ready for Stage.
Testing details https://jira.corp.adobe.com/browse/MWPW-158014

@Sartxi Sartxi added verified PR has been E2E tested by a reviewer and removed needs-verification PR requires E2E testing by a reviewer labels Oct 11, 2024
@milo-pr-merge milo-pr-merge bot merged commit f72bd60 into stage Oct 21, 2024
23 checks passed
@milo-pr-merge milo-pr-merge bot deleted the sartxi/MWPW-158014-notifies branch October 21, 2024 09:24
@milo-pr-merge milo-pr-merge bot mentioned this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Ready for Stage verified PR has been E2E tested by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants