At the moment, App::_handleMessageDialog takes the arguments title<String>, message<String>, and details<String>. api.py is formatting a list of errors into a single string by joining each with two newline characters.
Both message and details should accept arrays and in some way format it so that each error can be easily distinguished from one another. Currently it gets very confusing when there are multiple errors of substantially different length and some have details and some don't. Also, this would allow for both errors and warnings.
A possibility is that since the Message modal is already using react-tabs, we could add a second react-tabs as a parent that would be error tabs.
At the moment,
App::_handleMessageDialog
takes the argumentstitle<String>
,message<String>
, anddetails<String>
. api.py is formatting a list of errors into a single string by joining each with two newline characters.Both
message
anddetails
should accept arrays and in some way format it so that each error can be easily distinguished from one another. Currently it gets very confusing when there are multiple errors of substantially different length and some have details and some don't. Also, this would allow for both errors and warnings.A possibility is that since the Message modal is already using react-tabs, we could add a second react-tabs as a parent that would be error tabs.