Skip to content

fix: comm messages were lost before model was loaded #804

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

Merged
merged 4 commits into from
Feb 21, 2025

Conversation

iisakkirotko
Copy link
Contributor

@iisakkirotko iisakkirotko commented Feb 21, 2025

As I explained in the related issue #803, any comm messages sent to the widget before it's model was loaded were lost. This should ensure that those messages are also processed.

Fixes: #803.

Copy link

changeset-bot bot commented Feb 21, 2025

🦋 Changeset detected

Latest commit: 47756df

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
anywidget Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Owner

@manzt manzt left a comment

Choose a reason for hiding this comment

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

Wow, thanks for the quick fix. Thank you! Just a couple of minor nits.

Copy link
Owner

@manzt manzt left a comment

Choose a reason for hiding this comment

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

Wow, thanks for the quick fix. Thank you! Just a couple of minor nits.

Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.75%. Comparing base (12ca2f8) to head (3eb513b).
Report is 282 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #804      +/-   ##
==========================================
- Coverage   98.45%   96.75%   -1.70%     
==========================================
  Files           8        9       +1     
  Lines         452      555     +103     
==========================================
+ Hits          445      537      +92     
- Misses          7       18      +11     

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

@iisakkirotko
Copy link
Contributor Author

Should look better now!

@manzt
Copy link
Owner

manzt commented Feb 21, 2025

Slick, thanks so much for the contribution. I'll cut a release now.

@manzt manzt merged commit b96cf35 into manzt:main Feb 21, 2025
10 checks passed
@github-actions github-actions bot mentioned this pull request Feb 21, 2025
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.

Early comm messages to widget are lost
2 participants