m-lab / mlab-browser-ext

MLab Browser Extension
Apache License 2.0
1 stars 2 forks source link

In add-ons preferences, provide setting for tests to be automatically run at a specified interval #20

Open critzo opened 10 years ago

critzo commented 10 years ago

How often does it run in the background? Does it ever? Can I configure it so that once an hour or so it runs in the background? Ideally, I think, on install, there's some default for background operation (e.g. once per day, etc), and that can be changed by the user through 'Preferences'.

hawkinswnaf commented 10 years ago

Right now, it does not run at all in the background (ever). I think that we need to figure out how to run these tests w/o "freezing" the browser before we are able to implement periodicity.

However, the question remains: Should the interval be specified per test or for the entire plugin? It would make a difference about where we put the preference.

The preferences that go in the Add Ons pane cannot be dynamic! That's why the test preferences are not there. Since we expect that those preferences are going to vary based on plugins, they have to be handled differently.

Does any of that make sense? Perhaps I am just blabbing :-)

On 8/17/14, 8:24 AM, critzo wrote:

How often does it run in the background? Does it ever? Can I configure it so that once an hour or so it runs in the background? Ideally, I think, on install, there's some default for background operation (e.g. once per day, etc), and that can be changed by the user through 'Preferences'.

— Reply to this email directly or view it on GitHub https://github.com/opentechinstitute/mlab-browser-ext/issues/20.

critzo commented 10 years ago

The interval should be specified per test.

Also, am I understanding correctly that what you're saying is that preferences in the Add Ons preferences page must be global preferences? And by saying they can't be "dynamic" you mean that because the available tests are "plugins" and are dynamicly added to the UI, we've made an architecture choice that requires per test/plugin preferences to be placed in the UI, not within the Add-Ons preferences page?