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

DC Milo 0.2440 #838

Merged
merged 73 commits into from
Oct 1, 2024
Merged

DC Milo 0.2440 #838

merged 73 commits into from
Oct 1, 2024

Conversation

TsayAdobe
Copy link
Collaborator

Release Notes: DC Milo 0.2440

TsayAdobe and others added 30 commits September 16, 2024 07:42
* stage:
  MWPW-158834
  console logs for ez debug
  updates
  Eslint fix
  MWPW-158122
  Add purge action command choice
  MWPW-158423

# Conflicts:
#	acrobat/blocks/verb-widget/verb-widget.js
MWPW-158599: Dynamic prefetch from anon on unity workflow
Text decoration under verb widget footer links
* stage:
  Lint fix
  Eslint fix
  Dynamic prefetch from anon on unity workflow
MWPW-157037: Nonprofit completed scenarios
MWPW-157037: Removed hidden overflow for logo
MWPW-157776 Prompt Card Block
TsayAdobe and others added 26 commits September 27, 2024 14:25
MWPW-157780 Update based on design audit
MWPW-159091 Add analytics event for clicking a prompt card
MWPW-159032: Verb Widget - Accessibility Issues
MWPW-158176: RNR- Updated production url
Copy link

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

@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2024

Codecov Report

Attention: Patch coverage is 78.27869% with 212 lines in your changes missing coverage. Please review.

Project coverage is 88.73%. Comparing base (290a911) to head (6dc4450).
Report is 27 commits behind head on main.

Files with missing lines Patch % Lines
acrobat/blocks/verb-widget/verb-widget.js 21.60% 98 Missing ⚠️
acrobat/blocks/nonprofit/nonprofit.js 88.42% 58 Missing ⚠️
acrobat/scripts/susiAuthHandler.js 0.00% 21 Missing ⚠️
acrobat/scripts/alloy/susi-auth-handler.js 0.00% 18 Missing ⚠️
acrobat/scripts/alloy/verb-widget.js 11.11% 8 Missing ⚠️
acrobat/scripts/scripts.js 44.44% 5 Missing ⚠️
acrobat/blocks/nonprofit/nonprofit-select.js 95.18% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #838       +/-   ##
===========================================
+ Coverage   69.03%   88.73%   +19.69%     
===========================================
  Files          47       51        +4     
  Lines        7196     7805      +609     
===========================================
+ Hits         4968     6926     +1958     
+ Misses       2228      879     -1349     
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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


footer.append(iconSecurity, legal);

element.append(widget, footer);

// Redirect after IMS:Ready
window.addEventListener('IMS:Ready', () => {
console.log('IMS:Ready 😎');
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

// Race Condition
if (window.adobeIMS?.isSignedInUser()
&& window.adobeIMS?.getAccountType() !== 'type1') {
console.log('Race Con ⏩');
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

export default function init(eventName, verb) {
console.log(`📡 Event Name - acrobat:verb-${verb}:${eventName}`);
export default function init(eventName, verb, metaData) {
console.log(`📡 Event Name - acrobat:verb-${verb}:${eventName} - metaData: ${metaData?.type} / ${metaData?.size} `);
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ [eslint] <no-console> reported by reviewdog 🐶
Unexpected console statement.

import { readFile } from '@web/test-runner-commands';
import { expect } from '@esm-bundle/chai';
import sinon from 'sinon';
import { waitForElement, delay } from '../../helpers/waitfor.js';
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'waitForElement' is defined but never used.

document.body.innerHTML = await readFile({ path: './mocks/body-json-more-less.html' });
await import('../../../acrobat/scripts/scripts.js');
await delay(500);
await new Promise((resolve) => requestAnimationFrame(resolve));
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <no-promise-executor-return> reported by reviewdog 🐶
Return values from promise executor functions cannot be read.

import { readFile } from '@web/test-runner-commands';
import { expect } from '@esm-bundle/chai';
import sinon from 'sinon';
import { waitForElement, delay } from '../../helpers/waitfor.js';
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'waitForElement' is defined but never used.

document.body.innerHTML = await readFile({ path: './mocks/body-json-more.html' });
await import('../../../acrobat/scripts/scripts.js');
await delay(500);
await new Promise((resolve) => requestAnimationFrame(resolve));
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <no-promise-executor-return> reported by reviewdog 🐶
Return values from promise executor functions cannot be read.

@@ -1,15 +1,16 @@
import { expect } from '@esm-bundle/chai';
import { waitForElement } from '../helpers/waitfor.js';
Copy link
Contributor

Choose a reason for hiding this comment

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

🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'waitForElement' is defined but never used.

@TsayAdobe TsayAdobe merged commit 6d9beb8 into main Oct 1, 2024
13 of 18 checks passed
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.

6 participants