-
20 Jan 2011 10:00 AM #1
Ext.ux.touch.Rating
Ext.ux.touch.Rating
I’d like to introduce you Ext.ux.touch.Rating control for Sencha Touch framework.
GitHub: https://github.com/podlipensky/Ext.ux.touch.Rating
Demo: http://podlipensky.com/sencha/exampl...ing/index.html
More examples and documentation: http://podlipensky.com/2011/01/sench...ating-control/


I added one experimental (optional) behavior to the control – when user tap/drag over some star, all previous stars change their color to (predefined) another color. So user can assume what the current rating is by noticing color of the first (previous) star (which is not hovered by thumb anymore).Code:new Ext.ux.touch.Rating({ itemsCount : 5, label : 'Star', inputCls : 'x-rating-star-input', itemCls : 'x-rating-star', itemHoverCls : 'x-rating-star-hover' })
You're welcome with comments and suggestions.
UPDATE 3/20/2012:
Finally I migrated rating field to Sencha Touch 2.0, find more details here: http://podlipensky.com/2012/03/sench...-touch-rating/My recent commitment into Sencha community:
Star Rating Field: https://github.com/podlipensky/Ext.ux.touch.Rating
Sencha Articles on my blog: http://podlipensky.com
-
20 Jan 2011 12:28 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
Nice job, very well done!
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
21 Jan 2011 3:33 AM #3
That's an example of how a simple idea can turns into a really nice extension.
Well done Poliplensky
Sencha Inc
Andrea Cammarata, Solutions Engineer
CEO at SIMACS
@AndreaCammarata
www.andreacammarata.com
github: https://github.com/AndreaCammarata
-
21 Jan 2011 7:42 AM #4
Thats cool , thanks for sharing
-
24 Jan 2011 12:50 AM #5
-
24 Jan 2011 3:52 AM #6
-
30 Jan 2011 12:13 PM #7
This is great and exactly what I needed - thanks so much! Would you consider adding an option to clear the field completely - i.e. select no stars? This would be useful in the case where a user doesn't want to supply a rating - but doesn't want to indicate "one star."
Perhaps there could be an icon to the far left or right with an "x" or similar that would set this 'null' value, setting all stars to the unselected class and causing the field to return -1 or null as its value.
Again - great plugin and contribution to the Touch framework!
- ATM
-
30 Jan 2011 5:06 PM #8
My recent commitment into Sencha community:
Star Rating Field: https://github.com/podlipensky/Ext.ux.touch.Rating
Sencha Articles on my blog: http://podlipensky.com
-
31 Jan 2011 8:34 PM #9
Nice - thanks!
Nice - thanks!
Great - THANKS!! Very well done and exactly what I needed. I was working on it late last night, posted my suggestion, and woke up this AM to find it magically done. Amazing.
Integration and testing went perfectly - I'll stay subscribed to this thread for any future updates and should post a screenshot soon to show you your efforts in place in our app.
Again, many thanks and most impressed.
-
1 Feb 2011 8:57 PM #10
Quick screen-shot - form isn't much to look at, but again wanted to say thanks for the plug-in.

Similar Threads
-
Rating extension
By Alcoholov in forum Ext 2.x: User Extensions and PluginsReplies: 32Last Post: 8 Dec 2010, 8:26 PM -
[FIXED-598] Getting Started has ext-touch-debug.js instead of sencha-touch-debug.js
By scottpenrose in forum Sencha Touch 1.x: BugsReplies: 2Last Post: 26 Nov 2010, 9:58 AM -
[CLOSED] Ext JS 3.3 Examples - Binding a Grid to a Form - Rating bug.
By shousper in forum Ext 3.x: BugsReplies: 1Last Post: 10 Nov 2010, 7:07 PM -
[1.1] Ext.ux.StarRating : Star rating/voting system - forms or standalone
By Saeven in forum Ext 1.x: User Extensions and PluginsReplies: 5Last Post: 15 Oct 2009, 2:40 PM -
Problem Regarding the Thread Rating
By lewgwapo1 in forum Community DiscussionReplies: 0Last Post: 21 May 2008, 11:40 PM


Reply With Quote
