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

Add functionality to have "tiers" of awards-flairs #16

Open
Badspler opened this issue Jul 17, 2021 · 1 comment
Open

Add functionality to have "tiers" of awards-flairs #16

Badspler opened this issue Jul 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@Badspler
Copy link
Member

An award-flair might have a version that is within the same category but of a higher ranking to represent higher status.

For example, the top 20 people for a contest may be given a flair, but the top 3 may be given a gold version to show extra value.

-Add some form of tier's into the database structure.
-Add functionality to the website to display and set the appropriate tier of an award-flair that a user has been awarded.
-A different image should be used

@Badspler Badspler added enhancement New feature or request GoLive Needed for GoLive labels Jul 17, 2021
@Badspler
Copy link
Member Author

Went down the path of implementing an approach based on a Many:Many relationship (FlairType : possible images) but found that it added a huge amount of complexity in every aspect of the site.

Settled instead on the idea of 'overriding' a flair to use a different image. Requires DB to have a FlairType entered of the 'overrided' flair. Not as elegant of a solution as I originally imagined but will be fit for purpose for now.

(implemented on the 'override' branch.

@Badspler Badspler removed the GoLive Needed for GoLive label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant