Skip to content

Separate quick actions messages into separate alerts

Currently, when a comment is "command-only" we show success and error messages combined into one alert. For example, if I create the following note with quick actions:

/close
/assign @root
/assign @nonexistentuser

I would get:

Screen_Shot_2020-04-07_at_10.06.30_PM

Proposed design

Combined inline Combined stacked Separated stacked
Uses less real estate but combined iconography could be a little weird. Not sure if blue would be the best color choice either to be the "neutral" in a pass & fail combo message. Takes up more real estate and feels kinda heavy on the icons, but possibly easier to scan than the inline approach. Stacking the two separate messages using their appropriate styles as defined in Pajamas. Seems the clearest but takes up more space.
combined-inline combined-stacked separated-stacked

We might also want to consider showing these for notes that are not "commands-only".