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

fetch and save recent relevant MP written answers #609

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

struan
Copy link
Member

@struan struan commented Sep 17, 2024

This fetches yesterday's wrans XML from TheyWorkForYou and parses out relevant questions, defined by department, and updates this list for the MP to include the last three questions.

Screenshot 2024-09-18 at 12 10 32

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.34%. Comparing base (558fe46) to head (1ca5bd4).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #609   +/-   ##
=======================================
  Coverage   79.34%   79.34%           
=======================================
  Files         115      115           
  Lines        3892     3892           
  Branches      403      403           
=======================================
  Hits         3088     3088           
  Misses        705      705           
  Partials       99       99           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This fetches yesterday's wrans XML from TheyWorkForYou and parses out
relevant questions, defined by department, and updates this list for the
MP to include the last three questions.
@struan struan requested a review from zarino September 18, 2024 10:11
@struan struan marked this pull request as ready for review September 18, 2024 10:11
Copy link
Member

@zarino zarino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way we display this on the area page probably needs some tweaking (to avoid the three-column layout, for example, and to better explain what a Written Question is) but this is a good enough start!

@struan struan merged commit 92a04d9 into main Sep 18, 2024
5 checks passed
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.

2 participants