ORNL-AMO / AMO-Tools-Desktop

AMO-Tools-Desktop is an energy efficiency calculation application for use with industrial equipment such as pumps, furnaces, fans, and motors, as well as for industrial systems such as steam. Currently in beta.
Other
39 stars 21 forks source link

Add update-units-modal and warning to system basics in fsat, psat, ssmt #4302

Closed nbintertech closed 3 years ago

nbintertech commented 3 years ago

When units of measure are changed in assessment system-basics tab we should see a confirmation popup (update-units-modal) and a warning message. this will replace the existing warning below.

This already exists for PHAST and should implemented the same way in FSAT, PSAT, and SSMT.

In project see files:

Existing warning message replace message.png

New message and Modal below new message.png

changeunits.png

update-units modal.png

nbintertech commented 3 years ago

Need to add modal to treasure hunt as well

koay9f commented 3 years ago

The yellow/green message box works, but the modal doesn't pop up. (It also no longer pops up for Process Heating, which it did when I tested the PH one earlier today...)

Also, I think unit conversion is not currently implemented for treasure hunt, so it probably needs a special modal for now (something like "At this time MEASUR cannot convert the data fields for an in progress Treasure Hunt"