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

Rewrite Mode2Up to use CSS transforms + Lit #1152

Merged
merged 42 commits into from
Apr 26, 2023

Conversation

cdrini
Copy link
Contributor

@cdrini cdrini commented Feb 23, 2023

Closes #1145 . Closed #301 . Closes #881 .


QA. Tested on:

  • FF latest @ Win10
  • Chrome latest @ Win10
  • Safari latest @ iPad
  • Safari 16 @ Ventura
  • Firefox @ Android
  • Chrome @ Android
  • Samsung Browser @ Android
    • Pinch zoom doesn't work. Also on prod.
  • Safari 11 @ iPad Mini 2 (BS)
    • Complete black screen, not just BR. Also prod. Now works...
  • Safari 12 @ iPad Air 2019 (BS)

@cdrini cdrini force-pushed the refactor/mode-2up-lit branch 2 times, most recently from a2a3ddf to cbffd2c Compare February 24, 2023 07:19
@cdrini cdrini mentioned this pull request Feb 28, 2023
2 tasks
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch 2 times, most recently from 477d8f0 to 0bed79e Compare March 18, 2023 04:48
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch from 0bed79e to d97dbf7 Compare March 22, 2023 22:36
@cdrini cdrini changed the title Refactor/mode 2up lit Rewrite Mode2Up to use CSS translations + Lit Mar 23, 2023
@cdrini cdrini changed the title Rewrite Mode2Up to use CSS translations + Lit Rewrite Mode2Up to use CSS transforms + Lit Mar 24, 2023
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch from 3ffb4fb to dc52b88 Compare March 28, 2023 21:02
@codecov
Copy link

codecov bot commented Mar 29, 2023

Codecov Report

Merging #1152 (f7e2f73) into master (4a09a0b) will decrease coverage by 1.61%.
The diff coverage is 46.52%.

❗ Current head f7e2f73 differs from pull request most recent head d880d08. Consider uploading reports for the commit d880d08 to get more accurate results

@@            Coverage Diff             @@
##           master    #1152      +/-   ##
==========================================
- Coverage   69.95%   68.35%   -1.61%     
==========================================
  Files          59       61       +2     
  Lines        5342     5103     -239     
  Branches     1045     1062      +17     
==========================================
- Hits         3737     3488     -249     
- Misses       1586     1588       +2     
- Partials       19       27       +8     
Impacted Files Coverage Δ
src/BookReader/options.js 100.00% <ø> (ø)
src/plugins/plugin.autoplay.js 73.07% <0.00%> (+0.85%) ⬆️
src/plugins/tts/WebTTSEngine.js 64.15% <ø> (ø)
src/plugins/tts/utils.js 100.00% <ø> (ø)
src/BookReader/Mode2UpLit.js 37.02% <37.02%> (ø)
src/BookReader/BookModel.js 84.65% <60.00%> (-6.53%) ⬇️
src/BookReader/Mode2Up.js 65.85% <63.15%> (-0.01%) ⬇️
src/BookReader.js 65.33% <66.66%> (+0.60%) ⬆️
src/BookReader/Mode1UpLit.js 80.76% <70.00%> (-0.44%) ⬇️
src/BookReader/ModeCoordinateSpace.js 100.00% <100.00%> (ø)
... and 2 more

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cdrini cdrini force-pushed the refactor/mode-2up-lit branch from 9a93e66 to 27d677a Compare March 29, 2023 20:03
@cdrini cdrini marked this pull request as ready for review March 29, 2023 20:43
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch 2 times, most recently from a875a0a to 7747089 Compare April 4, 2023 16:53
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch from 7747089 to 3dc0265 Compare April 6, 2023 18:18
Copy link
Contributor Author

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Reviewed with @iisa on call

src/BookReader/Mode2UpLit.js Outdated Show resolved Hide resolved
src/BookReader/Mode2UpLit.js Outdated Show resolved Hide resolved
src/BookReader/Mode2UpLit.js Show resolved Hide resolved
src/BookReader/Mode2UpLit.js Outdated Show resolved Hide resolved
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch from a6c830a to 1c4be78 Compare April 25, 2023 23:46
@cdrini cdrini force-pushed the refactor/mode-2up-lit branch from 574b8b6 to 1b5f370 Compare April 26, 2023 00:35
@cdrini
Copy link
Contributor Author

cdrini commented Apr 26, 2023

QA'd by IA folks, CR'd by Isa.

@cdrini cdrini merged commit 0f42d5c into internetarchive:master Apr 26, 2023
@cdrini cdrini deleted the refactor/mode-2up-lit branch April 26, 2023 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant