Skip to content

[REQ] Add interval days in the hover info auto updater #43

Description

@schroef

Sweet new release! One thing i noticed is when we use the compact view, we have the auto-updater checkbox below that. When a user hovers over it states "auto check for updates using interval". But it doesnt state how long that interval is.

Perhaps this should be added so user know what interval is used?

screen shot 2018-04-04 at 8 02 36 pm

I did had an idea to get the data using;

 updater.set_check_interval(enable=auto_check_update,
					months=updater_intrval_months,
					days=updater_intrval_days,
					hours=updater_intrval_hours,
					minutes=updater_intrval_minutes
					)

But i got an error about tuple first. Then tried a different approach importing the updater from addon_updater.py (Singleton_updater) above the prefrerence panel. That way i could reach the _check_interval_days

from .addon_updater import Updater as updater

It grabs the standard days and shows this in the hover info.
screen shot 2018-04-04 at 8 40 45 pm

other option is to add in between after the boolean checkbox perhaps. Then the user will see the update interval directly. This also works, same method as i used above.
screen shot 2018-04-04 at 8 47 28 pm

It grabs the standard days set in the addon_updater.py file, it looks like this
screen shot 2018-04-04 at 8 42 01 pm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions