Content
View differences
Updated by Kabiru Mwenja 7 months ago
###
### Steps to reproduce
Whenever the URL only the anchor hash is updated in the url (ie. the url changes from `.../work_packages/294/activity` \`.../work\_packages/294/activity\` to .`../work_packages/294/activity#comment-536`, \`.../work\_packages/294/activity#comment-536\`), a page reload will not be triggered and the element is not scrolled into the page.
1. Login as a user with permissions view work package comments
2. On a given comment, click on it's timestamp so that it's scrolled into view and briefly highlighted
1. Take note of the comment ID. E.g. for [https://qa.openproject-edge.com/projects/kabirus-test-project/work\_packages/9720/activity#comment-228425](https://qa.openproject-edge.com/projects/kabirus-test-project/work_packages/9720/activity#comment-228425) the comment id is "228425"
2. Click on another comment such that the comment id changes, take note of that comment ID
3. Now, manually change the comment ID on the browser URL to the one in 2.(a)
### What is the buggy behavior?
* The target highlight does not change whenever the comment ID is changed without reloading the whole page
### What is the expected behavior?
1. Changing the comment id in the URL (and clicking Enter) should update the target element- following browser native behavior behaviour
###
### Steps to reproduce
Whenever the URL
1. Login as a user with permissions view work package comments
2. On a given comment, click on it's timestamp so that it's scrolled into view and briefly highlighted
1. Take note of the comment ID. E.g. for [https://qa.openproject-edge.com/projects/kabirus-test-project/work\_packages/9720/activity#comment-228425](https://qa.openproject-edge.com/projects/kabirus-test-project/work_packages/9720/activity#comment-228425) the comment id is "228425"
2. Click on another comment such that the comment id changes, take note of that comment ID
3. Now, manually change the comment ID on the browser URL to the one in 2.(a)
### What is the buggy behavior?
* The target highlight does not change whenever the comment ID is changed without reloading the whole page
### What is the expected behavior?
1. Changing the comment id in the URL (and clicking Enter) should update the target element- following browser native behavior
###