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 app shortcuts #15234

Merged
merged 4 commits into from Dec 15, 2020
Merged

Add app shortcuts #15234

merged 4 commits into from Dec 15, 2020

Conversation

mkljczk
Copy link
Contributor

@mkljczk mkljczk commented Nov 29, 2020

Add app shortcuts

This PR adds four app shortcuts to Mastodon web app manifest – manifest.json.

3a764b0ccd822b7c

Each icon is a 192x192 png file with a circle (#eff3f5 [<body /> background color] for background and $ui-highlight-color from mastodon-light for foreground) with a fa-4.7.0 icon for a corresponding action. The png files are optimized.

Right now app shortcuts only seem to work on Android and Windows (Chromium/Edge) as of this article

yes i'm using comic sans as a system font

Signed-off-by: mkljczk <me@mkljczk.pl>
Signed-off-by: mkljczk <me@mkljczk.pl>
@Gargron
Copy link
Member

Gargron commented Dec 7, 2020

I think the shortcuts should be for "New toot", "Notifications", and "Direct messages"... Maybe Profile? Doesn't make a lot of sense to focus on local timeline and profile directory in shortcuts.

Signed-off-by: mkljczk <me@mkljczk.pl>
@mkljczk
Copy link
Contributor Author

mkljczk commented Dec 7, 2020

Changed to

  • New toot
  • Notifictations
  • Direct messages

Not sure about an url that redirects to current profile, so there are just three now (Chrome on Android shows up to 4 of them)

Signed-off-by: mkljczk <me@mkljczk.pl>
@Gargron Gargron merged commit 9342705 into mastodon:master Dec 15, 2020
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.

None yet

3 participants