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-164053-remove-region #163

Merged
merged 7 commits into from
Dec 16, 2024
Merged

MWPW-164053-remove-region #163

merged 7 commits into from
Dec 16, 2024

Conversation

cod17828
Copy link
Collaborator

removing region from query (coming from token and from collection tags)

url for testing: https://mwpw-164053-remove-region--dme-partners--adobecom.hlx.live/apac/channelpartners/drafts/tijana/announcements

ticket: MWPW-164053

removing region from query (coming from token and from collection tags)
Copy link

aem-code-sync bot commented Dec 12, 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

aem-code-sync bot commented Dec 12, 2024

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-164053-remove-region December 12, 2024 14:14 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.31%. Comparing base (4e60532) to head (b22419a).
Report is 15 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #163      +/-   ##
==========================================
- Coverage   81.54%   81.31%   -0.24%     
==========================================
  Files          11       12       +1     
  Lines        3484     3510      +26     
==========================================
+ Hits         2841     2854      +13     
- Misses        643      656      +13     

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

@cod17828
Copy link
Collaborator Author

failing Nala tests are related to requirements changes, we should remove those test for region, or refactor them to check qa-content based on current site

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-164053-remove-region December 12, 2024 16:35 Inactive
@@ -341,7 +327,8 @@ function extractTableCollectionTags(el) {
if (rowTitle === 'collection-tags') {
const [collectionTagsEl] = colsContent;
const collectionTags = Array.from(collectionTagsEl.querySelectorAll('li'), (li) => `"${li.textContent.trim().toLowerCase()}"`);
tableCollectionTags = [...tableCollectionTags, ...collectionTags];
const filtered = collectionTags.filter((tag) => !tag.includes('caas:adobe-partners/cpp/region/'));
Copy link
Collaborator

Choose a reason for hiding this comment

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

@cod17828 sorry if this was not clear, but I don't think we should have any code to handle region tags separately from other tags

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-164053-remove-region December 16, 2024 13:16 Inactive
@cod17828 cod17828 merged commit 37dc77d into stage Dec 16, 2024
6 of 8 checks passed
@cod17828 cod17828 deleted the MWPW-164053-remove-region branch December 16, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants