Add InvalidContentMessage and associated spec
What does this MR do?
- UX-wise, it provides a means of communication to the user that a non-markdown file was attempted to be used with the Static Site Editor (markdown files are a current limitation).
- Tech-wise, the
StaticSiteEditor.vue
component manages the dumb component's (InvalidContentMessage.vue
) mounting whenisSupportedContent = false
.
Screenshots
isSupportedContent = true |
isSupportedContent = false |
---|---|
The UI will not render until wired up by a future MR that has the planned The original loose design guide for the above renders is found in this mockup.StaticSiteEditor.vue
parent component leveraging it.
Does this MR meet the acceptance criteria?
Conformity
Edited by Derek Knox