bcgov / bcgov/wps

HFI Calculator: Usability - don't display success toast (changes saved) if no changes made

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

Description

**Describe the task**
Presently if I visit the HFI Calculator and click on a fire start dropdown with a default 0-1 fire starts value, open the dropdown, then click away, the page reloads and I get a 'changes saved' success toast. But nothing changed.
Users rely on this feature to verify something was changed - it is confusing if no values were modified (defeats purpose / dilutes impact).

**Acceptance Criteria**
- [ ] a success toast only displays if a value was changed for all inputs: fuel, starts

**Additional context**
- Add any other context about the task here.
- Or here

Contributor guide

Open the contributing guide

Research direction

Start in the HFI Calculator flow and reproduce the fire-start dropdown interaction described in the issue. Trace how fuel and starts inputs determine whether the page reloads and the success toast appears. Done means the toast appears only when a fuel or starts value actually changes, including when dismissing an unchanged dropdown.

Written by the indexing model from the issue text.

Assessment

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.