-
Notifications
You must be signed in to change notification settings - Fork 0
FREYA-1693: Add multi-disease serology dashboard #27
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
base: main
Are you sure you want to change the base?
Conversation
- Add new entry in `dashboards/index.html` - Add new url in `dashboards/urls.py`
To future proof the dashboards views and avoid clutter, it's better to organise them within a views package. They are individually imported in `__init__.py` to provide a single generic import endpoint to the `urls.py` module.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only had a quick view since something might change after our meeting. Mainly requesting changes at the moment to exclude format fixes in citation
and data-management
pages (apps).
I also noticed there were pagination for tables at the moment, maybe you left it out to be fixed later along with the styles (?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Work!
Few thoughts added as comments in review.
Most files are missing google style docstrings that should be fixed before merge.
pages/dashboards/templates/dashboards/multidisease_serology.html
Outdated
Show resolved
Hide resolved
pages/dashboards/templates/dashboards/multidisease_serology.html
Outdated
Show resolved
Hide resolved
e916013
to
17686a5
Compare
Done addressing your comments! Hopefully I didn't forget anything, otherwise let me know :) |
17686a5
to
324e7f5
Compare
Removed hyphenation changes as per #27 (comment) |
📋 Summary
This PR adds the multi-disease serology dashboard and switch the dashboard app to a views package pattern for future proofing.
Although the implementation works for now, its current state is temporary as it will be partly reworked in the future when we will have a proper data storage solution,
Celery
for async jobs andhtmx
for front-end interactivity.🛠️ Changes Made
multidisease_serology
viewbase.css
🔍 Notes for Reviewers
Just ensure that the multi-disease serology dashboard looks ok at
http://localhost:8000/dashboards/multidisease-serology/
.The tables will be improved once we have
htmx
.✅ Checklist
FREYA-XXXX: Clear and short description
🔗 Jira Issue
Closes: FREYA-1693