Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/zone units frontend #3204

Merged
merged 14 commits into from
Nov 1, 2023
Merged

Task/zone units frontend #3204

merged 14 commits into from
Nov 1, 2023

Conversation

conbrad
Copy link
Collaborator

@conbrad conbrad commented Oct 31, 2023

  • Generalizes the concept of FireZone to FireShape throughout the codebase
  • Adds migration for adding fire zone unit shape type
  • Adds migration for calculating fire zone unit combustible area
  • Points frontend layers to the fire zone unit pmtiles files
  • Has SFMS data from September 1 to 7, 2023

Test Links:

Landing Page
MoreCast 2.0
Percentile Calculator
MoreCast
C-Haines
FireBat
FireBat bookmark
Auto Spatial Advisory (ASA)
HFI Calculator

Copy link

codecov bot commented Oct 31, 2023

Codecov Report

Merging #3204 (c850200) into main (b781237) will not change coverage.
The diff coverage is 80.00%.

@@           Coverage Diff           @@
##             main    #3204   +/-   ##
=======================================
  Coverage   82.05%   82.05%           
=======================================
  Files         274      274           
  Lines        9301     9301           
  Branches      413      413           
=======================================
  Hits         7632     7632           
  Misses       1557     1557           
  Partials      112      112           
Files Coverage Δ
api/app/schemas/fba.py 100.00% <100.00%> (ø)
web/src/app/rootReducer.ts 100.00% <100.00%> (ø)
api/app/routers/fba.py 44.61% <50.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@conbrad conbrad requested review from brettedw and dgboss October 31, 2023 23:35
@conbrad conbrad requested a review from dgboss November 1, 2023 17:16
Copy link
Collaborator

@dgboss dgboss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! It looks great to me. Just one minor suggestion if you haven't already done it, consider checking in with Neal regarding the label choice for the zone unit polygons on the map. We're showing things like 'V8-North Island Mid Coast Fire Zone' as a label which seems a little awkward to me.

Oh, and there is one code smell.

Copy link

sonarcloud bot commented Nov 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@brettedw brettedw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Agreed with Darren on the label question for Neal.
One other labelling question I have is the label names between the lower mainland Fraser area and the Haida Gwaii area. I see they're separated advisory wise which is awesome, but wondering if Neal may want them labelled in a different way somehow. Maybe not since those names are probably technically correct

@conbrad conbrad temporarily deployed to production November 1, 2023 18:02 Inactive
"""compute zone unit combustible area

Revision ID: d5115b761e39
Revises: 5b745fe0bd7a
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Revises: 5b745fe0bd7a
Revises: f2e027a47a3f

@conbrad conbrad merged commit 38ec422 into main Nov 1, 2023
28 checks passed
@conbrad conbrad deleted the task/zone-units-frontend branch November 1, 2023 18:15
vanislekahuna pushed a commit to vanislekahuna/wps that referenced this pull request Sep 19, 2024
- Generalizes the concept of `FireZone` to `FireShape` throughout the codebase
- Adds migration for adding fire zone unit shape type
- Adds migration for calculating fire zone unit combustible area
- Points frontend layers to the fire zone unit pmtiles files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants