Git Product home page Git Product logo

film-night's People

Contributors

jstockwin avatar tom-johnston avatar unpairedbracket avatar

Watchers

 avatar  avatar  avatar  avatar

film-night's Issues

The scores for baldwin/nanson are not helpful or intuitive.

It shows the score that the borda count assigns to it when it is eliminated. When a candidate is removed the borda count now has less candidates so the score for coming first is reduced etc. Hence the scores are often decreasing although at each step a higher score is better. In Nanson candidates below the average are eliminated so having scores which are not monotonic occurs quite frequently. This could be fixed by specifying the top score in the borda count but it doesn't quite fit with the idea of removing a candidate and running the count as if the candidate was never there.

Favicon is the same colour as the theme

On android the favicon is not visible as it is the same colour as the theme. Can we use a white favicon if the user is on an android phone? Or should we just change the theme colour?

image

Split files

  • Move the JS into separate files that are either linked or included.
  • Split the styles.

Colours

Check the colours used and create a global palette. Is the purple used for the veto in voting the same as the purple used in node colours?

Users should be able to get notifications on multiple browsers.

This should be a simple case of comma separating the end points.

  • May need to make the end point field in the SQL DB longer? (It's currently 255)
  • Users should be able to remove each individual browser from getting notifications. This should simply be removing the correct entry from the list. Should also have an "unregister all" button.
  • What happens if e.g. the user gets a new pc/phone. They'll end up with unwanted end points. Is this an issue? Presumably nothing will break, but could eventually cause problems?

Check votes are valid.

Votes of the wrong form can cause the JavaScript to get stuck in an infinite loop and crash.
e.g.

  • AV (and presumably the other runoff voting methods) loop forever if the only films to remove are not in the listOfCandidates.
  • Borda count can't cope if a film isn't in a vote.

We should sanitise the votes either on the server, in the Javascript voting methods or both.

Fortunately the members are too nice and/or too incompetent to ruin film night by submitting votes of the wrong form. Unfortunately they have almost managed to ruin film night by submitting terrible films.

First-Past-the-Post

It is used in each step of AV so it will be implemented as an function anyway.

Submitting films should have error handling

Will probably just change the text of the "Submit" button. If things go well, it will be "Submit" -> "Submitting" -> "Submitted", else it will be "Submit" -> "Submitting" -> "Error"

9f5795fff90cbf229051df72b87281b827590012

9f5795f

  • IDs should be lowercase.
  • Shouldn't override the padding
  • Only one of the buttons gets updated so the reveal is ruined. This also causes the problem which was "fixed" by overriding the padding.

Should be able to hit enter to search

Possibly use a search input type for the name as that you get a nice search icon on the keyboard. I would go for tel over search for the year to force numbers.

You can't sign out.

When you click log out, you are logged out. However, google automatically signs you straight back in.

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.