-
Notifications
You must be signed in to change notification settings - Fork 258
Implement "Neo Mode" for the marketing site homepage #16247
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
Conversation
Pull Request Review: Neo Mode ImplementationI've reviewed PR #16247 implementing Neo Mode for the marketing site homepage. Here are my findings: Critical Issues1. Missing newline at end of file (layouts/index.html)Line: 349 (end of file) 2. Accessibility issuesLines: Throughout layouts/index.html Neo Mode implementation
3. Inline event handlersLines: 308, 334 in layouts/index.html 4. Hardcoded magic numberLines: 81, 84 in theme/src/scss/neo-mode.scss Style & Documentation Issues5. Inconsistent spellingPR description 6. Missing code commentsLines: 308-349 in layouts/index.html 7. Generic alt textLines: 314, 316 in layouts/index.html Minor Issues8. Console error handlingLines: 335-343 in layouts/index.html 9. CSS specificityLines: Throughout theme/src/scss/neo-mode.scss 10. Duplicate CSS rulesLines: 176-197 in theme/src/scss/neo-mode.scss Positive Notes
Testing Recommendations
SummaryThe implementation is functionally solid but needs accessibility improvements and minor code quality fixes. The most critical fix is adding the missing newline at EOF. Address the accessibility concerns before merging to ensure the feature is usable by all users. |
|
@vctrfrnndz Here's the first take - I have to implement responsive versions still, but this should be good to review the primary case for any early feedback! |
|
Your site preview for commit e77e6be is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-e77e6bee.s3-website.us-west-2.amazonaws.com. |
|
@vctrfrnndz actually scratch that - i worked on some responsiveness too, so feel free to look/review that as well! |
|
Your site preview for commit 74b5541 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-74b55412.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit 687afed is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-687afeda.s3-website.us-west-2.amazonaws.com. |
6511212 to
e59f4f1
Compare
|
Your site preview for commit 6511212 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-65112123.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit d437857 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-d4378570.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit e59f4f1 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-e59f4f1b.s3-website.us-west-2.amazonaws.com. |
d437857 to
6e20b65
Compare
|
Your site preview for commit 6403068 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-6403068c.s3-website.us-west-2.amazonaws.com. |
3626f45 to
47b9268
Compare
|
Your site preview for commit 824f0c4 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-824f0c43.s3-website.us-west-2.amazonaws.com. |
| body #main-content { | ||
| transition: opacity 0.3s ease, transform 0.3s ease; | ||
| max-width: 100vw; | ||
| overflow-x: hidden; | ||
| } | ||
|
|
||
| // Global body styles for Neo mode | ||
| body { | ||
| overflow-x: hidden; | ||
| max-width: 100vw; |
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.
Is this scoped to neo or more global? We seem to modify body in both main.scss and _marketing too. Which might be a bit confusing sometimes but is a bit of nit.
foot
left a comment
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.
Very slick 💯 .
Did some testing on saf/ff/chrome and all seems to work great.
|
Your site preview for commit ab4ff0a is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-ab4ff0a5.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit de4486c is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-de4486c6.s3-website.us-west-2.amazonaws.com. |
de4486c to
33de2c0
Compare
|
Your site preview for commit 819cde0 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-819cde0b.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit 61d6056 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-61d6056a.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit 4c11364 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-4c11364d.s3-website.us-west-2.amazonaws.com. |
|
Your site preview for commit b5e3037 is ready! 🎉 http://www-testing-pulumi-docs-origin-pr-16247-b5e3037d.s3-website.us-west-2.amazonaws.com. |

Add a new toggle on the Marketing site that turns on "Neo mode," which opens a Neo prompt on the homepage that is deeplinked to a Neo query in the console. Note that suggested queries have been updated since below screenshots.