bcgov / bcgov/wps

Fire Behaviour Calculator (old): default table ordering: wx alphabetized ascending, grouped by zone ascending

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

Description

**As a** *FBAN* **I want** *the FireBAT table to load with Wx in alphabetical order (starting with A), grouped by zone (starting with 1)* **So That** *the FireBAT table matches how I work (FBA templates, existing spreadsheets)*

**Additional Context**
- Update caused tester some pain ** workflows are diverse - this is low priority
- As an FBAN, when I load [this bookmark](https://psu.nrs.gov.bc.ca/fire-behaviour-calculator?s=239&f=c7&c=NaN&w=NaN,s=266&f=c5&c=NaN&w=NaN,s=305&f=c7&c=NaN&w=NaN,s=322&f=o1b&c=90&w=NaN,s=1082&f=c3&c=NaN&w=NaN,s=1108&f=c5&c=NaN&w=NaN,s=280&f=c7&c=NaN&w=NaN,s=306&f=c7&c=NaN&w=NaN,s=309&f=c7&c=NaN&w=NaN,s=1029&f=c7&c=NaN&w=NaN,s=1055&f=c7&c=NaN&w=NaN,s=836&f=c7&c=NaN&w=NaN,s=1399&f=c7&c=NaN&w=NaN,s=328&f=c7&c=NaN&w=NaN,s=334&f=c7&c=NaN&w=NaN,s=286&f=c7&c=NaN&w=NaN,s=298&f=c7&c=NaN&w=NaN,s=344&f=c5&c=NaN&w=NaN,s=346&f=c7&c=NaN&w=NaN,s=388&f=c7&c=NaN&w=NaN), I'd like to see:
K2 (Wx alpha), K4 (Wx alpha), K5 (Wx, alpha), K6 (Wx, alpha), K7 (Wx, alpha)
- some FCs (e.g. Prince George) copy and paste our data into a spreadsheet, filter for HFIs crossing thresholds, and export that filtered data as their FBA - their template relies on our data being in a certain order by default (the sorting columns launch changed their default table order). Because multiple people rotate in and out of the FBA task, the chance for human error is increased if people have to remember to re-sort the table before copy-pasting
- additionally, rows with errors (that don't have a zone code) cause issues when copy/pasting data into excel - the station is no longer in 'order' or included in that zone
- DECISION NEEDED: if dual filter by default is too tricky, prioritize Zone ascending. TG collecting more testing feedback

**Acceptance Criteria**
- [ ] Given I am using FireBAT, When I load a bookmarked list of stations, Then the list loads with Wx in alphabetical order (starting with A), grouped by zone (starting with 1)
- [ ] Given I am using FireBAT, When a weather station has an 'Error' status, Then the zone code displays so that the default sort order is maintained (and this list continues to match other documents)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the FireBAT bookmarked station-list load and inspecting the table's default sorting behavior. Confirm how Error-status weather stations are represented, then consider the acceptance criteria met when Wx is alphabetized within ascending zones and Error rows retain their zone code.

Written by the indexing model from the issue text.

Assessment

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.