Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

"Jump to File" in pull request reviews always leads to a path the first directory of a current project #2330

Closed
@aviatesk

Description

@aviatesk

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

  1. Open a project with multiple directories, where dir1 is the first directory
  2. Open a pull request review of a directory (dir2), which is not the first one
  3. 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:
image

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
image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions