Skip to content

Conversation

Ziip-dev
Copy link
Member

@Ziip-dev Ziip-dev commented Oct 8, 2025

📋 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 and htmx for front-end interactivity.

🛠️ Changes Made

  • add new dashboard paths
  • add new template file
  • create temp util for blobserver
  • switch to views package pattern
  • add multidisease_serology view
  • minor tweaks to input base.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

  • PR title follows the pattern: FREYA-XXXX: Clear and short description
  • Jira / Github issue is linked in description
  • Assignee is selected
  • Automated checks pass
  • Reviewer is selected when the PR is marked as ready for review

🔗 Jira Issue

Closes: FREYA-1693

- 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.
@Ziip-dev Ziip-dev self-assigned this Oct 8, 2025
@Ziip-dev Ziip-dev marked this pull request as ready for review October 8, 2025 14:46
@Ziip-dev Ziip-dev requested a review from a team as a code owner October 8, 2025 14:46
Copy link
Contributor

@senthil10 senthil10 left a 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 (?)

Copy link
Contributor

@misterabdullahAziz misterabdullahAziz left a 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.

@Ziip-dev Ziip-dev force-pushed the FREYA-1693/Paul/dashboard-serology branch 2 times, most recently from e916013 to 17686a5 Compare October 14, 2025 13:49
@Ziip-dev
Copy link
Member Author

Done addressing your comments! Hopefully I didn't forget anything, otherwise let me know :)

@Ziip-dev Ziip-dev force-pushed the FREYA-1693/Paul/dashboard-serology branch from 17686a5 to 324e7f5 Compare October 15, 2025 14:16
@Ziip-dev
Copy link
Member Author

Removed hyphenation changes as per #27 (comment)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants