SkuleVote

Testing Server: http://skulevote.heroku.com/ Backend: /admin User: admin Pass: pass

Task-Based Site Map

Task Route Controller View* Partials*
User
user dashboard / Elections > Index index
election vote interface /elections/:election_id/vote Elections > Vote vote _multiple_choice _preferential _single_choice
cast vote Votes > Create
help page /help Election > Help help
Admin
admin dashboard /admin Election > Admin admin _election
edit election /elections/:election_id/edit Election > Edit edit _form _add_choice_link _choice
update election Election > Update
add election /elections/new Election > New new
create election Election > Create
remove election Election > Destroy
show election results /elections/:election_id/results Election > Results results
list election ballots /elections/:election_id/ballots Election > Ballots ballots
add election choice /election/add_choice Elections > Add_Choice add_choice.rjs
edit election choice
remove election choice
  • * all views are: /views/elections/*.html.haml (or *.rjs)
  • * all partials are: /views/partials/_*.html.haml

To Do

  • validation
    • election creation fields
    • only allow creation of ballots and votes if election is active and not disabled
    • election creation fails when no name (validation doesn't know where to bounce back on fail) PRIORITY
    • don't save election unless it has at least one choice
  • security
    • make sure create, destroy, etc. only respond to POST
  • voting
    • enforce max choices PRIORITY
    • enforce min choices PRIORITY
    • bug: if user unclicks a checkbox, they can still vote PRIORITY
    • whole region in preferential voting should be draggable
  • admin
    • results generator for preferential elections PRIORITY
    • allow quick disabling of election
    • output vote DB
  • misc
    • fix time to be local
    • help page content
    • pop up on first use of app explaining how preferential voting works
    • rewrite addition of choice fields to use this example
  • user session system
    • two methods:
      • email + unique URL generator
      • hash-based user login

Refs

 
projects/skulevote.txt · Last modified: 2009/09/20 23:15 by rafd
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki