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

Improve performance of selection/visibility toggles #33

Merged
merged 1 commit into from
Aug 3, 2020
Merged

Conversation

jbaiter
Copy link
Member

@jbaiter jbaiter commented Aug 3, 2020

Just like with opacity and the colors, we can achieve better performance by going around React for these updates.
Additionally, we remove the hacky check for the presence of the mirador-image-tools plugin, since it broke once minification/uglification was enabled.

Just like with opacity and the colors, we can achieve better performance
by going around React for these updates.
Additionally, we remove the hacky check for the presence of the
mirador-image-tools plugin, since it broke once
minification/uglification was enabled.
@codecov-commenter
Copy link

Codecov Report

Merging #33 into master will decrease coverage by 0.28%.
The diff coverage is 31.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
- Coverage   71.58%   71.29%   -0.29%     
==========================================
  Files          11       11              
  Lines         644      648       +4     
  Branches      194      195       +1     
==========================================
+ Hits          461      462       +1     
- Misses        156      158       +2     
- Partials       27       28       +1     
Impacted Files Coverage Δ
src/components/MiradorTextOverlay.js 0.00% <0.00%> (ø)
src/components/TextOverlaySettingsBubble.js 94.33% <ø> (ø)
src/index.js 0.00% <0.00%> (ø)
src/components/PageTextDisplay.js 95.77% <83.33%> (+0.06%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fa3ff72...5535108. Read the comment docs.

@bitzl bitzl merged commit 8696e2a into master Aug 3, 2020
@bitzl bitzl deleted the toggle-perf branch August 3, 2020 16:23
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.

3 participants