Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Stats Page] - Add Ability to Graph Time Series Data

Open
#3,032 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

back-end difficult
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

Currently the create graph endpoint only supports creating graphs that are numerical values grouped by some category. We need the ability to display changes of data over time, like number of workpackages made over a period of time.

Acceptance Criteria

Able to graph values over time.

Proposed Solution

See how the group by selection was made. I assume well need to limit this functionality to the COUNT measure for now, then query all the items that are searched for in the graphGen element, then filter them by the start and end date, and create a map for each day or time period and see when the date created values are made to group them into those days.

Mocks

epic #2219

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Stats Page create graph endpoint and the existing group-by selection logic. Review how the graphGen element identifies searched items, then define the COUNT time-series behavior described in the proposal; done means the endpoint can graph values grouped by day or another time period within the selected start and end dates.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.