Environment selector
Good evening!
Guys, I need a plugin or documentation recommendation to do something similar to the screenshot attached.
Basically, I have a Model called "App" that is linked to the user and it can have several apps.
I need a select or another way for the user to select the application and then the menu items related to that application (Products, Slides, ...) are released. If the user does not have any application selected, only the App resource should appear, so that he can create or edit the applications.
Once the Application is selected, all resources should access the data that is related to the app.
Is there any way or plugin to do this in filament?
Thanks.

4 Replies
This is just a selector to switch panels, but could give you an idea #bezhansalleh-panel-switch
If you want to separate those "Apps" into different panels, it's probably all you need.
Thanks for your reply!
Unfortunately, this is not exactly what I'm looking for.
The idea is to have a select that I can switch between, imagine that instead of App it is Team, by changing the Team I would have access to the resources of that Team, such as Tasks, Projects, ...
How are those Resources defined?
You can still have a look at the panel switch and implement the rest on your own. You'd need to store the current "app/team" in the session and then load the Resources based on that in a middleware.
Couldn’t you use the tenancy switcher for your use case? Are the resources the same, no matter the “app”?