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

Mobile dashboard interface #1705

Closed
19 tasks done
josh-griffin opened this issue Dec 16, 2019 · 6 comments
Closed
19 tasks done

Mobile dashboard interface #1705

josh-griffin opened this issue Dec 16, 2019 · 6 comments
Labels
Epic A discussion and/or parent issue for module/feature design

Comments

@josh-griffin
Copy link
Contributor

josh-griffin commented Dec 16, 2019

Description

@andreievg @mark-prins @diegoevangelisti @sworup @Chris-Petty

Continuation/rewrite of the Mobile dashboard interface started in 2018.

Context

Ivory Coast require reporting in mobile. Other countries are interested in mobile having a dashboard in mobile. Win win!

Resources

Design discussion

Interface

MobileDashboard-2019-12-05 at 4 44 45 PM

Backend

  • The reports are generated on the primary which are reports from the "old" dashboard here and here
  • The discussion on the desktop backend is here

Mobile side

  • Mobile will be receiving reports via JSON which are precalculated.
  • Mobile will store these records as a Report record.

image

  • Where data is the report stringified JSON for a report

Implementation

@josh-griffin josh-griffin added the Epic A discussion and/or parent issue for module/feature design label Dec 16, 2019
@josh-griffin josh-griffin pinned this issue Dec 16, 2019
@diegoevangelisti
Copy link
Contributor

diegoevangelisti commented Dec 17, 2019

Great job @joshxg, thanks for that. I will start working on this right now, issues from top to bottom.

@andreievg
Copy link
Contributor

@diegoevangelisti, this is the widget that was used in vaccine module, might get some inspiration from it: https://github.com/openmsupply/mobile/blob/vaccine-development/src/widgets/VaccineChart.js

@diegoevangelisti
Copy link
Contributor

@diegoevangelisti, this is the widget that was used in vaccine module, might get some inspiration from it: https://github.com/openmsupply/mobile/blob/vaccine-development/src/widgets/VaccineChart.js

Thanks, pretty useful indeed!

@josh-griffin
Copy link
Contributor Author

Thanks @diegoevangelisti

#1924 is merged.

Going to keep this open as we do still need:

  1. Test cases
  2. Documentation (See desktop draft docs here: https://docs.msupply.org.nz/playground:2020-01_sworup_dashboard )
  3. Remove the test data file

@diegoevangelisti
Copy link
Contributor

This is all good news. Thanks to you @joshxg!

@josh-griffin
Copy link
Contributor Author

Fantastic! Thanks @diegoevangelisti this has been merged and released

@josh-griffin josh-griffin unpinned this issue Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic A discussion and/or parent issue for module/feature design
Projects
None yet
Development

No branches or pull requests

3 participants