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

Debounce observablehq events #5

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

resivalex
Copy link

@resivalex resivalex commented Jul 3, 2022

Resolves #4
Resolves #2 for modern browsers

  • Fixed component margins.
  • Installed streamlit-component-lib and removed excess source files.
  • Removed an excess call of Streamlit.setComponentValue in componentDidMount.
  • Made a notebook link open in new tab.
  • Added debounce option and debounced component updates.
  • Improved resize handling

@resivalex
Copy link
Author

@asg017 Take a look please. Could you update the package?

@asg017
Copy link
Owner

asg017 commented Jul 28, 2022

Hey @resivalex , apologies for the delay, and thank you for this contribution! I will review this and will most likely merge it in, but it's a while since I've kept up with the new Streamlit component APIs (streamlit-component-lib is new to me) and I honestly forgot how to update packages on pypi, so it may take some time to get up to speed.

But again, thanks for this PR, it definitely cleans up a lot from this project!

@resivalex
Copy link
Author

Hi @asg017. Maybe I can help somehow. Let's update the package.

@resivalex
Copy link
Author

Hey @asg017, could you take a look please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants