Hide congressional district selection in the report builder
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start with the creation-flow sections named in USGeographicOptions.tsx and PopulationBrowseModal.tsx, then compare the hide-and-re-enable-note pattern from issue #1075. Done means both congressional district choices are hidden only when creating a new report, while existing district-based reports remain viewable and render normally.
Written by the indexing model from the issue text.
Description
Summary
Hide the congressional district option when a user selects a geography for a new report, in both entry points:
- The "All households in a congressional district" radio option in
USGeographicOptions.tsx - The "Congressional districts" browse category in
PopulationBrowseModal.tsx
Constraint
Previously created congressional district-based reports must remain viewable. This is a creation-flow-only change — the report-output path is untouched, so existing district-scoped reports still load and render normally.
Approach
Mirror the pattern used to hide the US place selector (#1075): comment the blocks out with a re-enable note rather than deleting them, so restoring the option is a one-step revert.
- Dominant language
- HTML
- Stars
- 1
- Forks
- 3
- Avg merge
- 1d 50m
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PolicyEngine/policyengine-app-v2
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
PolicyEngine/policyengine-app-v2#1157 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PolicyEngine/policyengine-app-v2#1097 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PolicyEngine/policyengine-app-v2#1083 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
All issues in PolicyEngine/policyengine-app-v2
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
bug ready-for-dev
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100