openscd / open-scd

A substation configuration description editor for projects using SCL IEC 61850-6 Edition 2 or greater
https://openscd.github.io
Apache License 2.0
102 stars 38 forks source link

Provide cleanup for ExtRefs #1188

Open danyill opened 1 year ago

danyill commented 1 year ago

Is your feature request related to a problem? Please describe.

Some data models are very verbose. Users may wish to "cut them down". One area where this is true is ExtRefs. Recently one of our manufacturers exposed all possible ExtRefs (the super set of the data model) with no obvious ability to reduce them within the IED Configuration Tool. A large number of these (perhaps 90%) are additional to what is necessary and they have the effect of making configuration more cluttered than necessary.

Describe the solution you'd like

In the Cleanup plugin, provide a list of all unsubscribed ExtRefs in the same manner as the existing cleanup panes. All the user to multi-select and remove them based on a filtered list.

Requirements

Be able to remove large numbers of ExtRefs based on their name, description or other "useful" fields commonly held within the identity string (e.g. IED or LN). Be able to select based on the serviceType.

Suggestions for a specific user interaction

Extension of pane within the Cleanup plugin.

Test Files

See attached:

XAT_SEL-487E-5_StandardDesign.ICD.zip

I'd be happy to work on this if this was agreed to be useful upon refinement.

github-actions[bot] commented 1 year ago

Hello there,

Thank you for opening this issue! We appreciate your interest in our project. However, it seems that this issue hasn't had any activity for a while. To ensure that our issue tracker remains organized and efficient, we occasionally review and address stale issues.

If you believe this issue is still relevant and requires attention, please provide any additional context, updates, or details that might help us understand the problem better. Feel free to continue the conversation here.

If the issue is no longer relevant, you can simply close it. If you're uncertain, you can always reopen it later.

Remember, our project thrives on community contributions, and your input matters. We're here to collaborate and improve. Thank you for being part of this journey!

danyill commented 1 year ago

Regrettably this is still relevant and requires attention :stuck_out_tongue_winking_eye: However for at least the manufacturer where this is most relevant (SEL) if you remove the ExtRefs they are just regenerated. Fortunately that behaviour can be controlled by a private/namespaced setting within the file.

trusz commented 1 year ago

All right, we will take a look in the refinement.