bcgov / bcgov/wps

HFI Calculator: Collapse planning areas

Open
#1,982 0 comments 0 reactions 0 assignees View on GitHub
User Requested User Story
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**As a** *Plans/R/ZWCO* **I want** *to be able to collapse Planning Areas* **So That** *I can have a more streamlined view / focus on one Zone at a time*

**Additional Context**
- import ExpandCircleDownOutlinedIcon from '@mui/icons-material/ExpandCircleDownOutlined';
- I’m transforming/rotating the icon, this is the only one. We can change this... but this one is my fav
![Expand Planning Area.png](https://images.zenhubusercontent.com/60b527e413189cbf16c31d48/74ac44ae-c1f7-499e-a814-5b21d3c993ed)

**Acceptance Criteria**
- [ ] Given I am using HFI, When I click a collapse icon, Then the weather stations are hidden - only the data in the Planning Area row is visible
- [ ] Given I am using HFI, I can collapse all Planning Areas to only see the summaries
- [ ] Given I am using HFI, I can expand all Planning Areas to see all weather station details

**Definition of Done**
- Ready to Demo in Sprint Review
- Does what I have made have appropriate test coverage?
- Documentation and/or scientific documentation exists and can be found
- Peer Reviewed by 2 people on the team
- Manual testing of all PRs in Dev and Prod
- Merged

Contributor guide

Open the contributing guide

Research direction

Start by locating the HFI Calculator component that renders Planning Areas and weather station details, then inspect existing Material UI icon usage. Implement the collapse and expand-all behavior described in the acceptance criteria, with tests covering hidden station details and restored expanded views.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.