Skip to content

[REFACTOR] Move suspension frequency to a profile #54

Description

@wfelliss

Currently there are seperate frequencies for front and rear suspension, this would make more sense in the rider data but not be editable, both suspension will always be recorded at the same frequency so can have a general suspension frequency

🔄 Area to Refactor

How frequencies are stored in the db

❓ Current Problem

  • Sample frequencies are stored in the run database, front and rear are stored separately
  • Front and rear frequencies will never be different coming from the hardware
  • Difficult to maintain - best to keep all data relevant to potentiometer setup in one place

✅ Proposed Refactor

  • Move the seperate freqencies into a single suspension frequency attritbute in a rider profile
  • Display this frequency when viewing a rider profile but cant be editable

🎯 Expected Benefits

  • Maintainability - keeping all potentiometer data in one place, removes duplicate db entries

Metadata

Metadata

Assignees

No one assigned

    Labels

    LOWIssues with low priorityrefactorAn issue about refactoring

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions