-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] add explanation component #76
Conversation
surchs
commented
Mar 21, 2022
•
edited
edited
- adds components for each of the currently used categories and links them from the annotation page.
- adds an explanation sub-component to display text explanations during annotation
- each category is added as a separate component - category components are prefixed with annot - components are invoked in a for loop over a list of categories
- each category sub-page gets an explanation text - an explanation component displays the text resolves: #56
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we go with the annotation page! This PR is nice and simple, but I've included a few comments addressing some light changes - and some 'might as well do this now' changes - now that we're integrating your work into the codebase.
- adopted single quote strings for all non-template code - use pascalCase for Vue component names as recommended
- the v-for rendering of the b-tab sub-pages caused a rendered DOM mismatch between server and client - the first page from "pages" was rendered twice (e.g. two Age tabs) - added the <no-ssr> tag to fore client-side only rendering - this addressed the problem for now
- to comply with code style
@jarmoza: thanks for the comments! I addressed what you suggested. Let me know if you have other comments. |
With the reversion back to double quotes, this PR is ready to be merged. |