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

Fallback page for disabled js in browser #534

Merged

Conversation

AlexeyKaryka
Copy link
Contributor

This PR is a:

[ X ] New feature
[ ] Enhancement/Optimization
[ ] Refactor
[ ] Bugfix
[ ] Test for existing code
[ ] Documentation

Summary

When this pull request is merged, it will add fallback page for the case when js is disabled in browser

When js is disabled, common font which is used all around the project isn't fetched anymore, so I've added src on this font from the google fonts.

@coveralls
Copy link

coveralls commented Nov 21, 2018

Coverage Status

Coverage remained the same at 17.428% when pulling a1f40ed on AlexeyKaryka:feature/fallback-if-js-anavailable into 9a65584 on magento-research:release/2.0.

@AlexeyKaryka AlexeyKaryka force-pushed the feature/fallback-if-js-anavailable branch 2 times, most recently from 6094821 to d570f31 Compare November 21, 2018 15:36
@AlexeyKaryka AlexeyKaryka force-pushed the feature/fallback-if-js-anavailable branch from d570f31 to 5743882 Compare November 21, 2018 15:40
@AlexeyKaryka AlexeyKaryka self-assigned this Nov 22, 2018
Copy link
Contributor

@zetlen zetlen left a comment

Choose a reason for hiding this comment

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

Thanks @AlexeyKaryka, this looks great. I made some small adjustments to the build and the fallback view. We'll want to come back to this in later enhancements, so that we can reuse core Venia styles by creating the fallback template as a build asset. But this works great for now. Nicely done!

@zetlen zetlen merged commit 137445f into magento:release/2.0 Nov 28, 2018
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.

3 participants