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

[Dashboard] Implements initial markup for dashboard #421

Merged
merged 51 commits into from
Dec 8, 2024

Conversation

anchit-chandran
Copy link
Contributor

@anchit-chandran anchit-chandran commented Dec 6, 2024

Signed-off-by: anchit-chandran anchit97123@gmail.com

Overview

image
  • implements the initial frontend markup for the dashboard, wiring up a few of the basic things from the view
  • @eatyourpeas, commented out the maps view code as couldn't get it to work for some reason (was getting a "cant resolve "submission" into field" error map.py::49) - would you be able to integrate this again? Relevant parts are in dashboard.py (view) and imd_map_card.html (template)
  • NOTE: I'm going to implement the waffle charts with javascript as I think plotly just getting in the way for it

Code changes

  • move dashboard view logic into own file
  • adds components for dashboard with react-style structuring
  • patient-level menu tab at bottom working thanks to beautiful htmx magic

other:

  • adds emmet to django html files in settings.json
  • auto run watch:css for tailwind when running s/up-debug

Documentation changes (done or required as a result of this PR)

nil

Related Issues

https://github.com/orgs/rcpch/projects/13?pane=issue&itemId=89491974&issue=rcpch%7Cnational-paediatric-diabetes-audit%7C414

Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
…ier to do this raw javascript

Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
@anchit-chandran anchit-chandran marked this pull request as ready for review December 6, 2024 09:44
eatyourpeas and others added 22 commits December 7, 2024 07:27
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
…point

Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
Signed-off-by: anchit-chandran <anchit97123@gmail.com>
…process interaction

Signed-off-by: anchit-chandran <anchit97123@gmail.com>
@anchit-chandran anchit-chandran merged commit 1cc5205 into live Dec 8, 2024
1 check passed
@anchit-chandran anchit-chandran deleted the anchit/dashboard branch December 8, 2024 14:22
@mbarton
Copy link
Member

mbarton commented Dec 8, 2024

Seen on STAGING (merged by @anchit-chandran 6 minutes and 33 seconds ago) Please check your changes!

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

Successfully merging this pull request may close these issues.

3 participants