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 Components Not Refreshing on Reload from Canvas #318

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

MFA-X-AI
Copy link
Member

Description

#293 implemented refactoring of the code fetching for components and the reload mechanism by implementing a cache for the component library code. However, this cache is currently only updated when the component tray button is pressed. This PR ensure that the cache is also refreshed when the "Reload Node" option is used from the right-click context menu or the "Reload All Nodes" option is selected from the toolbar.

References

#293

Pull Request Type

  • Xircuits Core (Jupyterlab Related changes)
  • Xircuits Canvas (Custom RD Related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others (Please Specify)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Tests

Drag in a component. Update a port. Trigger reload by Reload Node and Reload All Nodes. Verify that it correctly updates.

Tested on?

  • Windows
  • Linux Ubuntu
  • Centos
  • Mac
  • Others (State here -> xxx )

Notes

Add if any.

Copy link

Binder 👈 Launch a binder notebook on branch XpressAI/xircuits/fahreza/fix-canvas-reload

@MFA-X-AI MFA-X-AI merged commit 9624f36 into master Apr 23, 2024
9 checks passed
@MFA-X-AI MFA-X-AI deleted the fahreza/fix-canvas-reload branch April 23, 2024 11:31
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.

1 participant