Skip to content

Review front end models and organization #730

@rlankin

Description

@rlankin

There are some repeated model classes/interfaces throughout the front end and we should review these to try to consolidate them as much as possible. For example, There are Stage interfaces defined in both StandingsData.ts as well as PairingsData.ts - can we have a single Stage interface that is used everywhere?

Additionally, we should review the current organization of models, request methods, and utility methods to see if there's a more consistent way of organizing these. Some Svelte components outside of the app/frontend/pairings directory use elements from app/frontend/pairings/PairingsData.ts. There are many such bespoke .ts files - is there a better way to organize these for consistent use across the app?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions