Skip to content

[SUGGESTION] Ability to add and remove dataviews in the GUI #22

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

Closed
niksirbi opened this issue Jan 31, 2024 · 2 comments
Closed

[SUGGESTION] Ability to add and remove dataviews in the GUI #22

niksirbi opened this issue Jan 31, 2024 · 2 comments

Comments

@niksirbi
Copy link

Currently, users have to first create a project by adding all relevant data sources via functions like snub.io.add_video, snub.io.add_scatter etc. Once a project is created and opened, there is no way to add more data sources as views directly in the GUI. It would be nice to initialise a project with a few views, and be able to add more as you see fit.

In other words, I would like for the add_ methods to be exposed in the GUI, perhaps under the "File" menu. It would also be nice to have the option to close data views in the GUI (e.g. via an 'X' button on each panel).

This is more of an idea for a possible future direction. Feel free to dismiss if you think it would complicate things too much.

@calebweinreb
Copy link
Owner

I like this idea! Adding an "X" button for closing a widget is easy and will be included in the next release (implemented here #25).

Adding new widgets through the GUI is a little more of a lift so I may wait to see if it is requested by anyone else. But in principle I could definitely imagine a generic widget that programmatically exposes the args/kwargs for each respective add_ function.

@vigji
Copy link

vigji commented Feb 16, 2024

I agree that this would be a great functionality to add!

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

3 participants