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

Make TextSelectionPlugin extend new BookReaderPlugin class #1372

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

cdrini
Copy link
Contributor

@cdrini cdrini commented Jan 30, 2025

No description provided.

@cdrini cdrini force-pushed the refactor/textsel-br-plugin branch from 59888e5 to 136b065 Compare January 30, 2025 18:09
Copy link

codecov bot commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 69.25%. Comparing base (d568bd0) to head (0302648).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/plugins/plugin.text_selection.js 82.60% 4 Missing ⚠️
src/BookReader.js 91.66% 1 Missing ⚠️
src/BookReaderPlugin.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1372      +/-   ##
==========================================
- Coverage   69.25%   69.25%   -0.01%     
==========================================
  Files          60       60              
  Lines        5133     5135       +2     
  Branches     1086     1087       +1     
==========================================
+ Hits         3555     3556       +1     
- Misses       1549     1550       +1     
  Partials       29       29              

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

@cdrini cdrini force-pushed the refactor/textsel-br-plugin branch from 136b065 to b7fb64f Compare January 30, 2025 18:12
@cdrini cdrini marked this pull request as ready for review January 30, 2025 18:14
}
window.BookReader = BookreaderWithTextSelection;
export default BookreaderWithTextSelection;
BookReader?.registerPlugin('textSelection', TextSelectionPlugin);
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice 😎

@cdrini cdrini force-pushed the refactor/textsel-br-plugin branch from b7fb64f to 0302648 Compare January 30, 2025 19:00
@cdrini cdrini merged commit c067962 into internetarchive:master Jan 30, 2025
8 of 10 checks passed
@cdrini cdrini deleted the refactor/textsel-br-plugin branch January 30, 2025 19:05
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