Giter Site home page Giter Site logo

gmr-client's People

Contributors

igorrafael avatar quentinms avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gmr-client's Issues

Invalid date remaining (games with no timer)

Probably caused by my install using [email protected]

From version 2.10.3, if the target moment object is invalid the result is the localized Invalid date string. (momentjs docs)

An easy fix would be restricting the version of moment on package.js. If you see that as a problem the logic here could be changed as well.

edit: clarifying the source of the quote

Save upload fails

It seems that the program attempts to upload a directory. I worked around it by replacing this line with the one below:

return fs.createReadStream(this.saveFile+'(GMR) Play this one!.Civ5Save')

The upload completed after this but I believe that this is not a good solution.

Validate JSON response from GMR's API

It looks like sometimes the API will not answer will all required field, creating undefined, and causing the UI to show nothing.

  • We should validate the received JSON, so we don't try to work with invalid data
  • Retry the query if the response is invalid
  • Notify the user if we couldn't fetch the data (e.g after retrying multiple times)

This might be relevant: http://jsonschema.net

Error with no clear path to resolve

Pretty sure I did everything correctly, its a nice basic little app.

Error message is:

Invalid date remaining

on the game screen. It pulls the list of games successfully but I cannot upload/download.
screen shot 2016-01-29 at 5 09 49 pm
Platform is OSX 10.11
Thanks!

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.