At this moment, the configuration UI can detect changes when users visit the admin/config/system/configuration.

Configuration 1.x has a interesting feature that indicates when the ActiveStore has been modified displaying a message to the user.

This is a nice feature but is not so good for performance (The checks are made every time a page is loaded)

To include this feature in the 2.x branch, I suggest to move into a submodule that users can install to enable this feature.

Comments

dragonwize’s picture

I am not in full support of the feature as is because it is a lot of work to get it to work well.

However, it does not check on every page load, it only shows a message on every page if the changed flag has been thrown.

The check of if things have changed happens in 1.x in 3 different ways:

1. User manually hits the check button in the admin settings
2. User clears cache
3. User edits something that has a hook that allows us to know that they just changed something. Like a menu update.

On any one of those three the config is checked and a flag is set if things have been changed.

We definitely need #1, not sure if we should do #2 or #3 but I do think we need more than #1 and those are some good options.

The thinking around #3 was to try to find a better way than what features does, which is to check all config on the feature admin page load. That is really cumbersome, it takes a while to do it, and you don't know things have changed until you visit the page or the check is done via another method. The idea of being able to do it in real time is really nice but is a very lofty goal, as not all things have hooks to use to know if things have changed. So we can't know for everything, but we can try if we think it is worth the effort.

Thoughts?