Closed
Bug 610799
Opened 14 years ago
Closed 14 years ago
Add character counter to idea submission page
Categories
(Input :: General, enhancement, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
2.1
People
(Reporter: wenzel, Assigned: ryansnyder)
References
Details
Once idea submissions land, we need to add the same character counter to it that we have for feedback now. Refer to bug 573817 for the character limits and colors that should be applied.
Assignee | ||
Comment 1•14 years ago
|
||
Aakash - do you want the same character count limit for happy/sad submissions to be applied to Ideas? Or do you want a different limit? Fwiw, the happy/sad pages are using an input text field, while the suggestion submission page is using a textarea.
Comment 2•14 years ago
|
||
Nope, it'll need to be 250, 50 (orange), 25 (red), 0, -1, etc.
Reporter | ||
Updated•14 years ago
|
Assignee: fwenzel → ryan
Comment 3•14 years ago
|
||
I think this is done, right Ryan?
Comment 4•14 years ago
|
||
Never mind, needed to read comment #2
Assignee | ||
Comment 5•14 years ago
|
||
Okay, this now counts down for 250 characters for suggestions and 140 characters for praise and issues. I updated the JS a bit (to reduce code) so that the happy/sad/suggestion pages all turn orange then they reach 20% of the max characters, and red at 10% of the max characters. It will change colors on the thresholds listed above, but will be slight different on praise / issues pages (will change at 36 characters and 18 characters). Committed. == https://github.com/fwenzel/reporter/commit/8bb543
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
Verified FIXED; we also filed bug 616230. * http://input.stage.mozilla.com/en-US/suggestion has 250 chars * http://input.stage.mozilla.com/en-US/happy has 140 chars * http://input.stage.mozilla.com/en-US/sad has 140 chars
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Flags: in-testsuite?
Comment 8•14 years ago
|
||
(In reply to comment #7) > Added to litmus 15029 Then you want the In-Litmus+ flag, not In-Testsuite+; adjusting.
Flags: in-testsuite?
Flags: in-testsuite+
Flags: in-litmus+
Comment 9•14 years ago
|
||
Ah, sorry. I am working on an automated test but it's not complete yet.
Updated•13 years ago
|
Component: Input → General
Product: Webtools → Input
You need to log in
before you can comment on or make changes to this bug.
Description
•