Closed Bug 600739 Opened 14 years ago Closed 14 years ago

Show error messages in tweet reply box

Categories

(support.mozilla.org :: Army of Awesome, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: williamr, Assigned: abuchanan)

References

Details

Attachments

(1 file)

We need to add two error messages for when a user clicks the submit button with an unexpected result. These messages should appear where the success message normally appears, they should be next to a red X instead of the green check mark.

1. Use case: Message contains more than 140 characters
- Error message: "Message is too long"
- Note: The tweet should not be sent if message is over 140 characters, so we must check for this before sending the tweet.

2. Use case: Message is not successfully sent via Twitter API
- Error message: "Sorry, an error occurred"
Target Milestone: --- → 2.2.5
http://github.com/jsocol/kitsune/commit/36a6820ce0eaff10e4c8971c7df6f9acc67e6a6c
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
I haven't yet figured out how to test part 2; I've put:

127.0.0.1 *.twitter.com in my HOSTS file, and it still goes through.  Suggestions welcome.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: