Skip to content

Conversation

@cjohansen
Copy link

I recently saw your first talk showcasing figwheel, and I really liked the favicon trick you employed on running tests with it. So I found a gist of yours and added the feature to devcards when running tests.

When devcards is running tests, it will keep tabs on all tests currently rendered on the page. If there are any failures, it adds a red favicon, otherwise it adds a green favicon.

When devcards is running tests, display a red favicon when any test on the
current page is failing, and a green one when all currently rendered tests are
passing.
@bhauman
Copy link
Owner

bhauman commented Jun 6, 2018

this is pretty rad, have you tried it in different browsers?

@cjohansen
Copy link
Author

Since you ask, I tried a few more 😁 Seems it doesn't sit well with Safari. I can look into that tomorrow (it's bedtime over here in Norway) and see if I can fix it. Works in Chrome and Firefox on OSX.

@bhauman
Copy link
Owner

bhauman commented Jun 6, 2018 via email

@cjohansen
Copy link
Author

I looked into it some more. It appears Safari doesn't do favicons on tabs at all, only for pinned tabs. For some reason, these favicons don't display even on pinned tabs in Safari. Honestly, I don't use Safari that actively for development, and thus am not super motivated to figure it out. Maybe Firefox and Chrome (and Brave, btw) can be a good start, and then Safari favicons can be an improvement up for grabs? :)

@bhauman
Copy link
Owner

bhauman commented Jun 24, 2018

I'm still planning on merging this, I just need to kick the tires a bit.

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.

2 participants