open-scd icon indicating copy to clipboard operation
open-scd copied to clipboard

Support exporting of diagnostic window data

Open danyill opened this issue 1 year ago • 1 comments

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

As a user of OpenSCD, sometimes things go horribly wrong and I end up with a schema invalid file.

I'd like to be able to export messages from the Diagnostics window so I can include them in bug reports or provide them to manufacturers to explain why the template files I have are not in accordance with the standard.

Describe the solution you'd like

A plain text file which includes all information about the error messages, including the headers for different validators.

image

Requirements

  • Include section (schema or template validation)
  • Include error message
  • Include line number
  • Include any other diagnostic data

Suggestions for a specific user interaction

I think a little export icon in the top right corner of the diagnostics display would be delightful ;-)

Test Files

Here is a file with many errors:

Siprotec_7SL86_Base (1) (2).icd.zip

danyill avatar Sep 18 '23 22:09 danyill

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!

github-actions[bot] avatar Nov 18 '23 19:11 github-actions[bot]