Code Review: OneDev does not scroll to code referenced by a code comment (OD-2178)
jbauer opened 1 year ago

Open a PR with code comments, switch to the code comment list and click on a code comment.

Now you are in the file changes view with the code comment on the left being opened. However OneDev does not scroll the referenced code into the viewport (it did so in previous versions of OneDev). If you hit the small button "show commented code snippet" nothing happens. If you manually scroll the code a bit and then hit the button again the UI jumps to the top.

  1. After navigating from code comment UI to file changes UI the code referenced by a selected code comment is not in viewport
  2. Button "show commented code snippet" is not functional

Not sure which version introduced it. I noticted it in version 11.4.0 and it is still an issue in 11.5.2.

  • OneDev changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 1 year ago

    State changed as code fixing the issue is committed (51b2296e)

  • OneDev changed state to 'Released' 1 year ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 1 year ago

    State changed as build OD-5712 is successful

issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
11.4.0+
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2178
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover