stable

Clone or download

Read-only

request #29600 First added line is hidden in collapsed block

In order to ease the debugging, I've decided to migrate to code building collapsible sections from Javascript to TypeScript. I've spotted weird stuff in the algorithm thanks to the TS parser, it may be now easier to understand it than before. How to test: - In a git repository, add one line at the beggining of a file - Commit it and push on a branch - Create a pull request - Go to the file-diff --> The added line is not hidden in a collapsed block Change-Id: I25ae304cd2f3186f2126120210a039d57e7bd1c7

Modified Files

Name
D plugins/pullrequest/scripts/pullrequests-app/src/app/code-collapse/code-collapse-service.js +0 −162 Go to diff View file
R plugins/pullrequest/scripts/pullrequests-app/src/app/code-collapse/code-collapse-test-fixture.js Go to diff View file
R plugins/pullrequest/scripts/pullrequests-app/src/app/code-collapse/code-collapse-service.test.js Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/code-collapse/collaspible-code-sections-builder.ts +201 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/diff-modes/side-by-side-diff-component.js +1 −1 Go to diff View file
A plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/diff-modes/types.ts +39 −0 Go to diff View file
M plugins/pullrequest/scripts/pullrequests-app/src/app/file-diff/diff-modes/unidiff-component.js +1 −1 Go to diff View file