Closed Bug 1434690 Opened 8 years ago Closed 8 years ago

Use different favicon on staging and development

Categories

(developer.mozilla.org Graveyard :: General, enhancement, P2)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwhitlock, Unassigned)

Details

(Keywords: in-triage, Whiteboard: [points=1])

What did you do? ================ Go to https://stage.mdn.moz.works What happened? ============== The favicon is the same as the one on https://developer.mozilla.org What should have happened? ========================== The favicon should be different. Production (black on blue) - https://github.com/mozilla/kuma/blob/master/kuma/static/img/favicon32.png Staging (yellow on blue) - https://github.com/mozilla/kuma/blob/master/kuma/static/img/favicon32-staging.png Other / Development (red on blue) - https://github.com/mozilla/kuma/blob/master/kuma/static/img/favicon32-local.png Is there anything else we should know? ====================================== In SCL3, this worked based on the machine name in production vs staging. In AWS, instances get more generic names, and this mechanism no longer works, so production got the development icon. This was hard-coded to the production icon in all environments in https://github.com/mozilla/kuma/pull/4530
Keywords: in-triage
Priority: -- → P2
Whiteboard: [specification][type:bug] → [points=1]
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/c9b85db0a6aa2611605aa12aa85d223923f1a920 [Bug 1434690] Use different favicon on staging and development https://github.com/mozilla/kuma/commit/36f126629b9f5d7998af4de037df877e66e533fd Merge pull request #4650 from safwanrahman/favicon [Bug 1434690] Use different favicon on staging and development
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/736f457c04dc554941babf786aa678b90ef95d0a bug 1434690: Redirect favicon.ico to domain PNG The favicon is set in the HTML header, so that production, staging, and local development will get different color icons. This adds the same logic to the redirect for /favicon.ico, which is used when the document is not HTML, like /media/revision.txt. /favicon.ico is also used by older browsers like IE 10, which doesn't support PNG, however we've dropped support for these older browsers. https://github.com/mozilla/kuma/commit/a1e15c114521833da31ad2864d23504c18916217 Merge pull request #4835 from jwhitlock/favicon-1434690 bug 1434690: Use different PNG favicon in prod, staging, and dev
This works on staging, giving me the black dino on yellow, in FF 62: https://developer.allizom.org/media/revision.txt
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.