BHoM / BHoM/BHoM_UI

BHoM_UI: Add log output to the adapter actions

Open
#311 5 comments 0 reactions 2 assignees Claimed by @adecler View on GitHub
type:feature type:question
Dominant language
C#
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

Description

#### Description:

Currently the adapter actions have 2 outputs: `objects` and `success`. 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.