Load source content in Static Site Editor using GitLab API
What does this MR do?
Implements a service function that loads a source file content using GitLab’s API. The source file may have frontmatter metadata and that metadata can contain a page’s title. Those assumptions are used to extract the page’s title from the file.
This MR is part of a series of Merge Requests to deliver #212560 (closed). The other merge requests in this series are:
- Display page content in the Static Site Editor: !28472 (merged)
- Implement Vuex state management to load the page source content: !28481 (merged)
To test this work in your local environment, use the following integration MR: !28615 (closed)
See #212560 (closed) for more information. See the issue to obtain information about high-level design decisions and see user mockups.
Screenshots
This gif shows all the MRs working in conjunction:
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Enrique Alcántara