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

Issue 2985923002: config_service: Handled errors in the front page (Closed)

Created:
3 years, 4 months ago by cwpayton
Modified:
3 years, 4 months ago
Reviewers:
Sergey Berezin, hinoka
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

config_service: Handled errors in the front page The front page was not handling 500 errors so loading screen went forever. BUG=748809 Review-Url: https://codereview.chromium.org/2985923002 Committed: https://github.com/luci/luci-py/commit/6674189717fad0cf0b8694eaa412e716487653ca

Patch Set 1 #

Patch Set 2 : set isLoading to false after the error message is set #

Total comments: 9

Patch Set 3 : Removed extraneous code from testing suite and fixed error messages #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -13 lines) Patch
M appengine/config_service/ui/src/config-ui/front-page.html View 1 2 5 chunks +37 lines, -13 lines 0 comments Download
M appengine/config_service/ui/test/config-ui/front-page_test.html View 1 2 1 chunk +97 lines, -0 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
cwpayton
PTAL. Added error handling to front page as well as tests for the errors.
3 years, 4 months ago (2017-07-26 16:46:23 UTC) #2
Sergey Berezin
https://codereview.chromium.org/2985923002/diff/20001/appengine/config_service/ui/src/config-ui/front-page.html File appengine/config_service/ui/src/config-ui/front-page.html (right): https://codereview.chromium.org/2985923002/diff/20001/appengine/config_service/ui/src/config-ui/front-page.html#newcode178 appengine/config_service/ui/src/config-ui/front-page.html:178: this.errorMessage = "Access denied. Please try again later."; I'd ...
3 years, 4 months ago (2017-07-26 19:40:31 UTC) #3
cwpayton
PTAL https://codereview.chromium.org/2985923002/diff/20001/appengine/config_service/ui/src/config-ui/front-page.html File appengine/config_service/ui/src/config-ui/front-page.html (right): https://codereview.chromium.org/2985923002/diff/20001/appengine/config_service/ui/src/config-ui/front-page.html#newcode178 appengine/config_service/ui/src/config-ui/front-page.html:178: this.errorMessage = "Access denied. Please try again later."; ...
3 years, 4 months ago (2017-07-26 22:48:50 UTC) #4
Sergey Berezin
LGTM + a couple of suggestions. Thanks! https://codereview.chromium.org/2985923002/diff/20001/appengine/config_service/ui/src/config-ui/front-page.html File appengine/config_service/ui/src/config-ui/front-page.html (right): https://codereview.chromium.org/2985923002/diff/20001/appengine/config_service/ui/src/config-ui/front-page.html#newcode180 appengine/config_service/ui/src/config-ui/front-page.html:180: this.errorMessage = ...
3 years, 4 months ago (2017-07-26 23:09:13 UTC) #5
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/2985923002/40001
3 years, 4 months ago (2017-07-26 23:45:36 UTC) #7
commit-bot: I haz the power
3 years, 4 months ago (2017-07-26 23:48:15 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-py/commit/6674189717fad0cf0b8694eaa412e716487653ca

Powered by Google App Engine
This is Rietveld 408576698