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

Include a query where the user can exclude trophies based on title #276

Merged
merged 6 commits into from
Jul 19, 2024

Conversation

a2ys
Copy link
Contributor

@a2ys a2ys commented Jun 18, 2024

This is my first time contributing to this repository.

This pull request adds a feature which helps the user exclude any trophy (or multiple trophies) they don't want to display by title.

For example,

https://github-profile-trophy.vercel.app/?username=ryo-ma&title=-Stars

This would exclude the trophy with the title Stars.

https://github-profile-trophy.vercel.app/?username=ryo-ma&title=-Stars,-Followers

This would exclude the trophies with the title Stars and Followers.

This is similar to excluding trophies based on rank.

This pull request also addresses what might be the primary concern of the author in issue #272.

Also, I ran the following commands based off the CONTRIBUTING.md.

deno task lint
deno task format
deno task test

deno task test gave the following output, and passed the 9 tests.

image

Copy link

vercel bot commented Jun 18, 2024

@a2ys is attempting to deploy a commit to the ryo-ma's Team Team on Vercel.

A member of the Team first needs to authorize it.

This was referenced Jun 18, 2024
Copy link

vercel bot commented Jul 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
github-profile-trophy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 19, 2024 7:56am

@ryo-ma
Copy link
Owner

ryo-ma commented Jul 3, 2024

Can you write README?

@a2ys
Copy link
Contributor Author

a2ys commented Jul 3, 2024

@ryo-ma I updated the README.

@RafaelJohn9
Copy link

👍

@ryo-ma ryo-ma merged commit c48eee9 into ryo-ma:master Jul 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants