HighlanderRobotics / Scouting-Server

1 stars 1 forks source link

Make `overview.result.metrics.{metric}` match `{metric}.name` #15

Closed MangoSwirl closed 1 year ago

MangoSwirl commented 1 year ago

Here is an example of a response to overview:

[
  {
    "result": {
      "metrics": {
        "defenseQuantity": 0,
        "defenseQuality": 0,
        "cargoAccuracy": 0.8518518518518519,
        "averageCount": 23,
        "climberHighest": 3,
        "climberSucsesses": null,
        "arrayScores": 76
      },
      // ...
  }
]

I am making it so that when the user taps on a metric in the overview it gets more details from the corresponding more detailed endpoint. To do this, the metric names need to match each other in overview and detailed endpoints.

MangoSwirl commented 1 year ago

Close as fixed by 6b63217.