bcgov / bcgov/wps

Unable to toggle area ready without making an edit

Open
#2,109 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Describe the Bug**
A user should be able to toggle a station ready with the default state (fire starts, fuel type, selected stations) but currently only edited areas in a prep period can be toggled.

**Expected Behaviour**
An area in any state can be toggled as ready

**Actual Behaviour**
Only areas that users have edited (fire starts, (de)selected stations, fuel types) can be toggled

** Steps To Reproduce**
Steps to reproduce the behaviour:
1. Select a date range without a prep period (no edits have been made)
2. See that toggles are disabled

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by selecting a date range without a prep period, then trace the frontend area-ready toggle from the disabled control. Done means an area with default fire starts, fuel type, and selected stations can be toggled ready without prior edits.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
frontend
Issue type
Bug
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.