Giter Site home page Giter Site logo

gotstats's People

Contributors

avavt avatar dependabot[bot] avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

wangzigeng2004

gotstats's Issues

Remove jQuery from the project

As legacy from the original version, jQuery is still used for 2 purposes:

  • To handle ajax request to OGS api (OGSApi.js). I think axios could go well here.
  • To animate page scrolling when user clicks a quick link (scrollToElem(id)@Statistics.jsx). I'm struggling a bit with this. Add another dependency for 1 single feature is redundant. Maybe just remove the animation altogether and make it an instant jump?

I managed to remove jQuery from the rest of the app, after those 2 we can get rid of it for good.

Component-ize the charts

Currently the charts components are simply cut off from the old (2000lines!) codebase.

In order for them to be maintainable the charts must be categorized, in current state it's pretty much impossible to write test cases for them.

I would really appreciate it if someone could give insight on how to make them testable. I'm ashamed to say I haven't got a clear idea what to do with them.

Feature idea

Are you planning to add a "highest rank" feature? Something like this could be kind of useful. Unfortunately, I don't speak React yet...

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.