Closed osma closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.58%. Comparing base (
f22c504
) to head (3e66b74
). Report is 5 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Fixed the mappings initialization and added the spinner to the TODO list in the conccept page issue. Merging this now.
Reasons for creating this PR
The layout and styling of concept mappings was wrong after opening the vocabulary home page and clicking on links that perform a partial page load. Also, when switching between concepts, the mappings didn't update immediately, so the wrong (stale) set of mappings could be shown.
This PR addresses the above problems by adjusting the template structure of the concept-mappings Vue component and making the display of the
div
element with the actual mappings conditional on the existence of mappings.Link to relevant issue(s), if any
Description of the changes in this PR
div
conditional on the existence of mappings (using a computed value for clarity)Known problems or uncertainties in this PR
div
in the DOM structure. I couldn't figure out how to avoid it. I tried changing it totemplate
instead in the Vue template, but it just ended up in the DOM as<template>
and broke the functionality.Checklist
.sr-only
class, color contrast)