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

Fix updating of layers list #251

Merged
merged 1 commit into from
Aug 12, 2021
Merged

Conversation

astrofrog
Copy link
Member

Alternative to #250 - we weren't connecting the callback in the right place, and were ending up in a state where the layers state had been updated but not layer artists. This uses private API but in glue-core so this is fine (though we should probably expose this publicly anyway).

…n layer artists and not layer state we should be listening to the layer artist event.
@astrofrog
Copy link
Member Author

@pllim - can you check if #251 also fixes the issue with the layer list updating?

Copy link
Contributor

@pllim pllim left a comment

Choose a reason for hiding this comment

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

Yes, it works. Thanks!

@codecov
Copy link

codecov bot commented Aug 12, 2021

Codecov Report

Merging #251 (dc6e684) into master (296f0f2) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #251      +/-   ##
==========================================
- Coverage   89.17%   89.15%   -0.03%     
==========================================
  Files          82       82              
  Lines        4037     4037              
==========================================
- Hits         3600     3599       -1     
- Misses        437      438       +1     
Impacted Files Coverage Δ
glue_jupyter/widgets/layer_options.py 86.66% <100.00%> (-2.23%) ⬇️

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 296f0f2...dc6e684. Read the comment docs.

@pllim
Copy link
Contributor

pllim commented Sep 21, 2021

Turns out this fix is incomplete. It broke the "eye" icon from updating on blink. See #265

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