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

Issue 7060066: Improve login UX

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by gary.poster
Modified:
11 years, 3 months ago
Reviewers:
frankban, matthew.scott, mp+142599
Visibility:
Public.

Description

Improve login UX Use the login UX provided by our designers. This also means that help text can advise what password to use, and that we can retry authentication after a failed password. https://code.launchpad.net/~gary/juju-gui/login-ui/+merge/142599 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -72 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M app/app.js View 3 chunks +33 lines, -21 lines 0 comments Download
M app/config-debug.js View 1 chunk +2 lines, -1 line 0 comments Download
M app/config-prod.js View 1 chunk +4 lines, -1 line 0 comments Download
M app/index.html View 1 chunk +1 line, -1 line 0 comments Download
M app/store/env.js View 2 chunks +2 lines, -1 line 0 comments Download
A app/templates/login.handlebars View 1 chunk +16 lines, -0 lines 2 comments Download
M app/views/login.js View 2 chunks +65 lines, -35 lines 0 comments Download
M lib/views/stylesheet.less View 2 chunks +93 lines, -0 lines 2 comments Download
M test/index.html View 2 chunks +2 lines, -3 lines 0 comments Download
M test/test_app.js View 2 chunks +3 lines, -3 lines 0 comments Download
M test/test_login.js View 2 chunks +62 lines, -6 lines 2 comments Download

Messages

Total messages: 5
gary.poster
Please take a look.
11 years, 3 months ago (2013-01-09 21:38:39 UTC) #1
matthew.scott
This looks good to me, land with a few minors (or correct me if I'm ...
11 years, 3 months ago (2013-01-10 00:32:12 UTC) #2
matthew.scott
On 2013/01/10 00:32:12, matthew.scott wrote: > This looks good to me, land with a few ...
11 years, 3 months ago (2013-01-10 00:40:06 UTC) #3
frankban
Land with changes suggested by Matthew. Thanks Gary for your fixes to the test problems ...
11 years, 3 months ago (2013-01-10 10:13:02 UTC) #4
frankban
11 years, 3 months ago (2013-01-10 10:57:53 UTC) #5
Thanks for the review Matthew.
This branch has been fixed and landed.
See https://codereview.appspot.com/7060068

https://codereview.appspot.com/7060066/diff/1/app/templates/login.handlebars
File app/templates/login.handlebars (right):

https://codereview.appspot.com/7060066/diff/1/app/templates/login.handlebars#...
app/templates/login.handlebars:8: <input type="text" disabled="disabled"
value="admin"></input>
On 2013/01/10 00:32:12, matthew.scott wrote:
> In general, <a> and <script> are the only empty tags.  input (along with hr,
b,
> etc) is usually a void tag, meaning that it self-closes like <input />.  I
> belieeeeve that's what's done elsewhere?  I'll need to check, but I suppose
> matching the current standard we use is best.

Done.

https://codereview.appspot.com/7060066/diff/1/lib/views/stylesheet.less
File lib/views/stylesheet.less (right):

https://codereview.appspot.com/7060066/diff/1/lib/views/stylesheet.less#newco...
lib/views/stylesheet.less:1406: 
On 2013/01/10 00:32:12, matthew.scott wrote:
> Indenting is a mix of 2 and 4 here (which, to be fair, is the case for the
whole
> file.  Maybe this is something to look into in the future for the rest of the
> file, but could be solidified for this bit below.

Done. Indented 4 spaces.

https://codereview.appspot.com/7060066/diff/1/test/test_login.js
File test/test_login.js (right):

https://codereview.appspot.com/7060066/diff/1/test/test_login.js#newcode119
test/test_login.js:119: test('the view login method calls the environment login
one', function() {
On 2013/01/10 00:32:12, matthew.scott wrote:
> The 'one' at the end of the test description is ambiguous; thought it was
> referring to view, which may be due to our dual use of 'environment' for the
> view and the WS layer.  'the view login method logs in through the
environment'
> maybe?

Done.
Sign in to reply to this message.

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