Skip to content

Smoss/scrape ma district pages#2145

Draft
Smoss wants to merge 2 commits into
codeforboston:mainfrom
Smoss:smoss/scrape-ma-district-pages
Draft

Smoss/scrape ma district pages#2145
Smoss wants to merge 2 commits into
codeforboston:mainfrom
Smoss:smoss/scrape-ma-district-pages

Conversation

@Smoss
Copy link
Copy Markdown

@Smoss Smoss commented May 20, 2026

Summary

Checklist

  • On the frontend, I've made my strings translate-able.
  • If I've added shared components, I've added a storybook story.
  • I've made pages responsive and look good on mobile.
  • If I've added new Firestore queries, I've added any new required indexes to firestore.indexes.json (Please do not only create indexes through the Firebase Web UI, even though the error messages may reccommend it - indexes created this way may be obliterated by subsequent deploys)

Screenshots

Add some screenshots highlighting your changes.

Known issues

If you've run against limitations or caveats, include them here. Include follow-up issues as well.

Steps to test/reproduce

For each feature or bug fix, create a step by step list for how a reviewer can test it out. E.g.:

  1. Go to the home page
  2. Click on a testimony
  3. See that it's loaded with a loading spinner

Smoss added 2 commits May 19, 2026 21:54
- Added functions to read district snapshots from files and strip ignored HTML tags.
- Updated `parseSecDistricts` to utilize the new function for cleaning HTML input.
- Introduced tests for parsing SEC snapshots in `parseSecDistricts.test.ts` to ensure correct district counts for Senate and House.
- Modified the scraping script to read HTML from local files if not fetching from the web.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maple-dev Ready Ready Preview, Comment May 20, 2026 2:37am

Request Review

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.

1 participant