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

Is there anyway to return all items from st_timeline() instead of just the selected? #12

Open
neldivad opened this issue Jul 15, 2024 · 2 comments

Comments

@neldivad
Copy link

Suppose I deleted a content from st_timeline object, I need the information to be reflected in subsequent functions.

Currently st_timeline() feels like a static object that displays a timeline based on what info you initialized it and that's it.

Deleting and moving items just changes the display, but not any of its information.

@giswqs
Copy link
Owner

giswqs commented Jul 15, 2024

Sorry, I don't have the bandwidth to continue developing the project. Contributions are welcome.

@neldivad
Copy link
Author

Js is not my native language, so its hard to change its behavior. But I notice the problem this component has that visjs doesn't have is that visjs saves and updates edited information in DataSet.

With streamlit, the feature is missing or was abstracted very deep within and unable to surface to the backend with return. (meaning st_timeline() obj returns a dict, so you don't have a method to access the changes or updates. You also can't manually set values to streamlit session state after editing the object)

Would appreciate someone with the background to waddle through the backend.

Regardless, thanks for the package. Its useful for showing static calendar events, but not yet compatible with performing task like video/audio editing.

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

No branches or pull requests

2 participants