Git Product home page Git Product logo

hypervote's Introduction

hypervote's People

Contributors

kittsville avatar

Watchers

 avatar  avatar  avatar

hypervote's Issues

Test Hypervote on mobile devices

Hypervote is meant to be used on-the-go and deployed where conventional voting would have too much overhead. This means ease of voting via a mobile device must be a priority. Despite this no testing has been done on any smartphones!

Implement voting sessions

Currently voting can be done at any time and the results go unrecorded. This issue is about making voting only allowed between specific periods of time specified by admins.

Add app/neu/dis numbers to each data point

Current there's no way of getting statistics for previous data points. Short of remembering, you don't know if 80% approval was 5 approval, 1 neutral, 0 disapproval or any other combination that makes for 80%.

Using a function on each point's draw event these numbers could be added to the graph.

Whether they should be always visible or appear on hover or on click is all up for debate.

Given how many more important things there are to work on I've no plans to implement this for a while.

Add archiving of votes

Currently voting data is calculated based on all existing votes. When a vote expires it's gone forever. It would be useful to have this data archived and made public for analytics purposes.

Once #4 is implemented it'd be simple to add a scheduled event that saves the app/neu/dis vote counts every minute.

Reduce number of timestamps on smaller resolutions

15 timestamps for 15 data points is fine on a wide screen but on a small screen it just becomes a mess of black shapes. This might be fixable with pure CSS @media queries but we'll see.

Demonstration:
2016-06-04_19-19-30

Sort votes on front end before display

Requests do not have to return in the order they were sent. This can lead to one result returning before another. If the results arrays (data and labels) are not sorted by their timestamps the graph could end up displaying points out of order, like so:

0 seconds --- 6 seconds ---- 3 seconds --- 9 seconds

Keyboard shortcuts activating when Ctrl/Alt held

a, n and d are used as a keyboard shortcuts for ease of voting. Currently they are activating when the keys are pressed, even if Ctrl and/or Alt were being held at the time. Understandably people shouldn't expect voting to occur when using unrelated keyboard shortcuts such as Ctrl + N (new window).

This can be fixed with a simple check to see if Ctrl or Alt are being held. It's included in the keyboard event passed to the UI handler.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.