Skip to content

Conversation

@Kcheung42
Copy link
Collaborator


Purpose

This bug was introduced from the fix to the slope tool. Output were changed from a string to a value when saving it to the application state. This fixed the slope tool's Horizontal distance from incorrectly paring "1,000" into "1". This however meant we need to cast this value back into a string when doing lookup for output discrete values.

Related Issues

Closes BHP1-1497

Submission Checklist

  • Included Jira issue in the PR title (e.g. BHP1-### <title>)
  • Code passes linter rules (clj-kondo --lint components/**/src bases/**/src projects/**/src)
  • Feature(s) work when compiled (clojure -M:compile-cljs)

Testing

  1. Open local app and navigate to "Safe Separation Distance & Safety Zone Size" tool
  2. Input
  • 20-ft Wind Speed Class: Moderate
  • Slope Class: Moderate
  • Burning Condition: Moderate
  • Vegetation Height: 20ft
  1. Ensure Safety Condition is shown: Moderate (with yellow background)

Screenshots

@rjsheperd rjsheperd merged commit 173ec04 into main Jan 13, 2026
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