justcla / HotTips

Visual Studio extension that provides Tip of the Day
MIT License
3 stars 9 forks source link

Add cadence option #36

Closed AmadeusW closed 6 years ago

AmadeusW commented 6 years ago

Stores the last time tip was displayed and what's the user's desired cadence. The UI shows when the tip may appear next. The tip is displayed only if the current time > desired time to show tip (last display time rounded back to previous midnight + repeat period). This is so that user who opens VS at 9am and then 8am (23 hours apart) will still see two tips, in the daily cadence Adds "on solution load" where the tip can open multiple times if user opens multiple solutions Opening a tip manually does not change the time of the next scheduled tip

image

AmadeusW commented 6 years ago

@justcla I addressed feedback

AmadeusW commented 6 years ago

I fixed the issue with window appearing twice when clicking the menu item. I still can't merge PRs, so go ahead and merge it @justcla