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

[Feature Anywhere] Advanced settings to soft limit on number of anywhere saved objects on a single visualization #3361

Closed
lezzago opened this issue Jan 31, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request feature-anywhere

Comments

@lezzago
Copy link
Member

lezzago commented Jan 31, 2023

Is your feature request related to a problem? Please describe.
Main issue: #2880

When associating plugin resources to a visualization, we need to ensure we can limit the number of plugin resources to associate in order to prevent users from creating too many plugin resources and making the visualization too noisy without the user understanding the impact of doing this.

Describe the solution you'd like

Add new advanced settings to add a limit to this

@joshuarrrr
Copy link
Member

What do you mean by a soft limit? Are we planning to warn with a toast but still allow more associations? We probably need some UX mocks to help illustrate what the experience will be link when a user hits or exceeds the limit.

@ohltyler
Copy link
Member

Regarding implementing the limit on the UI side:

the saved object API calls can intercept CRUD operations for saved objects of augment_vis type. From there we can check the limit and accept/reject the request based on that. If at the limit, can return a user-friendly response.

Can use this response to update UI via potentially some callout in the menu and/or creation flows of the plugin resources

@ohltyler
Copy link
Member

Added to the meta issue list

@ohltyler
Copy link
Member

Will need to have the setting to globally turn the feature on/off as well.

@ohltyler
Copy link
Member

Closing via #3961

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-anywhere
Projects
None yet
Development

No branches or pull requests

4 participants