Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implemented raw likes #1111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ddshoo
Copy link

@ddshoo ddshoo commented Dec 9, 2024

Description

This pull request addresses Issue #1078 by adding a hover-over tooltip on the like/dislike ratio bar that displays rawLikes and rawDislikes from extension users. This enhancement provides users with more granular insights into video feedback, increasing transparency and reliability of the displayed metrics.

Changes Made

  • Modified the setState() function to fetch and handle rawLikes and rawDislikes.
  • Updated the createRateBar function to incorporate a tooltip displaying raw data.
  • Added event listeners for hover interactions to show/hide the tooltip.
  • Enhanced CSS styling for better tooltip visibility and user experience.
  • Updated existing unit tests and wrote new ones to cover the tooltip functionality.

Screenshots

Tooltip Example

Testing

  • Tested the feature locally using Tampermonkey.
  • Verified tooltip appearance and accuracy across different browsers.
  • Ensured no console errors or UI issues.

Related Issues

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.

View Actual Dislikes by Extension Users vs Estimated
1 participant