Closed Bug 610799 Opened 14 years ago Closed 14 years ago

Add character counter to idea submission page

Categories

(Input :: General, enhancement, P1)

enhancement

Tracking

(Not tracked)

VERIFIED FIXED

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.
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.
Nope, it'll need to be 250, 50 (orange), 25 (red), 0, -1, etc.
Assignee: fwenzel → ryan
I think this is done, right Ryan?
Never mind, needed to read comment #2
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
Added to litmus 15029
Flags: in-testsuite? → in-testsuite+
(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+
Ah, sorry. I am working on an automated test but it's not complete yet.
Selenium test now in main test repo.
Flags: in-testsuite? → in-testsuite+
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.