Skip to content

Start deprecation of Source Viewer and Chunk components

Jacques Erasmus requested to merge 366531-rename-source-viewer into master

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 👈 this MR
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

  1. Open a source file via the repository files browser.
  2. 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.

Related to #366531 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading