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-153167: caas-config change to enable hiding date detail information #2553

Merged
merged 20 commits into from
Jul 15, 2024

Conversation

sheridansunier
Copy link
Contributor

@sheridansunier sheridansunier commented Jul 9, 2024

Our PMs requested to be able to hide Event Start and Event End data on CaasCards for older on-demand webinar content, so users are not discouraged to learn more about our products. This is a small PR that updates the caas-config to enable authors to make this change on collections.

Resolves: MWPW-153167

Test URLs:

Copy link
Contributor

aem-code-sync bot commented Jul 9, 2024

Page Scores Audits Google
/tools/caas?martech=off PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

@sheridansunier sheridansunier requested a review from sanrai July 9, 2024 20:24
@sheridansunier sheridansunier added caas-configurator CaaS Configurator CaaS CaaS related code new-feature New block or other feature labels Jul 9, 2024
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.81%. Comparing base (f5b5121) to head (f210061).
Report is 13 commits behind head on stage.

Additional details and impacted files
@@           Coverage Diff           @@
##            stage    #2553   +/-   ##
=======================================
  Coverage   95.81%   95.81%           
=======================================
  Files         175      175           
  Lines       45948    45988   +40     
=======================================
+ Hits        44026    44065   +39     
- Misses       1922     1923    +1     

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

Copy link
Contributor

This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR.

@@ -363,6 +363,7 @@ const UiPanel = () => html`
<${Input} label="Use Light Text" prop="useLightText" type="checkbox" />
<${Input} label="Use Overlay Links" prop="useOverlayLinks" type="checkbox" />
<${Input} label="Show total card count at top" prop="showTotalResults" type="checkbox" />
<${Input} label="Hide date for on-demand content" prop="hideDateInterval" type="checkbox" />
Copy link
Contributor

Choose a reason for hiding this comment

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

L3 seems to fail the linter /* global ClipboardItem */ - might have been a linting update since this file had been last touched

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks @mokimo - removed this line

Copy link
Contributor

Choose a reason for hiding this comment

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

(nitpick) I would label this checkbox as "Hide Event date",
Since it can be used to hide the event date range, not only on-demand :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cmiqueo the requestors asked for the events to still show the dates for upcoming/live - so for clarity I would leave the title as is

Copy link
Contributor

@cmiqueo cmiqueo left a comment

Choose a reason for hiding this comment

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

Just one small (optional) suggestion

@@ -363,6 +363,7 @@ const UiPanel = () => html`
<${Input} label="Use Light Text" prop="useLightText" type="checkbox" />
<${Input} label="Use Overlay Links" prop="useOverlayLinks" type="checkbox" />
<${Input} label="Show total card count at top" prop="showTotalResults" type="checkbox" />
<${Input} label="Hide date for on-demand content" prop="hideDateInterval" type="checkbox" />
Copy link
Contributor

Choose a reason for hiding this comment

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

(nitpick) I would label this checkbox as "Hide Event date",
Since it can be used to hide the event date range, not only on-demand :)

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jul 11, 2024

Skipped merging 2553: MWPW-153167: caas-config change to enable hiding date detail information due to failing checks

@sheridansunier sheridansunier added the trivial PR doesn't require E2E testing by a reviewer label Jul 12, 2024
@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jul 13, 2024

Skipped merging 2553: MWPW-153167: caas-config change to enable hiding date detail information due to failing checks

2 similar comments
@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jul 14, 2024

Skipped merging 2553: MWPW-153167: caas-config change to enable hiding date detail information due to failing checks

@milo-pr-merge
Copy link
Contributor

milo-pr-merge bot commented Jul 15, 2024

Skipped merging 2553: MWPW-153167: caas-config change to enable hiding date detail information due to failing checks

@mokimo mokimo merged commit a856073 into adobecom:stage Jul 15, 2024
19 of 20 checks passed
@mokimo mokimo mentioned this pull request Jul 15, 2024
rohitsahu pushed a commit to rohitsahu/milo that referenced this pull request Jul 16, 2024
* stage:
  Mwpw-142267:  Merch What's Included and Merch Mnemonic List (TwP) (adobecom#2554)
  MWPW-149124 Improve Focus Page for Performance Improvement Tiger Team  (adobecom#2391)
  Correctly send the created PR slacks (adobecom#2566)
  MWPW-153167: caas-config change to enable hiding date detail information (adobecom#2553)
  MWPW-152016 - Localization target preview for transcreation (adobecom#2564)
  Relax CORS restrictions for module imports (adobecom#2549)
  MWPW-153600 [PEP] loader bar on PEP prompt is seen loaded Left to right in RTL locale (adobecom#2548)
  MWPW-146962 [milo] Text link behaving like button in FAQ section (adobecom#2530)
  MWPW-152280 MEP: Only preload fragments that are in the 1st section (adobecom#2525)
  MWPW-152697 Fix Marketo mobile horizontal scroll (adobecom#2514)
  MWPW-151513: Search results vanished when user clicks on Marquee CTA:Start free trail (adobecom#2406)
  MWPW-154013 PEP prompt redirection is broken in stage after the PEP dismissal PR merge (adobecom#2547)
  MWPW-153962: Introduce maslibs query parameter (adobecom#2544)
  Central georouting support (adobecom#2531)
  [MWPW-152278] Avoid empty CSS requests (adobecom#2524)
  MWPW-152918 Fix Marketo button font (adobecom#2513)

# Conflicts:
#	libs/deps/merch-card.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CaaS CaaS related code caas-configurator CaaS Configurator new-feature New block or other feature Ready for Stage trivial PR doesn't require E2E testing by a reviewer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants