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

Add a small Calypso banner on top of the HTML #428

Merged
merged 1 commit into from
Nov 22, 2015
Merged

Conversation

nb
Copy link
Member

@nb nb commented Nov 22, 2015

Useful for knowing which page is Calypso and just for fun.

Props @stephanethomas who used it in calypso-bootstrap.

Generated by figlet -c -w 40 "calypso”.

Had to upgrade jade, otherwise parsing of the comment failed.

@nb nb added Documentation [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Nov 22, 2015
@nb nb mentioned this pull request Nov 22, 2015
3 tasks
@nb
Copy link
Member Author

nb commented Nov 22, 2015

Hm, breaks some i18n tests, looks like related to the jade upgrade, will investigate.

@nb nb added [Status] Needs Author Reply and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Nov 22, 2015
@lancewillett
Copy link
Contributor

Would be nice to have visual record — what does it look like?

Props @stephanethomas who used it in `calypso-bootstrap`.

Generated by `figlet -c -w 40 "calypso”`.
@nb nb force-pushed the add/html-source-banner branch from e6fef23 to 60dfa0e Compare November 22, 2015 18:38
@nb
Copy link
Member Author

nb commented Nov 22, 2015

@lancewillett:

screen shot 2015-11-22 at 20 36 52

@nb
Copy link
Member Author

nb commented Nov 22, 2015

Also, I had upgraded jed and not jade, which explains why the i18n tests failed… Fixed. Ready for review again.

@nb nb added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. OSS and removed [Status] Needs Author Reply labels Nov 22, 2015
@lancewillett
Copy link
Contributor

Looks good in desktop browsers except Safari — for some reason it gets mangled. This is using the iOS simulator, then viewing source:

screen shot 2015-11-22 at 12 34 51

I don't think that's a blocker, though.

🚢

@lancewillett lancewillett added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Nov 22, 2015
@nb
Copy link
Member Author

nb commented Nov 22, 2015

@lancewillett, click on “Resources” (or Develop → View Page Source). In “Elements” the goal is not to show the source, but some structured interpretation.

nb added a commit that referenced this pull request Nov 22, 2015
Add a small Calypso banner on top of the HTML
@nb nb merged commit 357b9a5 into master Nov 22, 2015
@nb nb deleted the add/html-source-banner branch November 22, 2015 19:43
@lancewillett
Copy link
Contributor

Cool: in desktop Safari it looks fine.

screen shot 2015-11-22 at 12 48 30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants