As a CoMPAS developer I would like to continue moving plugins out of compas-open-scd, in this case the compas-save-as-version.
Acceptance criteria:
Components should be UI based only. So no logic to it
Plugins should contain logic and should use the UI component
Tests need to be rewritten accodingly
Dependencies are imported from their own repositories.
Check to see if helper files are only being used for this particular plugin, if so move to repository. Otherwise, figure where it should be implemented and import dependancy.
Include screenshot tests if needed
Document the new API of the plugin
Add TypeDoc for documentation to the repository
Create storybook for the plugin
TBD:
How to handle translations
How to handle logging
Save-as-version now opens the entire document just to be rewritten. This needs to be refactored so it only uses the document ID
User Story
As a CoMPAS developer I would like to continue moving plugins out of compas-open-scd, in this case the compas-save-as-version.
Acceptance criteria:
TBD: