Page By Page - Redaction/Annotation Arrow Points in Wrong Location
- Dominant language
- Python
- Stars
- 8
- Forks
- 2
- Avg merge
- 14h 34m
- Merged PRs (30d)
- 46
Description
**Describe the bug in current situation**
When you have your page set to 'Page By Page' under 'View Controls', when you select a redaction or annotation, and then change pages, the arrow pointing to the annotation or redaction is incorrect.
**Link bug to the User Story**
**Impact of this bug**
Describe the impact, i.e. what the impact is, and number of users impacted.
Low
**Chance of Occurring (high/medium/low/very low)**
Low
**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
Test-Marshal
**Steps to Reproduce**
Steps to reproduce the behavior:
1. Under 'View Controls', select 'Page By Page'
2. Apply a redaction or annotation to a page
3. Select the redaction or annotation so it is selected in the 'Comments' pane
[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNHFGQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--41f350e4f6ac518a33b0fdf31ab63121d7180a98/image.png)
4. Scroll up or down one or more pages - see error, where arrow is pointing to the incorrect spot (retaining the same arrow spot as original page, rather than pointing to the selected redaction or annotation).
[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNHVGQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--6a7d7e55e31212a395096dad46ded1593ac3847c/image.png)
[Private Zenhub Image](https://api.zenhub.com/attachedFiles/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNHlGQVE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--5ea436acbc823590a57ad6dfdc9f15759f653bb8/image.png)
**Actual/ observed behaviour/ results**
Arrow is pointing to incorrect spot.
**Expected behaviour**
A clear and concise description of what you expected to happen. Use the gherking language.
GIVEN a user has selected 'Page By Page'
AND applied a redaction or annotation
WHEN a user selects the redaction or annotation
AND scrolls up or down one or more page(s)
THEN the arrow will point towards to original redaction or annotation, similar to if 'Continuous Page' is selected


**Screenshots/ Visual Reference/ Source**
If applicable, add screenshots to help explain your problem. You an use screengrab.
Contributor guide
Research direction
The issue names no source files or tests. Reproduce the problem through View Controls using Page By Page, then inspect the page-selection, annotation/redaction selection, and scroll behavior; done means the arrow follows the selected annotation or redaction after changing pages, as it does in Continuous Page mode.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100