Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1952)

Issue 9967044: A cookies warning handler, enabled by analytics.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by teknico
Modified:
10 years, 10 months ago
Reviewers:
jeff.pihach, mp+168495
Visibility:
Public.

Description

A cookies warning handler, enabled by analytics. When "useAnalytics" is set to "true", we use a cookie to record user agreement to the usage of cookies. :-) A banner will be displayed asking for cookie usage agreement, and the cookie will be set on user dismissal of said banner. https://code.launchpad.net/~teknico/juju-gui/add-cookies-usage-banner/+merge/168495 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 34

Patch Set 2 : A cookies warning handler, enabled by analytics. #

Total comments: 12

Patch Set 3 : A cookies warning handler, enabled by analytics. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -6 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 1 2 7 chunks +34 lines, -3 lines 0 comments Download
A app/assets/javascripts/app-cookies-extension.js View 1 2 1 chunk +75 lines, -0 lines 0 comments Download
M app/config-debug.js View 1 1 chunk +2 lines, -1 line 0 comments Download
M app/config-prod.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M app/index.html View 1 2 2 chunks +12 lines, -2 lines 0 comments Download
M app/modules-debug.js View 1 1 chunk +4 lines, -0 lines 0 comments Download
M bin/merge-files View 1 1 chunk +1 line, -0 lines 0 comments Download
A lib/views/cookies.less View 1 chunk +50 lines, -0 lines 0 comments Download
M lib/views/stylesheet.less View 1 1 chunk +3 lines, -0 lines 0 comments Download
M test/index.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A test/test_cookies_app_extension.js View 1 2 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 8
teknico
Please take a look.
10 years, 10 months ago (2013-06-10 17:03:32 UTC) #1
jeff.pihach
Thanks for this! However, I feel like this could be done in a more efficient ...
10 years, 10 months ago (2013-06-10 17:24:53 UTC) #2
bac
I tried to QA this branch but could not get the banner to show even ...
10 years, 10 months ago (2013-06-10 20:42:58 UTC) #3
teknico
Thanks for you comments, Brad and Jeff. Brad, I resolved all your points except the ...
10 years, 10 months ago (2013-06-11 11:16:49 UTC) #4
teknico
Please take a look.
10 years, 10 months ago (2013-06-12 17:05:42 UTC) #5
jeff.pihach
LGTM - I have a few very small improvement comments below but overall thanks for ...
10 years, 10 months ago (2013-06-12 17:27:32 UTC) #6
teknico
All done. Thank you again for your help. https://codereview.appspot.com/9967044/diff/12001/app/app.js File app/app.js (right): https://codereview.appspot.com/9967044/diff/12001/app/app.js#newcode1225 app/app.js:1225: handleCookies: ...
10 years, 10 months ago (2013-06-12 17:50:27 UTC) #7
teknico
10 years, 10 months ago (2013-06-12 18:04:14 UTC) #8
*** Submitted:

A cookies warning handler, enabled by analytics.

When "useAnalytics" is set to "true", we use a cookie to record user
agreement to the usage of cookies. :-)

A banner will be displayed asking for cookie usage agreement,
and the cookie will be set on user dismissal of said banner.

R=jeff.pihach, bac
CC=
https://codereview.appspot.com/9967044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b