Skip to content

Update "View complete raw" link

Miguel Rincon requested to merge 295654-pre-experiment-refactor into master

What does this MR do and why?

This change updates the appearance of the "View complete raw" in the job page so it's consistent with our design.

Changelog: changed

Why this change?

In !145499 (merged) we would like to add one more link to show the "full log".

This change includes a new link to "View complete raw" that we can work on separately, as well as a few other refactors to make this code easier to maintain.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Visit a job with a long log.
If you like to generate a long log, you can use this CI YML
stages:
  - build

showing-last-job:
  stage: build
  script:
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done
    - for i in {1..5000}; do echo "This is a long line that gets repeated many many many many many many many many many many many many times $i"; done

Related to #295654

Edited by Miguel Rincon

Merge request reports