Skip to content

Add InvalidContentMessage and associated spec

Derek Knox requested to merge 212558-sse-error-view into master

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 when isSupportedContent = false.

Screenshots

isSupportedContent = true isSupportedContent = false
Screen_Shot_2020-04-09_at_8.56.19_AM Screen_Shot_2020-04-09_at_8.55.52_AM

The UI will not render until wired up by a future MR that has the planned StaticSiteEditor.vue parent component leveraging it. The original loose design guide for the above renders is found in this mockup.

Does this MR meet the acceptance criteria?

Conformity

Edited by Derek Knox

Merge request reports