-
Notifications
You must be signed in to change notification settings - Fork 6
BHoM_UI: Add log output to the adapter actions #311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @pawelbaran , very useful discussion. Adding a We can surely propose an additional
Now my answers to these points:
So, all in all, I think that maybe we could consider another system, instead of another |
Thanks @alelom for the detailed reply, in general I agree with everything you wrote. I let myself answer your points, more as a food for thought than anything else:
Yeah, that is a very valid point that the number of warnings/errors is often too large. However, that is usually caused by the adapters capturing various bits and pieces, which might or might not be relevant to the user - hard to decide what to hide and what to show. On top of that, often the messages are duplicated because each of them contains the identifier of failing object. Something that ofc should be improved in each adapter, but the more help would come from the central repos the better. A log could be a simple (yet crowbar-like) measure to allow post-processing the captured messages. In other words, I would not push the log as an ultimate solution, but some more freedom in shaping the final form of the messages would be nice.
Yeah, I thought about that. Another alternative would be to make parsing of the
I was also thinking about an |
@alelom @pawelbaran my comments on this issue here are I think relevant also in the general sense of the adaptor actions. Here considering specifically Pull for buffering and asynchronous behaviour - |
Great conversation! So we could extend that functionality by allowing components like We will have to see how well it works for other UIs like Excel though.
We can obviously have both but, in this case, I am not sure we should ? |
Where do we stand on this now that the |
Description:
Currently the adapter actions have 2 outputs:
objects
andsuccess
. In many cases, the latter is not very informative, e.g. is it success if 99% of objects is processed correctly and one fails? Or if one aspect of object processing fails? On top of that, in many cases the number of warnings and errors thrown by the adapter action exceeds 15, leading to them being effectively hidden from the user.I believe that a good way to resolve the above could be adding
log
output that would store the messages recorded during the adapter action in a more user friendly way than the baloon on top of the component - it would also allow logging partial success or formatting of the messages. I am aware that such mechanism could be hard to realize in with the current UI framework, but I believe it would be worth considering at least.Would be good to hear thoughts of others too @al-fisher @rwemay @IsakNaslundBh @FraserGreenroyd
The text was updated successfully, but these errors were encountered: