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

feat: allow customization of the dhis2 app icon #265

Merged
merged 4 commits into from
Jan 16, 2020
Merged

Conversation

amcgee
Copy link
Member

@amcgee amcgee commented Jan 15, 2020

There are certainly more versatile ways to do this, but this seems like a preetty simple fix for the moment. I'm very open to counter-suggestions (specifying any file in d2.config.js, for instance) or recommendations on another filename (currently public/dhis2-app-icon.png). We could also not provide a default and require that the app developer specifies one, but that seems harsh for the moment.

For now the favorite icon will remain the DHIS2 logo (though undocumented, this can also be overridden in the same way, you just have to do it for a lot of different file sizes).

Fixes #212

@amcgee amcgee requested review from varl and a team January 15, 2020 16:18
docs/usage/app-icon.md Outdated Show resolved Hide resolved
Copy link
Contributor

@varl varl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good enough for now. I think having a fallback icon for the app is also "nice".

My only comment is that we should provide a "generic" app icon (@cooper-joe) instead of the DHIS2 logo, but that can go in the next iteration to avoid blocking this feature.

@amcgee
Copy link
Member Author

amcgee commented Jan 16, 2020

@varl definitely agree, cheers!

@amcgee amcgee merged commit 86f1cd7 into master Jan 16, 2020
@amcgee amcgee deleted the feat/custom-icon branch January 16, 2020 10:31
dhis2-bot added a commit that referenced this pull request Jan 16, 2020
# [3.2.0](v3.1.4...v3.2.0) (2020-01-16)

### Features

* allow customization of the dhis2 app icon ([#265](#265)) ([86f1cd7](86f1cd7))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Support custom app icons
3 participants