Spurrya / Calfit

3 stars 1 forks source link

Button for accepting workout reminder and calendar event when clicked #14

Open bhaanu77 opened 8 years ago

bhaanu77 commented 8 years ago

@Spurrya You can give this to your friend

Spurrya commented 8 years ago

Overview document with visually appealing examples https://developer.chrome.com/extensions/richNotifications (don't miss the part where they suggest to integrate "rich notifications api" with GCM) Very helpful Video - worth going through - https://www.youtube.com/watch/?v=g8fJWB2-pYk

This code sample suggested (based on which our chrome extension was developed) https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/gcm-notifications API reference based on which buttons can be shown in chrome noifications - https://developer.chrome.com/extensions/notifications#type-NotificationOptions

bhaanu77 commented 8 years ago

@Spurrya is anyone working on this? We can find a way to work on this though other dependencies like chrome extension authentication is not ready. In my opinion this is higher priority than authentication, because it shows value-add of the concept to judges and real life users

Spurrya commented 8 years ago

No one is working on this. I can during the weekend. Next three days, I am packed but after that, I can provide more contribution.

On 22 February 2016 at 14:53, Bhaanu Madhineni notifications@github.com wrote:

@Spurrya https://github.com/Spurrya is anyone working on this? We can find a way to work on this though other dependencies like chrome extension authentication is not ready. In my opinion this is higher priority than authentication, because it shows value-add of the concept to judges and real life users

— Reply to this email directly or view it on GitHub https://github.com/Spurrya/Calfit/issues/14#issuecomment-187351837.

bhaanu77 commented 8 years ago

@Spurrya Just in case if you start working on this issue please feel free to look at this sample https://github.com/ToothlessGear/node-gcm on how to send the GCM message from NodeJS. I think you already succeeded in sending a GCM message from nodejs to chrome extension on your laptop.

The way I understand as the relation between Rich notification API and GCM is that, you have to listen to message receiving event from GCM) on chrome extension side and then using Rich notification API generate the rich notification within the chrome extension. Kevin has also been spending some time on this. Just in case if you are stuck with something you can talk to me / him.

Spurrya commented 8 years ago

Hi @bhaanu77 , I have done exactly that! No need to spend time on the sending GCM notification task. The switch to remove the hard coded value is VERY easy. However, I did not start the accept button task yet. Planning on starting tomorrow after removing the hard coded value out :smile: