Skip to content

Improve focus order for new annotations#7483

Merged
santicomp2014 merged 4 commits intomainfrom
focus-new-annotations
Jan 19, 2026
Merged

Improve focus order for new annotations#7483
santicomp2014 merged 4 commits intomainfrom
focus-new-annotations

Conversation

@karenrasmussen
Copy link
Contributor

@karenrasmussen karenrasmussen commented Dec 30, 2025

This pull request enhances the user experience in the annotation sidebar by automatically moving keyboard focus to the first updated annotation after real-time updates. This makes it easier for users to quickly locate and interact with the most recently updated content. Additionally, the test suite is updated to support the new focus and tab selection functionality.

User experience improvements:

  • After receiving real-time annotation updates, the sidebar now moves keyboard focus to the first updated annotation and selects the appropriate tab for it, improving accessibility and usability. [1] [2]

Testing updates:

  • The StreamerService test suite is updated to stub the new selectTab and setAnnotationFocusRequest methods, ensuring the new functionality is properly tested.

@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.50%. Comparing base (43d4d8a) to head (5ab2a0d).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7483   +/-   ##
=======================================
  Coverage   99.50%   99.50%           
=======================================
  Files         271      271           
  Lines       11076    11084    +8     
  Branches     2666     2667    +1     
=======================================
+ Hits        11021    11029    +8     
  Misses         55       55           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@santicomp2014 santicomp2014 self-requested a review January 19, 2026 14:43
Copy link
Contributor

@santicomp2014 santicomp2014 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@santicomp2014 santicomp2014 merged commit cc23487 into main Jan 19, 2026
4 checks passed
@santicomp2014 santicomp2014 deleted the focus-new-annotations branch January 19, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants