aerie-ui icon indicating copy to clipboard operation
aerie-ui copied to clipboard

Activity Warning Log Post Sim

Open Alexander-Da-Great opened this issue 2 years ago • 1 comments

Checked for duplicates

Yes - I've already checked

Alternatives considered

Yes - and alternatives don't suffice

Related problems

No

Describe the feature request

I want a way to communicate a warning to the user from the effect model of an activity without throwing an error. There are situations where the user could simulate an activity which will complete but may not do what they are intending. For instance, a user could place an ECM_Power_On activity when the ecm instrument is already on. This will run, however, nothing will happen and the activity will finish in a matter of milliseconds - potentially confusing without a way to display a warning. Other cases are less obvious and would benefit from some method of logging a warning to the UI from an activity. I was thinking that a warning could be logged alongside a message which displays when hovering over a simulated activity which has logged a warning. Perhaps the activity could be colored to convey that a warning has occurred. A more simple option is having a warning console alongside the error console.

Alexander-Da-Great avatar May 30 '23 23:05 Alexander-Da-Great

#1236 #1363 are both steps towards this feature, but I'll leave this issue open since I think there may be some more UI affordances that can make these warnings more discoverable - e.g. Alex's suggestion here:

I was thinking that a warning could be logged alongside a message which displays when hovering over a simulated activity which has logged a warning

mattdailis avatar Aug 31 '24 00:08 mattdailis