Closed Bug 504716 Opened 16 years ago Closed 16 years ago

[ForumUX] Log in on the page when replying to threads instead of having to navigate away to a separate login page

Categories

(support.mozilla.org :: General, defect, P4)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: paulc)

References

Details

(Whiteboard: sumo_only)

Attachments

(3 files, 2 obsolete files)

Currently the if you are logged out and you want to reply to a thread, you have to log in and get back to the thread,
For security reasons, we cannot log in users through http://, thus, the proposed implementation is the following: * if on http://, post the data to the https of the same page, fill in the reply with posted data, and show login form * if on https://, include login form with the post and log in the user + create the reply Objections? Look for a patch soon.
Attached image demo anonymous
Assignee: nobody → paul.craciunoiu
Attached image demo contrib
So I talked to Cheng and the UI for posting a reply could use some retouching. The above are proposed UI's for anonymous versus logged in users. Clicking on "Registered contributor?" in the first screenshot brings up the second, and vice versa for clicking on "Post without registering" How's it look for you?
Just a point, clicking on "registered contributor?" or "Post without registering" will NOT refresh the form data.
Attached patch patch, v1 (obsolete) — Splinter Review
This implements the behavior detailed in screenshots. Laura, have a good kick at it :)
Attachment #393717 - Flags: review?(laura)
"Post without registering" seems a bit misleading to me, unless users can register an account by filling in a username and password. For parity with "registered contributor?" I'd suggest "don't have an account?" Normally this would be a problem because the answer to that is usually to point users to a registration form, however, we don't want to encourage users to sign up from threads where anonymous posting is allowed anyway.
Attachment #393717 - Flags: review?(laura) → review+
Not committed, load on QA means -> 1.4.1
Target Milestone: 1.4 → 1.4.1
Attached patch patch, v2 (obsolete) — Splinter Review
Old patch failed to apply. I took the chance to update it with more friendly error messages (mistyping the antibot code doesn't take you to the error page), as well as make sure the comment is not posted (as anonymous) when login credentials are invalid. The purpose of response seems to not be saved, but I could swear I saw a separate bug about that. Oh well, if there isn't, we'll file one. Note: before reviewing this, I'd apply the patch from bug 518979 -- reverting to main index gets really annoying. Hope I didn't miss anything!
Attachment #393717 - Attachment is obsolete: true
Attachment #403439 - Flags: review?(james)
If I choose to log in while viewing the post from HTTP, I end up on HTTP again, shouldn't I be on HTTPS?
Yes, I may have forgotten to post to https://
Comment on attachment 403439 [details] [diff] [review] patch, v2 Just need to make sure we're posting to HTTPS.
Attachment #403439 - Flags: review?(james) → review-
Attached patch v3Splinter Review
There we go.
Attachment #403439 - Attachment is obsolete: true
Attachment #403956 - Flags: review?(james)
Priority: -- → P4
Target Milestone: 1.4.1 → 1.4.2
Comment on attachment 403956 [details] [diff] [review] v3 WFM, thanks!
Attachment #403956 - Flags: review?(james) → review+
r52763 / r52764 Woot! I love usability improvements :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
This landed a little earlier than expected ;)
Target Milestone: 1.4.2 → 1.4.1
Verified, FIXED.
Status: RESOLVED → VERIFIED
Wow, really cool!
Whiteboard: sumo_only
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: