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] Add filter in Widget for individual project #83481

Open
renishnair-viper opened this issue Jan 15, 2025 · 2 comments
Open

[Feature] Add filter in Widget for individual project #83481

renishnair-viper opened this issue Jan 15, 2025 · 2 comments

Comments

@renishnair-viper
Copy link

Problem Statement

When we create a Dashboard that has similar widgets for multiple projects but some widgets are not required for all projects.
If we can have some filtering in Widgets based on the project it is hidden when we select a particular project.
e.g. We have a dashboard with the widgets (A, B, C, D, E)
In Project 1 widgets A, B, C, and D are relevant,t and in Project 2 widgets A, B, C, and E are relevant
In the current scenario, both Project 1 and 2 are showing all widgets (A, B, C, D, E)

Solution Brainstorm

No response

Product Area

Unknown

@getsantry
Copy link
Contributor

getsantry bot commented Jan 15, 2025

Auto-routing to @getsentry/product-owners-dashboards for triage ⏲️

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 15, 2025
@ale-cota
Copy link
Contributor

hi @renishnair-viper,
Thanks for submitting this request. I think I understand the use case, however we aren't planning to introduce any conditional widget visibility. Even if the list of widgets is very similar, it sounds more like those should be two separate dashboards.

There are a couple of things that you could consider doing instead:

  • creating two separate dashboards with the set of relevant widgets for each and with their respective project filters
    • I know this sounds like extra work, but you can do this quite easily by duplicating an existing dashboard and just quickly making the widget edits. You only have to do this once.
    • When it comes to switching between the different dashboards, I know today this is not as convenient as using the project selector, but we'll be delivering some enhancements and navigation changes in the near future that will make this much easier.
  • alternatively, if you don't mind empty widgets, you can add an explicit project filter within the widget itself. So in your example widget D would have a filter for project 1 and widget E would have a filter for project 2.

Let me know if you have any other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants