-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add visual scroll-to comment indicator (#73)
* Add visual indicator for scrolled-to comment Related to #63 Implements visual feedback for scrolled-to comments in Zendesk Link Collector extension. - Adds a new function `highlightComment` to apply a temporary highlight to a comment after scrolling to it. - Modifies the `scrollToComment` function to call `highlightComment`, providing a visual indication of the scrolled-to comment. - Ensures the highlight fades away after a few seconds, improving user experience by clearly indicating the comment of interest. * feat: Add visual indicator for scrolled-to comment & refactor scroll-to comment function to prevent duplicate messages * refactor: Improve highlightComment function and add counter for DOM traversal
- Loading branch information
Showing
1 changed file
with
57 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters