OpenEnergyTools / oscd-publisher

Apache License 2.0
1 stars 2 forks source link

Provide descriptions against FCDAs and FCDOs in dataset view and picker #6

Open danyill opened 10 months ago

danyill commented 10 months ago

I'd like to read the desc attribute from the instantiated data structure (LN, DOI, SDI, DAI) if present and show it in the dataset view and picker. I think this is consistent with what most IEDs provide.

My initial effort looks like this in the dataset view

image

Multiline text wrapping is not working quite so well, I'm not sure how best to approach this:

image

I'm not sure if it would be more helpful to have the beautiful new tree picker with a second line (which if I understand correctly it doesn't currently support), but perhaps this would be sufficient for now:

image

Most of the IEDs in the following scd file support this structure and we have found other manufacturers do as well:

XAT_Prot2_Base_Configuration_IED_to_Bus.scd.zip

I'll open a draft pull request for discussion and see if we can find the best way forward as descriptions can be handled many ways and the best way to present this data is a little unclear (without major UI changes).

JakobVogelsang commented 8 months ago

Make sure not use any line break to avoid the breaking issues in the new list item.