Tags:
create new tag
view all tags

Idea for SliderContrib

We have now all major form field input types for TWikiForms, as well as extra ones such as calendar type (JSCalendarContrib), color type (ColorPickerPlugin) and rating type (RatingContrib). The only input field that is missing (compared to controls on OS-X) is a slider. Since we standardized on jQuery I looked around for a jQuery based solution and found a nice one: jSlider by Egor Khmelev.

Slider screenshot:
slider-screenshot.png
    Working example:

Anyone interested in creating this SliderContrib? Probably best to clone from the new ColorPickerPlugin.

-- PeterThoeny - 2010-11-27

For those interested in contributing back to the FOSS (free and open source) TWiki project there is plenty to chose from based on interest. A few examples:

Some Sample Coding Projects - Grab one that is not taken and implement it!
screen071-150.jpg Create a Gantt editor plugin based on the jQueryGantt editor -- see details   autocomplete2.png Update & simplify AutoCompletePlugin to use the JQueryPlugin instead of the YahooUserInterfaceContrib -- see details
starrating.png Convert the RatingContrib into a plugin and name it StarRatingPlugin -- see comments   svgdraw-small.png Create a TWikiDrawSvgPlugin - an SVG based draw plugin to replace the TWikiDrawPlugin -- see comments
encrypt-password.png Create a EncryptPlugin - many companies would love to have a way to securely store passwords in TWiki -- see comments

CraigMeyer is currently coding this
  benchmarks.png PluginBenchmarks - we need a better plugin benchmarking tool
list-plugin.png Create a ListPlugin to control bullet lists, such as the start number of ordered lists -- see details   slideshow.png Enhance usability of the SlideShowPlugin to support S5 or other Javascript/CSS solutions for better presentations -- see comments
survey.png Create a SurveyPlugin to conduct and manage user surveys -- see comments   piechart.png Add piechart feature to ChartPlugin
image-selector.png Create an ImageSelectionPlugin to manage pictures attached to dashboards -- see details   openid.png Fix the OpenIdRpContrib to work with TWiki-5.0 and enhance integration to use the new user data management API and GUI

IanKluft is currently coding this
calendar.png Enhance the CalendarPlugin with GUI to add/change events; support hourly events; import and export of iCalendar events   floppy.png Create an auto-save feature for TWiki: Save topic text periodically to a temporary location to reduce the chance of losing content in edit sessions -- see discussions
database-backend.png Database backend to store TWiki topics - as an option to flat-file data store -- see details   topic-name.png Allow free-form topic names, e.g. less geeky than WikiWords -- see details
skins.png Simplify skin creation, with the goal to make it very easy for integrators to create a new skin -- see details   jquery.png Move to jQuery - TWiki-5.0 already standardized on jQuery, but Behaviour dependency needs to be removed in various places -- see details
search-box.png Combine functionality of JumpBox and search into a single search box -- see proposal

PeterThoeny is currently coding this
  select-users.png Point and click access control with GUI to manage groups: Select users into a group; select a group to restrict access to a web -- see details
js-popup.jpg Update JSPopupPlugin to use the JQueryPlugin instead of the YahooUserInterfaceContrib -- see details   twiki-on-win.jpg Update TWikiForWindowsPersonal to use the latest TWiki-6.1 release
ubuntu.png Create an Ubunty Linux distribution of TWiki-6.1 for an easy install: apt get twiki   twitter-widget-150.png Create a TwitterPlugin to link @somename to the Twitter website, and to show Twitter widgets in TWiki pages -- see details
keyword-search.png Make topic summary optionally based on search terms -- see details

SteveMokris is currently coding this
  wanted-pages.jpg Create a WantedPagesPlugin that lists pages waiting to be created, e.g. red-links indicating non-existing pages -- see details

TylerSlijboom is currently coding this
autocomplete.png Improve TagMePlugin - Ajax-ify the tagging plugin using jQuery   core.png Many core features are waiting to be implemented, see list at TWikiFeatureProposals

-- PeterThoeny - 2010-11-28

Here is another idea: Possibly better to write a SliderControlPlugin instead of a contrib. Same functionality, and in addition a %SLIDERCONTROL{...}% that generates an HTML input field for use in HTML forms.

-- PeterThoeny - 2010-11-29

I'll start working on this (SliderControlPlugin). Prepare for a barrage of questions.

-- AaronLWalker - 2010-11-30

Cool! Thank you Aaron. ScottCranston also showed interest in writing this plugin. Let's coordinate who does what. There are also other interesting projects waiting to be implemented. I'll glady help out in any questions that come along.

-- PeterThoeny - 2010-11-30

Great! Well, I'm pretty close to having something to submit. If I get out there and see something is already there, then I'll hold back and see what what was done. Otherwise, I'll submit my stuff.

-- AaronLWalker - 2010-12-01

I'm in svn hell. I'm trying to follow the directions. When I try to build the manifest, and I get svn: '/var/www/twiki/SliderControlPlugin/data/TWiki' is not a working copy, is that something I can ignore at this point? Do I need to check everything in (I did the create_new_extension.pl, but I have not incorporated all my own code) to start making svn happy?

-- AaronLWalker - 2010-12-02

May be fastest if we connect via instant message, possibly screen sharing. I'll connect via e-mail.

-- PeterThoeny - 2010-12-02

What a difference "svn add" can make. frown Still not very comfortable, but once I do, I'll start changing the doc.

Uploaded a working copy to svn. I'm implementing it like so:

%!SLIDERCONTROL{ name="sliderEx01" from="5" to="50" step="2.5" initvals="40" round="1" dimension=" €" }%

Some options that are available allow you to pass in custom javascript functions (for example, the "calculate" parameter). I wonder if this is too much of a security hole, and yet I don't want to remove this flexibility. Not sure of the best way to implement that.

-- AaronLWalker - 2010-12-02

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip jSlider.zip r1 manage 78.1 K 2010-11-27 - 20:12 PeterThoeny  
JavaScriptjs jquery.dependClass.js r1 manage 1.3 K 2010-11-27 - 20:12 PeterThoeny  
JavaScriptjs jquery.slider-min.js r1 manage 14.8 K 2010-11-27 - 20:12 PeterThoeny  
JavaScriptjs jquery.slider.js r1 manage 27.3 K 2010-11-27 - 20:12 PeterThoeny  
Cascading Style Sheet filecss jslider.css r1 manage 2.2 K 2010-11-27 - 20:12 PeterThoeny  
PNGpng jslider.png r1 manage 1.0 K 2010-11-27 - 20:12 PeterThoeny  
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r12 - 2010-12-02 - AaronLWalker
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.