Codebase for prototype and final version of the smartphone application ClimApp, a project under the European Research Area for Climate Services. The application is available for iOS and Android in App Stroe and Google Play respectively.
[x] All functionality is added in index.js would be better to split the different concerns to make it easier to change later.
[x] Add platform folder to .gitignore file -- not needed to include with every commit as or build will be individual base on platform. Will only pollute the codebase. (i recommmend following this guide after adding cordova/climapp/platforms* to .gitignore.
[x] Add node_modules to .gitignore all modules are kept track of in package.json and it is better not to pollute the branch with this large amount of data.
[ ] Add the old Android content Github/ClimApp/ClimApp to ´.gitignore` (minimize code in repository + cleaning up) currently not prioritized, not code-related
[x] How do we handle situations without internet connection? (to ensure a good user experience)
[x] It would be nice to actually show the option chosen for unit of measurement on the settings page -- this makes it more intuitive and shows that the correct setting has taken effect.
[x] Timeout for updating location of 30s? Decrease timeout, will result in a bad user experience?
[x] Add color to navigation bar. Makes it easier to distinguish content and fixed displays.
[x] Use https rather that http for climapp database on DTU. (Henriette working with DTU IT to get it fixed)
Traffic on 443 opened (Henriette need to migrate all logic)
[x] Handle situation where location response is {} otherwise the dashboard will just not update. Give some response about trying to update/just do an update.
List of suggestions:
index.js
would be better to split the different concerns to make it easier to change later.platform
folder to.gitignore
file -- not needed to include with every commit as or build will be individual base on platform. Will only pollute the codebase. (i recommmend following this guide after addingcordova/climapp/platforms*
to.gitignore
.node_modules
to.gitignore
all modules are kept track of inpackage.json
and it is better not to pollute the branch with this large amount of data.Github/ClimApp/ClimApp
to ´.gitignore` (minimize code in repository + cleaning up) currently not prioritized, not code-relatedunit of measurement
on the settings page -- this makes it more intuitive and shows that the correct setting has taken effect.{}
otherwise the dashboard will just not update. Give some response about trying to update/just do an update.