Add new source viewer and chunk components
What does this MR do and why?
Adds new Source Viewer and Chunk components that can render highlighted content in chunks.
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 | !111307 (merged) |
Create a new Source Viewer component to handle highlighted chunks |
|
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