Add "Reset Preferences" to Payload Settings #9949
HarleySalas
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
This can easily be a plugin.
I would use a plugin like this! I have sometimes the same issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There are many scenarios throughout v3's alpha, beta and stable release where I've had to either delete my user, or go directly in to the database to delete my
payload-preferences
, due to many side effects.One instance today for example was when configuring the
admin.disableListColumn
option for some fields. It ultimately broke the ability to reorder columns in aListView
entirely, assumingly due to some sort of mismatch, where preferences does not update accordingly. I even deleted the collection entirely, hoping to avoid having tomigrate:fresh
, or inconveniently access the database directly to delete my preferences. Ultimately, what I ended up doing was deleting my user and re-creating it. Of course, none of these things are an optimal developer, or user experience.I think that accounting for every edge scenario where issues with
payload-preferences
causes an issue is perhaps a bit unrealistic to resolve in the nearest future. Even if it did work as expected, sometimes switching to newly configured Collectionadmin.defaultColumns
is desirable. (maybe it'd even be nice to be able to reset preferences at a collection level, but I think that may be asking for a bit much?)What I propose is a button in our profile
Payload Settings
section, which allows us to simply delete our preferences, effectively reverting us to defaults, like a new user. Of course the language could be a bit better, but I hope I'm sure I've gotten the idea across.Beta Was this translation helpful? Give feedback.
All reactions