Giter VIP home page Giter VIP logo

foxxy's People

Contributors

aimed avatar

Stargazers

 avatar

Watchers

 avatar  avatar

foxxy's Issues

Improve user session handling

Currently user sessions are a weird mix between a library specific implementation and mobx.
Use callbacks for session status updates and subscribe in a separate mobx store.

Refactor scss/css

Two steps:

  • Refactor to scss -> nest when usefull
  • Properly apply BEM everywhere

Adds a history of recent rolls

When using the tool to randomly pick a movie I don't usually pick the first movie suggested but click the reroll button a few times. It seems desirable to be able to see all recent rolls on the bottom of the RandomPage.

On reroll select a movie that's not from the same year

When rerolling and the watchlist option is not selected, the next movie chosen was published in the same year as the prior movie. Ideally this should only be a result of random effects. When rerolling a new page should be fetched.

Improve range of random movies to select from

Currently a random movie is selected from the first page of popular movies from the last 20 years. Thus one of 20*20 = 400 of the recently popular movies is selected.

const lastYears = Array(20).fill(new Date().getFullYear()).map((y, i) => y - i);
const discoverOptions: DiscoverOptions = {
'primary_release_year': randomInArray(lastYears) as number,
'vote_average.gte': 5
};

It seems desirable to increase the amount of possible movies to pick from.

Bug when filtering by western as a category

We currently assume at least 20 pages per category within the last 20 years. But only 11 pages of westerns have been released. This causes some major bugs when an empty page has been selected.

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.