Giter VIP home page Giter VIP logo

live-cricketscores.com's Introduction

Welcome to my Github profile!

Here are the highlights of what I've been working on recently:

๐Ÿ’ป CodeInsight Extension [Java, React]

A plugin for Atlassian BitBucket Server that adds administrator override when status checks fail during a PR (similar to how it works with GitHub PRs). Still actively making changes with more features to come in the future.

๐Ÿ Live-Cricketscores.com [Angular]

My cricket scores website - shows live cricket scores from around the globe for all international matches (Test, ODI, T20) and many other leagues where data is availble (IPL, BBL, Marsh Series etc). Displays ball by ball commentary when available.

live-cricketscores.com's People

Contributors

blended-ideas avatar campbellbartlett avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

live-cricketscores.com's Issues

Live reloading

Is your feature request related to a problem? Please describe.
As a user
I want the score to update every 5 seconds
without having to use the refresh button on my browser
so that when commentary is added to the site, I see the feed update in realtime.

Describe the solution you'd like
An animation in the bottom right of the screen should play - when the animation complete the scores reload. Mousing over this animation shows the number of seconds until the reload and a switch for switching the reloading off.

Cricket Australia API changes

Describe the bug
The Cricket Australia API has been updated so that the default return type when hitting the API is no longer JSON. This breaks most of the site - to fix it we need to specify the query parameter format=json when hitting the API.

To Reproduce
Visit the Cricket Australia API with and without the format=json query parameter and see the difference.
With parameter:
https://api.cricket.com.au/comments/2405/46383?format=json
Without:
https://api.cricket.com.au/comments/2405/46383

Add a notification that new commentary is available

Is your feature request related to a problem? Please describe.
When viewing the commentary section, it is difficult to tell when there is new commentary available. At the moment the page needs to be refreshed.

Describe the solution you'd like
The page should display a notification letting the user know more commentary is available. If they click/tap the notification then they are scrolled to the top and the new commentary is loaded. We should also consider adding a dismiss button to the notification.

Describe alternatives you've considered

  • Manual page refresh
  • Have commentary load automatically when it becomes available. This was an issue because it was scrolling you to the top of the commentary view each time a new ball was bowled, which made it difficult to read older commentary.

Add a news section

The API provides news articles. They should be added to the home page under a separate section from the live scores.

Score worm

Add a score worm that shows the progress of an innings and allows comparison between two innings (ODI's /T20's only?)

Can we add commentary?

Explore the Australian cricket API and see if it includes a commentary feed.

Design the UI for the commentary and add it to the site

Add tabbed layout to bottom of score card

The original Material Tabbed layout is not scaleable as it is too difficult to scroll between tabs on smaller screens.

Change to use the ionic segment control which is native on mobile and will be easier to use.

Once this is done, it will allow more tabs to be added, which will include new tabs for visualisations.

Scorecard is blank when match is returned by API but has not started yet

Describe the bug
Some matches are returned by the API but have no other information available, such as IPL games. These games have a blank scorecard as they have no status (an international game will usually have a status of something like 'Teams will be announced at the toss" whereas domestic games played outside Australia have no status). We should show a fallback message in the scorecard if there is no status message before a game begins.

Security issue found in node Tar

A vulnerability was found in node-tar before version 4.4.2. An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content.

The fix will be to upgrade tar to version 4.4.2 or later.

Add wickets to bowling figures

The bowling figures are displayed below the batting figures. We missed adding the most important stat - wickets.
Wickets are available in the Bowling class definition, a new column needs to be added to the table to display the information.

It should probably go to the right of the number of overs a Bowler has bowled

About page needs a social component (card)

The about page needs to make use of a social component (some kind of card layout) that can be used to include names/aliases/github/other links for contributors to the website.

Since there is only one contributor at the moment these are just displayed on the about page itself. They do not respond well on mobile devices

Match object only updates when page is refreshed

Describe the bug
The match object only updates when the page is refreshed unlike the scorecard object which refreshes every 10 seconds.

To Reproduce
Steps to reproduce the behaviour:
Open a scorecard for a match that is close to completion. The match summary at the top of the scorecard will not update once the match completes.

Expected behaviour
The match summary and other data that come from the match object should be updated as part of the live reloading feature. Since the match object changes much slower than a scorecard, a reload time of once per minute is acceptable.

Switch order or tabs in commentary view

The ordering of the tabs in the commentary view is backwards compared to the ordering in the tab list above it. Switch these around for consistency reasons.
Screen Shot 2019-05-28 at 8 20 40 am

Improve homepage layout

The homepage layout looks bare when there is only one or two games being played.

A more responsive layout is needed that resizes the number of bootstrap columns used so that the cards can increase in size to use up more of the available space when there are less games.

Clean up full-score-card html template

The full-score-card html template has grown into the main template for the website.
It has become too large and does too many things.

We should break it down into smaller components so that the full-score-card only manages the tabs and delegating the data to each subcomponent.

Wagon wheel

Add a wagon wheel that shows where each run was scored around the ground

Manhattan Graph

A graph that shows the runs scored / wickets taken each over of an innings.
The bars of the graph look like the 'Manhattan skyline' hence the name

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.