ynput / OpenPype

Main OpenPype repository (to be deprecated)
https://openpype.io
MIT License
280 stars 128 forks source link

Settings: List difference between "saved" settings and current settings #2696

Closed BigRoy closed 6 days ago

BigRoy commented 2 years ago

Feature

With the new 'versioned settings' from #2570 we can get the nice visual messages like:

"Your settings are loaded from an older version"

I was thinking it would be nice that in the case the user (or only for admins) is not sync that same bar shows an extra button to that will pop-up a little list widget showing the changes:

+ applications/additional_apps
- modules/ftrack
. modules

With:

Would be extra nice if clicking the names for any of the entries in the list would put the settings entity.path into the breadcrumb bar and actually directly move to it.

We should be able to compare with the stored settings in the database, right?

Notes

I'm not sure if . changed can happen automatically, but that's what I would expect when an enum has a valid value renamed or removed I'd assume the settings would automatically reset that to the new value in default settings.

Browsing to a - removed key of course couldn't be done. We could technically split on / until we find one that is currently valid using get_entity_from_path?

[cuID:OP-2624]

BigRoy commented 6 days ago

With AYON having a different settings front-end this has become irrelevant.