hafeefas / Gitnalysis_FE

5 stars 3 forks source link

issues component #29

Closed itsgivingchaotica closed 1 year ago

itsgivingchaotica commented 1 year ago

Endpoint: <- issues/:owner/:repo/timeline/pastMonth <- this is front-end dependent so need to call the right axios service to access the one user wants Can use a state such as opened, closed,all in the axios call for state. In terms of the last value could be pastYear, pastWeek as well.

itsgivingchaotica commented 1 year ago

there is also a number of issues endpoint for a quick fetch of issues. the icon button should show the number of issues, when expanding it should show the names of the issues as well (within the date range) <- issues/:owner/:repo/count/getNum"

itsgivingchaotica commented 1 year ago

the endpoint issues/:owner/:repo/:state. returns the state of the issues (open, closed, all) this could be a dropdown with the list of issues and by it , state of the issue like closed(red font) open(green font)

itsgivingchaotica commented 1 year ago

D3.js examples has a good one for initial reference: https://observablehq.com/@d3/donut-chart/2?intent=fork

itsgivingchaotica commented 1 year ago

https://mui.com/material-ui/react-select/ is a good component to use from Material UI

itsgivingchaotica commented 1 year ago

this is for timeline : issues/:owner/:repo/timeline/pastMonth" <- endpoint, see example chart: https://observablehq.com/@nikomccarty/multiline-chart-d3

itsgivingchaotica commented 1 year ago
Screen Shot 2023-08-15 at 4 13 42 PM