•  
      request #45587 Alignment problem in side-by-side diff in pull requests
    Infos
    #45587
    Joris MASSON (jmasson)
    2025-11-05 15:39
    2025-11-05 15:39
    47304
    Details
    Alignment problem in side-by-side diff in pull requests

    When viewing the diff for a long file, the left and right sides are not aligned.

    The issue has been raised in test Campaign Tuleap 17.0 - Non regression
    Test case Diff side by side

    sections from each side are not aligned
    there is a line added/missed for each block of diff (it must be the ~20th so there is a diff of ~20 lines)\

    See reproduction

    Scenario to reproduce:

    1. Create a repository called testpr
    2. Clone a bare repository:  git clone --bare git@github.com:vuejs/vue-test-utils.git
    3. Push --mirror to your project repository: cd vue-test-utils && git push --mirror ssh://gitolite@tuleap.valid.enalean.com/...
    4. Create a PR from migrate-to-jest to dev
    5. Show the file diff for the .yarn.lock file (in side-by-side mode)
    Pull Request
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Verified
    Empty
    Attachments
    Empty
    References
    References list is empty