Skip to content

Transcript timestamps are off #2064

@delexagon

Description

@delexagon

Describe the bug
In hearings, there is a semi-rare when clicking on a timestamp will move the video/timestamp to the transcript item before the one clicked.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a hearing and click on the link for each timestamp.
  2. About 1/60 (probably) timestamps will instead move the highlight to the previous item when clicked.

Expected behavior
Clicking on a timestamp should always move to that transcript item.

Actual Results + Screenshots
Clicking on a timestamp rarely moves the highlight to the previous transcript item.

Device:
Any

Additional context
Simple fix, making this issue to remember to do it. It's something to do with the seconds rounding in components/hearing/Transcription.tsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ready for DevelopmentAutomatically assigned to issues that are ready to be picked upbugSomething isn't workingfrontendFrontend developmentgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions