-
Notifications
You must be signed in to change notification settings - Fork 7
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-135319 Init Tags Block #15
Conversation
Hello, I'm Franklin Bot and I will run some test suites that validate the page speed.
|
Codecov Report
@@ Coverage Diff @@
## main #15 +/- ##
===========================================
- Coverage 100.00% 98.47% -1.53%
===========================================
Files 2 2
Lines 67 131 +64
===========================================
+ Hits 67 129 +62
- Misses 0 2 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nits
scripts/utils.js
Outdated
} | ||
|
||
function buildTagsBlock() { | ||
const tagsArray = [...document.head.querySelectorAll('meta[property="article:tag"]')].map((el) => el.content) || []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be an early return since we are before loadArea, or do we want an empty tag block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think that's a good idea. Updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be good to make to a ticket for the code smell. Will we ever get to it I am not sure, but good to have stuff like that in our backlog if we ever get some extra time.
|
Resolves: MWPW-135319
Test URLs: