Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Issue 2248893002: Settings page for analytics ID (Closed)

Created:
4 years, 4 months ago by Ryan Tseng
Modified:
4 years, 3 months ago
Reviewers:
Vadim Sh., estaab, hinoka
CC:
andrew.wang, chromium-reviews, infra-reviews+luci-go_chromium.org, M-A Ruel, tandrii+luci-go_chromium.org, todd
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

Milo: Settings page for analytics ID Provide a way to add an /admin/settings page to configure a Google Analytics ID to add to an app. BUG=632212 Committed: https://github.com/luci/luci-go/commit/6a138f5bafcba6793847787e20a2afe92ccf1a4f

Patch Set 1 #

Patch Set 2 : Update tests #

Patch Set 3 : Rebase #

Total comments: 2

Patch Set 4 : y #

Total comments: 6

Patch Set 5 : Review #

Patch Set 6 : Fix tests #

Total comments: 4

Patch Set 7 : Fix tests #

Patch Set 8 : Review #

Total comments: 2

Patch Set 9 : y #

Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -4 lines) Patch
M appengine/gaemiddleware/context.go View 1 chunk +3 lines, -3 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuild-Debug_page-_CrWinGoma_30608.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuild-Debug_page-_win_chromium_rel_ng_246309.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_no_builds.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-buildbot.TestableBuilder-Basic_Test_with_builds.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-frontend.testableFrontpage-Basic_frontpage.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-settings.TestableSettings-Settings.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-Basic_successful_build.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-canceled.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-exception.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-hang.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-link.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-patch-failure.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-pending.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-running.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-timeout.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableBuild-build-unicode.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/expectations/buildbot-swarming.TestableLog-Basic_log.html View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M milo/appengine/frontend/milo_test.go View 1 2 3 4 5 4 chunks +9 lines, -1 line 0 comments Download
M milo/appengine/frontend/templates/buildbot/includes/buildbot.html View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M milo/appengine/settings/themes.go View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A server/analytics/analytics.go View 1 2 3 4 5 6 7 8 1 chunk +46 lines, -0 lines 0 comments Download
A server/analytics/doc.go View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A server/analytics/settings.go View 1 2 3 4 5 6 7 8 1 chunk +115 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (41 generated)
Ryan Tseng
Rebase
4 years, 4 months ago (2016-08-23 18:26:00 UTC) #10
estaab
Not sure if this is ready for review yet, but you may want to include ...
4 years, 4 months ago (2016-08-24 16:42:09 UTC) #16
hinoka
ptal, I think this is the approach we're going with.
4 years, 3 months ago (2016-08-26 21:20:28 UTC) #22
Vadim Sh.
https://codereview.chromium.org/2248893002/diff/60001/appengine/gaemiddleware/settings.go File appengine/gaemiddleware/settings.go (right): https://codereview.chromium.org/2248893002/diff/60001/appengine/gaemiddleware/settings.go#newcode38 appengine/gaemiddleware/settings.go:38: AnalyticsID string `json:"analytics_id"` I'm confused, why do you have ...
4 years, 3 months ago (2016-08-26 21:55:06 UTC) #25
Ryan Tseng
Review
4 years, 3 months ago (2016-08-26 22:37:50 UTC) #26
Ryan Tseng
Fix tests
4 years, 3 months ago (2016-08-26 23:05:09 UTC) #31
Ryan Tseng
Fix tests
4 years, 3 months ago (2016-08-26 23:09:29 UTC) #34
hinoka
https://codereview.chromium.org/2248893002/diff/60001/appengine/gaemiddleware/settings.go File appengine/gaemiddleware/settings.go (right): https://codereview.chromium.org/2248893002/diff/60001/appengine/gaemiddleware/settings.go#newcode38 appengine/gaemiddleware/settings.go:38: AnalyticsID string `json:"analytics_id"` On 2016/08/26 21:55:05, Vadim Sh. wrote: ...
4 years, 3 months ago (2016-08-26 23:11:36 UTC) #37
Vadim Sh.
https://codereview.chromium.org/2248893002/diff/100001/server/analytics/settings.go File server/analytics/settings.go (right): https://codereview.chromium.org/2248893002/diff/100001/server/analytics/settings.go#newcode61 server/analytics/settings.go:61: func Snippet(c context.Context) template.HTML { add documenting comment https://codereview.chromium.org/2248893002/diff/100001/server/analytics/settings.go#newcode130 ...
4 years, 3 months ago (2016-08-26 23:12:00 UTC) #38
Ryan Tseng
Review
4 years, 3 months ago (2016-08-29 19:16:06 UTC) #41
Ryan Tseng
https://codereview.chromium.org/2248893002/diff/100001/server/analytics/settings.go File server/analytics/settings.go (right): https://codereview.chromium.org/2248893002/diff/100001/server/analytics/settings.go#newcode61 server/analytics/settings.go:61: func Snippet(c context.Context) template.HTML { On 2016/08/26 23:12:00, Vadim ...
4 years, 3 months ago (2016-08-29 19:21:40 UTC) #44
Vadim Sh.
lgtm with one final nit https://codereview.chromium.org/2248893002/diff/140001/server/analytics/settings.go File server/analytics/settings.go (right): https://codereview.chromium.org/2248893002/diff/140001/server/analytics/settings.go#newcode54 server/analytics/settings.go:54: // ID returns the ...
4 years, 3 months ago (2016-08-29 19:26:32 UTC) #47
Ryan Tseng
https://codereview.chromium.org/2248893002/diff/140001/server/analytics/settings.go File server/analytics/settings.go (right): https://codereview.chromium.org/2248893002/diff/140001/server/analytics/settings.go#newcode54 server/analytics/settings.go:54: // ID returns the Google Analytics ID if it's ...
4 years, 3 months ago (2016-08-29 19:36:01 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2248893002/160001
4 years, 3 months ago (2016-08-29 19:37:04 UTC) #54
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 19:47:35 UTC) #56
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://github.com/luci/luci-go/commit/6a138f5bafcba6793847787e20a2afe92ccf1a4f

Powered by Google App Engine
This is Rietveld 408576698