ng-notifications-bar icon indicating copy to clipboard operation
ng-notifications-bar copied to clipboard

Use $cookieStore to save prevent notifications a user has already dismissed / closed

Open alexbeletsky opened this issue 9 years ago • 3 comments

Use $cookieStore to save prevent notifications a user has already dismissed / closed

  • This has a config spot in the provider (getSaveResponse, setSaveResponse)
  • Add a provider config option for the cookies prefix value
  • validate that a notification with saveResponse also has a id parameter. This was needed to find * correspond correct notifications for dismissal.

alexbeletsky avatar Feb 06 '15 11:02 alexbeletsky

Sub-task of #15

alexbeletsky avatar Feb 06 '15 11:02 alexbeletsky

I have implemented this code in my own codebase here. I would happy to take this ticket and use my current work as a starting point for a pull request.

EDIT: Too late, I already did it :+1:

vikeen avatar Feb 06 '15 17:02 vikeen

Discussion took place here.

alexbeletsky avatar Feb 11 '15 10:02 alexbeletsky