Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification on start and end on pauses #10

Open
1 of 5 tasks
farvater11 opened this issue Mar 11, 2019 · 4 comments
Open
1 of 5 tasks

Notification on start and end on pauses #10

farvater11 opened this issue Mar 11, 2019 · 4 comments

Comments

@farvater11
Copy link

farvater11 commented Mar 11, 2019

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

@colinkiama
Copy link

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

@avestura
Copy link
Owner

@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)

@colinkiama
Copy link

Awesome! Will create a PR once I'm done

@colinkiama
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants