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 an option to sort sponsors by the length of time a user has been sponsored #44

Open
3 tasks done
JohnTitor opened this issue Mar 14, 2023 · 0 comments
Open
3 tasks done
Labels
enhancement New feature or request

Comments

@JohnTitor
Copy link

Clear and concise description of the problem

Currently, sponsorkit only allows sorting sponsors by sponsoring tiers.
That's great for some cases, but I'd like to sort them by the length of time a user has been a sponsor, like over 1 year, 6 months, 3 months, etc..., because continuous support is also an important thing for FLOSS maintainers, at least I believe so.
(Someone also may not want to reveal sponsors' tiers explicitly.)

Suggested solution

The current implementation is tied to the sponsoring tiers so some tweaks to the config would be needed as well as sorting implementation.
I've implemented this in a quite dirty way (replacing tiers directly instead of adding an option): JohnTitor@f7d7b13
(The above way works fine for me, but it'd be great if upstream supported this use case so that I don't have to worry about my fork :))

Alternative

No response

Additional context

Thank you for the wonderful tool by the way!

Validations

@JohnTitor JohnTitor added the enhancement New feature or request label Mar 14, 2023
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