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 web app manifest so you can add Piwik icon to the launcher in Mobile devices #10214

Closed
tsteur opened this issue Jun 6, 2016 · 3 comments
Assignees
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone

Comments

@tsteur
Copy link
Member

tsteur commented Jun 6, 2016

See eg https://developers.google.com/web/updates/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-Android?hl=en

  • This will show the specified icon and name when adding it to the home screen.

homescreen

  • It will show a splash screen while loading Piwik initially:

screenshot_2016-06-06-08-33-58

  • It will launch the browser without header so you can actually see more of the content.

Example definition:

{
  "short_name": "Piwik",
  "name": "Piwik - Open Source Analytics",
  "icons": [
    {
      "src": "../images/favicon.png",
      "sizes": "32x32",
      "type": "image/png"
    }
  ],
  "start_url": "../../../",
  "display": "standalone",
  "orientation": "portrait"
}

We could change some colors but not needed for now I'd say. Specifying a web app manifest theme color might be useful later.

@mattab can you send me the favicon in a higher resolution? Eg up to 192x192

We should not add manifest if a custom logo is specified.

@tsteur tsteur added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. labels Jun 6, 2016
@tsteur tsteur added this to the 3.0.0-b1 milestone Jun 6, 2016
@tsteur tsteur self-assigned this Jun 6, 2016
@mattab
Copy link
Member

mattab commented Jul 7, 2016

That's again something new and great.

Here is the large res favicon, freshly created from the SVG logo:

favicon-large

Looking forward to using our Piwik web app as if it was a mobile app!

@mattab
Copy link
Member

mattab commented Jul 15, 2016

hoping @tsteur we could maybe get this done in LTS? it is an awesome feature 😮

@mattab mattab modified the milestones: 2.16.2, 3.0.0-b1 Jul 15, 2016
@tsteur
Copy link
Member Author

tsteur commented Jul 17, 2016

done. Although I think it's not as relevant for 2.X as it is not as good on mobile anyway :)

We could later add some more favicon metadata for iOS devices etc but this issue should be closed once the PR is merged

@mattab mattab changed the title Add a web app manifest Add a web app manifest so you can add Piwik icon to the launcher in Mobile devices Aug 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants