-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow customization of the dhis2 app icon (#265)
* feat: allow customization of the dhis2 app icon * docs: don't specify what the default icon will be
- Loading branch information
Showing
9 changed files
with
65 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
version: 1 | ||
|
||
update_configs: | ||
- package_manager: "javascript" | ||
directory: "/" | ||
update_schedule: "weekly" | ||
version_requirement_updates: "increase_versions_if_necessary" | ||
- package_manager: "javascript" | ||
directory: "/examples/simple-app" | ||
update_schedule: "weekly" | ||
version_requirement_updates: "increase_versions_if_necessary" | ||
- package_manager: 'javascript' | ||
directory: '/' | ||
update_schedule: 'weekly' | ||
version_requirement_updates: 'increase_versions_if_necessary' | ||
- package_manager: 'javascript' | ||
directory: '/examples/simple-app' | ||
update_schedule: 'weekly' | ||
version_requirement_updates: 'increase_versions_if_necessary' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
language: node_js | ||
node_js: | ||
- lts/* | ||
- lts/* | ||
script: | ||
- yarn build | ||
- yarn build | ||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: | ||
- npx @dhis2/cli utils release --publish npm | ||
on: | ||
tags: false | ||
branch: master | ||
- provider: script | ||
skip_cleanup: true | ||
script: | ||
- npx @dhis2/cli utils release --publish npm | ||
on: | ||
tags: false | ||
branch: master | ||
env: | ||
global: | ||
- GIT_AUTHOR_NAME=@dhis2-bot | ||
- [email protected] | ||
- GIT_COMMITTER_NAME=@dhis2-bot | ||
- [email protected] | ||
- secure: NqFcKQzLDz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KXklphx6Ff9l76ymz4ldycE4wS2wL7DluGuMWybZSwxPZeiNBo22LuT38ocY4QZjzbsx4Zs/opRnOrWHavpJJtcGiGSv6QYdgEivQmIf9ZaQPgrL2iffPR6dDY6HpesP4AMYUFWzwY6WJDBOkerstU/ywRupx5Si97edGbOrAJf37vPQcnvzG+ULp2c2uomjU8ZbHkN099LOo5fBxtlTZghWDJBpRSzgDtc3tF+GonoareOnLiZ+0H2TymK39gmb0crC/Iw0Zkd/KtNjmho6ARk= | ||
global: | ||
- GIT_AUTHOR_NAME=@dhis2-bot | ||
- [email protected] | ||
- GIT_COMMITTER_NAME=@dhis2-bot | ||
- [email protected] | ||
- secure: NqFcKQzLDz7TOwEjjnMJ3YpLvZ8bK79F+a33S/Mi/k9y5Ocs1wmLLdsiROK3MjzGzuF9c6lLFbCQqrluGkSjVZfWpRVAWWNlzCdL62RYR49koxr5f7k0d5CHHYK//+/i9TKklVLc6JX454flp6swRqGsibkpbq6MetnQLjtqknex4pLKNvEEr7LZnnUjA/5xm3p1W04zyvnvpZi5yyrrc7Wycc/O76doqZ4YFs1wBg92z14T37lqERc24c7rJZN4KFwVNeDOEczemm71nLv1fmDdsHNO1d3ERhCAy0ihPhZRyjtx5f18H4XYZzh48UZvDkozoAlFyE4rDQ2F9AguPbysNXTgTFoEPEsuVcZ55rwY57hBmX3wAa/KINX4WzVxtsnOkEKXkiDAEtdKQmk0Amrpa8A4AABiWXA9ZRLuDyDmob0O4Cx/VpLTKpkHwFGxQzhtNfr8vQsmAlYXg3wFQbLZGJX+fp7NdvMlczfq12SlNFea/BcAJoGGc9NlTq/tCDksA8T6SZsZ0we97Y0sM896cG044WC86bZJ7leXFTjDitTnc+vg0LPpPcH2INHvSPQubGk/Um1qxtrzi1IDHqgHa3MUZcsfcTZl1w61Lo2FC2OBD1nHwieS4vTYAXJtjjCYQcuiQejH9LMYaaKjEfYnaQE1xZ94J3t/s8GC1UM= | ||
- secure: HHKfk5sD8g4ETCkUC225gG/kOvgqD6JSHkYuhQuCQ1AVNUF0V1QD6mL6hJ5Gp6ikscyUpZenbnIPkQ4iHL4VfywAb3bs4jEJMTlGHNDkVSAD2v4pJUeGcdiqC+lbmrWpQM8oigwigl5AGh/Or5Om3QfpOZJLfNcYVYhQH729xYZFFLDFYp3H+FI9wVcLhD0luh9itCXxoNIclPiyb3aiUBJqfd4rQEXC3LKnfWbuHJ4CttI44t+kEaYdlWf75IpWsug/+J88yK80vNF1wpf5u/CIvYbBsuP1/k3NClvyqCl+LCUuu4Xsiu2n4SL+R43zHhi2ekftGOBXqMfd9axifczAZG75sC7dmiQW0YDtN/2tBAWJ4LVfX+/cWzW7UfPY2VfN2/6sg3guQVXr1CsMKXklphx6Ff9l76ymz4ldycE4wS2wL7DluGuMWybZSwxPZeiNBo22LuT38ocY4QZjzbsx4Zs/opRnOrWHavpJJtcGiGSv6QYdgEivQmIf9ZaQPgrL2iffPR6dDY6HpesP4AMYUFWzwY6WJDBOkerstU/ywRupx5Si97edGbOrAJf37vPQcnvzG+ULp2c2uomjU8ZbHkN099LOo5fBxtlTZghWDJBpRSzgDtc3tF+GonoareOnLiZ+0H2TymK39gmb0crC/Iw0Zkd/KtNjmho6ARk= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# App Icon | ||
|
||
The App Icon should allow a user to quickly and uniquely identify your application. It will appear in the DHIS2 App Hub and in the list of available applications in the Headerbar of a running DHIS2 instance. | ||
|
||
## Specifying a Custom App Icon | ||
|
||
To specify a custom App Icon, place the relevant file in the `public` directory and name it `dhis2-app-icon.png`. It must be in PNG format, and should include a transparent background. The recommended size of this image is 48x48 pixels. When no `public/dhis2-app-icon.png` is provided, a default icon will be used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1143,8 +1143,8 @@ | |
resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-10.1.0.tgz#f0950bba18819512d42f7197e56c518aa491cf18" | ||
integrity sha512-ij4wRiunFfaJxjB0BdrYHIH8FxBJpOwNPhhAcunlmPdXudL1WQV1qoP9un6JsEBAgQH+7UXyyjh0g7jTxXK6tg== | ||
|
||
"@dhis2/[email protected].1", "@dhis2/app-adapter@file:../../adapter": | ||
version "3.1.1" | ||
"@dhis2/[email protected].3", "@dhis2/app-adapter@file:../../adapter": | ||
version "3.1.3" | ||
dependencies: | ||
"@dhis2/ui-widgets" "^2.0.4" | ||
moment "^2.24.0" | ||
|
@@ -1154,10 +1154,10 @@ | |
resolved "https://registry.yarnpkg.com/@dhis2/app-runtime/-/app-runtime-2.0.4.tgz#9ae202fef3313094aef33a3e38d2c6c5d799c808" | ||
integrity sha512-w5+C/fHSsuF0am5Tpvz53+tigEZzfz9ahkjXH3BiWxGVxwZGtdHjWfso1T5bJRiKhDTgf76TxIsQiC11W20WyA== | ||
|
||
"@dhis2/[email protected].1", "@dhis2/app-shell@file:../../shell": | ||
version "3.1.1" | ||
"@dhis2/[email protected].3", "@dhis2/app-shell@file:../../shell": | ||
version "3.1.3" | ||
dependencies: | ||
"@dhis2/app-adapter" "3.1.1" | ||
"@dhis2/app-adapter" "3.1.3" | ||
"@dhis2/app-runtime" "^2.0.4" | ||
"@dhis2/d2-i18n" "^1.0.5" | ||
"@dhis2/ui-core" "^4.6.1" | ||
|
@@ -1173,7 +1173,7 @@ | |
typescript "^3.6.3" | ||
|
||
"@dhis2/cli-app-scripts@file:../../cli": | ||
version "3.1.1" | ||
version "3.1.3" | ||
dependencies: | ||
"@babel/core" "^7.6.2" | ||
"@babel/plugin-proposal-class-properties" "^7.8.3" | ||
|
@@ -1186,7 +1186,7 @@ | |
"@babel/preset-env" "^7.6.2" | ||
"@babel/preset-react" "^7.0.0" | ||
"@babel/preset-typescript" "^7.6.0" | ||
"@dhis2/app-shell" "3.1.1" | ||
"@dhis2/app-shell" "3.1.3" | ||
"@dhis2/cli-helpers-engine" "^1.5.0" | ||
archiver "^3.1.1" | ||
babel-jest "^24.9.0" | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.