GithubHelp home page GithubHelp logo

gitmystats's People

Contributors

blackandwhitesoldier avatar cmcgarr avatar dcrawfordtcd avatar joeoh avatar vivalacony avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gitmystats's Issues

Developer Workflow

Find a good workflow for developing on this project and ideally document the workflow.

Need to make accordion headers customizable in UI Bootstrap

I am creating accordion using library ui-botstrap-tpls-0.14.3.min.js.

But as far as I have experimented with ui-bootstrap accordion, it only lets the developer specify the content inside .panel-title, everything goes inside

{{heading}}

In our UI we only have

tag, so to maintain the hierarchy, we need

tag instead of

tag.

Please suggest how we can customize it in code to get

tag without customizing the .library file.

Thanks

Retry Github API Request

Githubs API will sometimes return an empty response if they have not recently calculated the stats for a repository or user. Add a retry if an empty response is returned.

Example Graph

Write some javascript to create an image of a pie chart.
The pie chart should ideally be created using the Office library.

The reason for working on a pie chart over other graphs is that 1. a pie chart is a relatively simple graph and 2. we can use the pie chart to show some simple data for Tuesday such as the amount of commits per user to a repo.

all pictures generated - x-axis titles are cut off slightly

sometimes it's just the first few letters in the word that comes up as an x-axis label, and sometimes it's not really a problem cause you know what it would mean anyway.
but the way that the crop cuts off the labels on the x-axis label for the punchcard makes it look completely wrong.
If the time is a 2 digit number it cuts off the first digit, so that 10am looks like 0am, 12pm looks like 2pm and also you then can't tell the difference between 12pm and 2pm for example.

This would be fixed with cropping the image when it's created. I had a look myself but i've no idea how do do it.
This is also an issue with every other picture that's generated, but punchcard is the worst affected.

GitHub API Calls

Write some JavaScript which, using the GitHub API, retrieves information necessary for each of the graphs that we would like to generate. Each of these graphs is documented here.

There is already an example using the gh3 library for fetching user data from GitHub.

One API call to work on is commits per user to a repo which we could then display using a pie chart for the Tuesday demo. Pie chart is being worked on in this issue #4 .

Simple UI

A simple UI which should follow the mockup in the requirements doc.

Note that the linked mockup is missing back buttons.

Priority should be given to an initial page for selecting graphs, a page for a single graph with appropriate input fields, followed by the final page which you can see in the requirements doc.

Once that is all done you could:

  • add a page for every graph that's in the requirements doc
  • ensure that pages are only shown for graphs that were selected on the initial page
  • error checking such as ensuring that at least 1 graph is selected on the initial page

If styling the UI this should be done using the microsoft fabric library. See index.html and fabric.

Setup Testing

Write a test which ensures that one of the calls to the GitHub API returns the correct response.
This could be done using a JavaScript unittest plugin such as Mocha and integrating it with Gulp such that we could run gulp test to see if our tests are passing or not.

Bind values between input pages

Certain input fields exist in multiple input pages. When one of these input values changes on one page, the value should be updated on any other pages.

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.