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

Issue 22500043: Fix ghost inspector initial name validation

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

Description

Fix ghost inspector initial name validation QA: deploy mediawiki with the default name. Make another ghost, and the inspector should correctly show that the default name is invalid. https://code.launchpad.net/~gary/juju-gui/nameCheck/+merge/194234 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix ghost inspector initial name validation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -16 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/ghost-inspector.js View 1 2 chunks +10 lines, -0 lines 0 comments Download
M app/views/viewlets/inspector-header.js View 1 1 chunk +13 lines, -16 lines 0 comments Download
M test/test_ghost_inspector.js View 2 chunks +47 lines, -0 lines 0 comments Download

Messages

Total messages: 4
gary.poster
Please take a look.
10 years, 6 months ago (2013-11-06 21:11:09 UTC) #1
jeff.pihach
LGTM with a small comment request. QA OK Thanks for this fix! https://codereview.appspot.com/22500043/diff/1/app/views/viewlets/inspector-header.js File app/views/viewlets/inspector-header.js ...
10 years, 6 months ago (2013-11-06 21:20:50 UTC) #2
gary.poster
*** Submitted: Fix ghost inspector initial name validation QA: deploy mediawiki with the default name. ...
10 years, 6 months ago (2013-11-06 21:45:58 UTC) #3
gary.poster
10 years, 6 months ago (2013-11-06 21:47:48 UTC) #4
On 2013/11/06 21:20:50, jeff.pihach wrote:
...
>
https://codereview.appspot.com/22500043/diff/1/app/views/viewlets/inspector-h...
> app/views/viewlets/inspector-header.js:59: var name =
> pojoModel.displayName.match(/^\(([^)]*)\)$/)[1];
> I'd love it if there was a quick comment describing what this regex looks for
to
> make the code easier to scan.

You want comments?  I'm your man!  Done. :-)

Thanks for the review!
Sign in to reply to this message.

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