Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !6940

Merged
Created 11 years ago by Administrator@rootOwner

fix link to notes in merge request diff

  • Overview 7
  • Commits 1
  • Changes 1

Created by: skv-headless

http://localhost:3000/gitlabhq/gitlab-ci/merge_requests/1/diffs#note_316 scroll in such links doesn't work. It happens because on page there are 2 elements with id="note_316" in changes and discussion. Browser takes first for scroll. This solution works because changes loads without diffs so tag with id="note_316" just one. Diffs loads with discussions, but in this case diff tag would be first. It is dirty but working solution.

Loading
Loading

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: skv-headless

    bug

    gl_bug1

    fix

    gl_fix1

    also fixed scroll to this note.

    By Administrator on 2014-05-29T07:52:02 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: skv-headless

    reproduced here https://gitlab.com/skv-headless/test_project/merge_requests/1/diffs#note_126261

    By Administrator on 2014-06-10T06:08:15 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: Razer6

    @jvanbaarsen Can you take a look?

    By Administrator on 2014-06-10T08:56:43 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jvanbaarsen

    @skv-headless Just to be sure, doesn't this break the scrolling for the Discussion page?

    By Administrator on 2014-06-10T09:21:50 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jvanbaarsen

    @skv-headless Ok, i've just tested this locally, seems to work. Can you please rebase with master and ping me when ready?

    By Administrator on 2014-06-10T09:30:50 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: skv-headless

    @jvanbaarsen rebased

    By Administrator on 2014-06-10T12:29:29 (imported from GitLab project)

  • Administrator
    Administrator @root · 11 years ago
    Owner

    Created by: jvanbaarsen

    @randx Looks ok!

    By Administrator on 2014-06-10T12:32:41 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
1
Labels
Ready for Merge
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1!6940
Source branch: github/fork/skv-headless/mr-diff-note-scroll-fix

    0 pending comments

Menu

Projects Groups Snippets
Help