DiSSCo / disscover

Search, discover and act upon data within the DiSSCo digital infrastructure.
https://dev.dissco.tech
Apache License 2.0
1 stars 0 forks source link

Add refresh button to Side Panel in order to refresh Annotations #42

Closed TomDijkema closed 1 year ago

TomDijkema commented 1 year ago

Commit adds a refresh button to the Side Panel that can be used to refresh the annotations within it. This method is dependent upon the parent component passing it on, otherwise the button will not be displayed. The Specimen of Digital Media component will trigger a refresh call to the API and provide the annotations to the side panel, as well as update the source material.

Adds:

Modifies:

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

16.7% 16.7% Coverage
13.0% 13.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

TomDijkema commented 1 year ago

Again, want to ignore the duplication as I already created a generic component for the Annotation tools, but it still counts the rendering of the component as a duplicated entry in the Specimen and Digital Media pages. This can be solved, but then I would need to make a generic template for the Specimen and Digital Media pages, which I would not be fan off, like to keep them apart.