Closed Bug 1111686 Opened 10 years ago Closed 10 years ago

Re-add Web App manifest to main Discourse

Categories

(Infrastructure & Operations :: Community IT: Discourse, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yousef, Unassigned)

References

Details

We removed the web app manifest for Discourse back when we had docker issues, but we should put it back in now.
Depends on: 1111684
OS: Linux → All
Hardware: x86_64 → All
Whiteboard: [update]
It exists, we just have to change the nginx config to serve it as a webapp manifest. https://discourse.mozilla-community.org/manifest.webapp
Whiteboard: [update] → [maintenance]
Also, let's serve images from CloudFront instead of our own container, that way it's one less thing we need to check each time we deploy.
The results of the Firefox Marketplace manifest validator should be useful: https://marketplace.firefox.com/developers/upload/9975eb6c51274e868076c7afeb90a9fa It looks like it's just the 404ing images and the nonproper serving of the manifest.
Also, if we want chrome to appear in the app (so users can use a back button), we'll want to add this to the manifest: "chrome": { "navigation": true }
(In reply to Leo McArdle [:leo] from comment #5) > Also, if we want chrome to appear in the app (so users can use a back > button), we'll want to add this to the manifest: > > "chrome": { "navigation": true } Added the above to the manifest: https://github.com/Mozilla-cIT/discourse-mozilla-extras/blob/master/public/manifest.webapp
Whiteboard: [maintenance] → [maintenance 14/05/2015]
(In reply to Tanner Filip [:tanner] from comment #7) > Done on staging. > > The following block should be added to app.yml: > > - exec: > cd: $home/public > cmd: > - wget > https://raw.githubusercontent.com/Mozilla-cIT/discourse-mozilla-extras/ > master/public/manifest.webapp > - exec: > cd: $home/public/images > - wget > https://raw.githubusercontent.com/Mozilla-cIT/discourse-mozilla-extras/ > master/public/images/icon-128v2.png > - wget > https://raw.githubusercontent.com/Mozilla-cIT/discourse-mozilla-extras/ > master/public/images/icon-90.png > - wget > https://raw.githubusercontent.com/Mozilla-cIT/discourse-mozilla-extras/ > master/public/images/icon-60.png > - wget > https://raw.githubusercontent.com/Mozilla-cIT/discourse-mozilla-extras/ > master/public/images/icon-32.png > - exec: sed -i "s/types {/types {\n application\/x-web-app-manifest+json > webapp\;/" /etc/nginx/conf.d/discourse.conf To the bottom. Add it to the bottom of app.yml
This is working again on our end, just waiting for marketplace review
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [maintenance 14/05/2015]
You need to log in before you can comment on or make changes to this bug.