This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Description
Prerequisites
Description
"Jump to File" in pull request reviews always leads to a path in the first directory of a current project, and so sometimes leads to wrong files.
Steps to Reproduce
Open a project with multiple directories, where dir1 is the first directory
Open a pull request review of a directory (dir2), which is not the first one
Click "Jump to File" button (say for a file src/file)
Expected behavior:
We want to land to dir2/src/file
Actual behavior:
It lands to dir1/src/file
** Example **
So if we have a project like below, dir1 is JunoLab, and dir2 is Atom:
and in a PR review of Atom repository, when we click "Jump to File" for Atom/src/goto.jl, it leads to JunoLab/src/goto.jl instead of Atom/src/goto.jl
Reproduces how often:
Everytime
Versions
atom --version
Atom : 1.41.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
apm --version
apm 2.4.3
npm 6.2.0
node 10.2.1 x64
atom 1.41.0
python 3.7.1
git 2.24.0.windows.2
visual studio
github package version: 0.31.1
Additional Information
Reactions are currently unavailable
Prerequisites
Description
"Jump to File" in pull request reviews always leads to a path in the first directory of a current project, and so sometimes leads to wrong files.
Steps to Reproduce
dir1is the first directorydir2), which is not the first onesrc/file)Expected behavior:
We want to land to
dir2/src/fileActual behavior:
It lands to
dir1/src/file** Example **
So if we have a project like below,

dir1isJunoLab, anddir2isAtom:and in a PR review of

Atomrepository, when we click "Jump to File" forAtom/src/goto.jl, it leads toJunoLab/src/goto.jlinstead ofAtom/src/goto.jlReproduces how often:
Everytime
Versions
github package version:
0.31.1Additional Information