avestura / EyesGuard

👀 Windows Application for protecting your eyes

Home Page:https://github.avestura.dev/EyesGuard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notification on start and end on pauses

farvater11 opened this issue · comments

Description
Notification on start and end on pauses

Feature Domain
Plase check any of the chackbox that is related to your request:

  • UI/UX Improvement
  • Avoid people from making mistake
  • Creativity
  • New fucntionality
  • Extend support

Screenshots
[If there is any related screenshots, simply put it here. Otherwise write 'No Screenshots'.]

Additional context
Hi, ask you, add notification with sound on start and on end of pauses. Thank's

I'm interested in this but how exactly should the notifications be implemented? Will it be like a regular Windows 10 Toast notification?
image

@colinkiama Take a look at https://github.com/0xaryan/EyesGuard/blob/a6bed66bfc0002b3effc64ee4c81d28d50a6b695/Source/EyesGuard/App.TimingAndControl.xaml.cs#L101

You can access app configuration using App.Configuration.SomeProperty and show a notification using App.TaskBarIcon.ShowBalloonTip(title, message, icon)

Awesome! Will create a PR once I'm done

I've managed to make a commit. (The main change is in: Source/EyesGuard/App.Properties.xaml.cs)
https://github.com/colinkiama/EyesGuard/commit/5064e97693c31dec971ffc4d46a850f93d5d6bb7

Unfortunately, I can't see any balloon tips, even when I select the "Long Break" option. So I won't be able to help out with this anymore.