Closed Bug 532932 Opened 15 years ago Closed 14 years ago

No error prompting for invalid email on weave sign up

Categories

(Firefox :: Sync, defect, P2)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: tchung, Assigned: zpao)

Details

(Whiteboard: [WeaveTestday])

Attachments

(1 file)

There's no UI error prompting the user when entering in an invalid email address.  We should at least indicate something there, because the "Continue" button remains disabled.   Users can easily think their problems is elsewhere (password, username), and not necessarily an invalid email address.  ...I know, the email address is obviously fluked in my example below, but we should still show an error message)

Repro:
1) install weave 1.0b3pre
2) create a new account page
3) enter in valid usernames, passwords, but a invalid email  (eg. "sdlkfj.com")
4) verify the "Continue" button remains grayed out, but no note saying email is invalid to the user.

Expected:
- some message saying you need a valid email address.  (esp since we're already checking valid ascii formatting on the client side)
Whiteboard: [WeaveTestday]
OS: Mac OS X → All
Hardware: x86 → All
This needs a string, so it's a 1.2 blocker.
Severity: normal → minor
Flags: blocking-weave1.2+
Priority: -- → P2
Target Milestone: --- → 1.2
Assignee: nobody → mconnor
Assignee: mconnor → paul
Attached patch Patch v0.1Splinter Review
Now it does.
Attachment #436345 - Flags: review?(mconnor)
Whiteboard: [WeaveTestday] → [WeaveTestday][has patch][needs review mconnor]
Attachment #436345 - Flags: review?(mconnor) → review+
Comment on attachment 436345 [details] [diff] [review]
Patch v0.1

Hold on ;) Don't we need a conditional "" depending on the email status to clear out the message on a successful email?
Attachment #436345 - Flags: review+ → review?(edilee)
Attachment #436345 - Flags: review?(edilee) → review+
Whiteboard: [WeaveTestday][has patch][needs review mconnor] → [WeaveTestday][has patch][has review]
(In reply to comment #3)
> (From update of attachment 436345 [details] [diff] [review])
> Hold on ;) Don't we need a conditional "" depending on the email status to
> clear out the message on a successful email?

Per our chat on IRC, no, we're good. For future posterity, since we're hiding the row anyway, it doesn't matter. It we want to get picky, we could followup and clean up the usage of _setFeedbackMessage across callers.

Pushed http://hg.mozilla.org/labs/weave/rev/0017b82a9fd7
(forgot the extended commit message... oops)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [WeaveTestday][has patch][has review] → [WeaveTestday]
Component: Firefox Sync: UI → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: