Start deprecation of Source Viewer and Chunk components
What does this MR do and why?
Renames the current source_viewer.vue
and chunk.vue
components in preparation for deprecation.
The MR is part of a series of MRs to Split content into chunks after Highlight.js has highlighted content.
MR Breakdown
I've broken down the effort into a series of MRs to make it easier to review.
Since this workflow makes it a bit difficult to verify I've created a Draft MR which can be used for verification.
Description | MR |
---|---|
Add chunk logic to worker utils | !111201 (merged) |
Deprecate current Source Viewer component |
|
Create a new Source Viewer component to handle highlighted chunks | !111309 (merged) |
Create highlight Mixin for the blob content viewer component | !111325 (merged) |
Highlight content with the highlight worker (behind FF) | follow-up |
Screenshots or screen recordings
No visual changes are expected
How to set up and validate locally
- Open a source file via the repository files browser.
- Source code should be highlighted just like before.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #366531 (closed)
Edited by Jacques Erasmus