Skip to content

[BHP1-1353] Add Action to set Direction Mode to Heading when Missing#198

Open
Kcheung42 wants to merge 2 commits intomainfrom
kc-BHP1-1353-default-heading-direction
Open

[BHP1-1353] Add Action to set Direction Mode to Heading when Missing#198
Kcheung42 wants to merge 2 commits intomainfrom
kc-BHP1-1353-default-heading-direction

Conversation

@Kcheung42
Copy link
Copy Markdown
Collaborator


Purpose

  1. Refactor action section in VMS to use table entity form and conditional graph
  2. Add migration to add new conditionals for Direction Mode > Heading

Related Issues

Closes BHP1-1353

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 vms and run migration script migrations.2026-03-24-add-conditionals-to-default-heading-if-missing

  2. In VMS, navigate to Surface > Fire Behavior (output) > Direction Mode > Heading

  3. Expand Actions

  4. Notice a new action "Enable if no direction mode is selected and at least one of these outputs are selected".

  5. Click Edit

  6. Notice we're now displaying a conditional graph

  7. Open local app and sync vms

  8. Create a surface worksheet

  9. Select any of these outputs and ensure Heading Direction is automatically selected.

Fire Behavior > Surface - Fire:

Rate of Spread
Fireline Intensity
Flame Length

Size:

Fire Perimeter
Fire Area
Length-to-width Ratio
Spread Distance

Screenshots

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.

1 participant