outl1ne / nova-detached-filters

This Laravel Nova package allows you to detach filters from the filter dropdown and show them on a card
MIT License
61 stars 21 forks source link

persitFilters() globally set for all users #21

Closed stardothosting closed 2 years ago

stardothosting commented 2 years ago

When user "A" sets a persistent filter, user "B" logs in and sees that persistent filter setting applied.

I was expecting this functionality to be a per-user setting since my implementation has hundreds of users using these filters in many different ways. There would be many conflicts of persistent filter settings since this appears to be global.

Is there any way to make this a per-user persistence?

Thanks!

KasparRosin commented 2 years ago

We are storing the persisted filters in localStorage, so unless the user A and B are using the same computer with the same browser user, the state should not be shared.