Git Product home page Git Product logo

click-and-roll's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

click-and-roll's Issues

Update website

  • Redesign for mobile first
  • Add responsive design for tablets
  • Add responsive changes for desktops
  • Add responsive changes for large-scale desktops (4k)
  • Darker motif
  • Remove gif
  • Add embedded video
  • Install links with large icons
  • Fix opacity in Firefox
  • Update embedded video once 2.0.0 is live on any store
  • Add privacy policy
  • Update install links once live on new stores

Separate tabs for regular and post season stats

  • Design tabs for switching between regular and postseason
  • Update server to send postseason stats
  • Show/hide correct table based on user's current choice
  • Fix formatting of empty/short post-season careers
  • Update cached stat version number

Dark Mode

  • Parameterise frame colours as CSS variables to create default palette
  • Design frame dark mode colour palette
  • Add toggle to popup
  • If dark mode is on, add dark mode class when initialising frame
  • Parameterise popup colours as CSS variables to create default palette
  • Design popup dark mode colour palette
  • Add dark mode class to popup on toggle

Build script

Automate copying and zipping of files for submission to web store.

Investigate and reduce size of sync settings

Sync storage has a size limit. This could theoretically be exceeded over time if user visits enough sites that save settings.

If default setting is currently saved, update so only off setting is saved (i.e. add setting for sites that are toggled off, delete that setting when toggled back on, rather than updating it).

Change all star db approach

Remove all star column from regular_seasons_per. Instead, fetch all star rows in server and use to add all star flag to regular season rows before sending to front-end.

Remove adding of all star column from cron.

Bug: Out-dated data

I have tested on a couple devices, all on Chrome. It seems that data stopped updating towards the end of the season:
image

Note 67 games played in the regular season rather than 72.

Nested names bug

Users noticed names within names getting highlighted, e.g. Mike Bloom within Mike Bloomberg. This is a simpler issue than player names within strings of 3+ names, e.g. a hypothetical Chris Mike Bloom, which this issue will not cover.

% Representation

Minor gripe, but under FG%, the number shown is a decimal, leading percentages to look 100x lower than they actually are. I propose the stat table to show FG% as either true percentage, e.g., 53%, or as a fraction, .53. But not both. Hope this makes sense

Cache data for ๐‘ฅ most recently viewed players, retrieve from cache

  • Research local and sync storage size limits
  • Establish reasonable number of players to cache
  • Cache player data + timestamp of fetch
  • Check cache before making ajax request
  • If not in cache: fetch, cache
  • If in cache but >= 3hrs old: delete, fetch, cache
  • If cache.length >= 50: 25 oldest viewed entries entry
  • Smoke testing

Pre-release smoke testing

  • View player
  • View player with short career
  • View player with no regular season stats
  • View player with no post season stats
  • Responsive design
  • Settings persistence
  • Dark mode
  • Cache replacement

Settings toggle to inverse row order

It would be better to have the first row career stats and have rows below be yearly stats counting backwards. I believe most use cases only care for career stats and most recent season or two.

Replace stats.nba.com api with calls to controlled DB

Excessive usage of stats.nba.com causes throttling and possible blacklisting. Replace with own DB accessed via server.

  • Get historic career stats and profiles up to 2018/19
  • Set up server exposing two REST API endpoints for retrieving player list and single player info
  • Update background script message handler to use new endpoints, single call per player
  • Restore active player check
  • Restore all star season mark
  • Open server to the outside world through a domain name
  • Increase time out in background script
  • Server side rate limiting/authentication
  • Cron job to periodically update stats and profiles for active players, back up stats
  • Update readme to reflect new data source
  • Remove redundant manifest permissions

Firefox, Opera, Edge Compatibility

  • generalise chrome browser api calls
  • update empty tab check to account for empty tab names/formats in other browsers
  • adjust render timing according to different browser iframe load handling

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.