Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Statistics/Overall Season/UI] Integrate Resort Stats Into the All-Time Ski Stats Page #153

Open
Trim0500 opened this issue Apr 1, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request Medium Priority Overall Season (Group #8) Specific tasks related to overall season statistics services Statistics Tasks related to statistics service functions

Comments

@Trim0500
Copy link
Collaborator

Trim0500 commented Apr 1, 2024

Description

  • As a skier continues to partake in activities throughout the season, they tend to visit different trials from different resorts. A particular need that spawns from this aspect as a consequence would be that a user would like to know about some historical data regarding resorts.
  • Currently, OpenTracks only offers users the ability to see where they were at on a map when viewing the recorded track. The aggregated stats page does not showcase some key metrics about resort locations such as most used lifts, the total amount of resorts visited or the most common resort visited. There needs to an extension made to the all-time stats component of the app to showcase these components to the user visually.

Proposed Solution

  • Utilize OverallStatistics's methods to dynamically integrate the calculated resort stats onto the view page element of the all-time stats components. These should be used when the page is rendered as a form of lazy loading as it may not be guaranteed that the user will immediately need to see this information, if at all.

Alternatives

  • Get the results of the calculations to be stored into a cashed variable to be invoked later. While it does make the results available on demand, it may be wasteful for reasons mentioned in the proposed solution.

Completeness Requirements

  • The dynamic generation of the stats is rendered onto the all-time ski stats page
  • Provided that the full implementation of runs, days and seasons and resort information is done, the generated values are accurate

Additional Context

@Trim0500 Trim0500 added enhancement New feature or request Statistics Tasks related to statistics service functions Overall Season (Group #8) Specific tasks related to overall season statistics services Medium Priority labels Apr 1, 2024
@tanupatel25 tanupatel25 self-assigned this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Medium Priority Overall Season (Group #8) Specific tasks related to overall season statistics services Statistics Tasks related to statistics service functions
Projects
None yet
Development

No branches or pull requests

2 participants