-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
Donation Flairs Improvements #3043
base: donation-flairs
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking nice!
A couple of small changes suggestions to fine-tune the UI
@@ -50,6 +51,7 @@ export default class RecentListens extends React.Component< | |||
</div> | |||
<div className="row"> | |||
<div className="col-md-4 col-md-push-8"> | |||
<FlairsExplanationButton /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think on this page the link would be better placed under the recent donors card
@@ -494,6 +495,7 @@ export default function Listen() { | |||
/> | |||
)} | |||
</div> | |||
<FlairsExplanationButton /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the recent listens, on this page i would suggest placing the link in UserSocialNetwork component instead, but in-between both of the card components that it renders.
I think that has the best noticeability vs. annoyance ratio :p
@@ -648,6 +649,7 @@ export default function UserFeedPage() { | |||
)} | |||
</div> | |||
<div className="col-md-offset-1 col-md-4"> | |||
<FlairsExplanationButton /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With my suggested change to put the link in UserSocialNetwork this will need to be removed
Ready to support us? <Link to="/donate/">Donate here</Link> or{" "} | ||
<Link to="/donors/">view our donors</Link> | ||
. | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using paragraphs > using <br>
elements :p
<br /> | |
<p> | |
These are special flairs that show our appreciation for donations! | |
</p> | |
<p> | |
Support ListenBrainz with a donation and unlock these effects on | |
your username. Each $5 donation unlocks flairs for a month, and | |
larger donations extend your access time. ✨ | |
</p> | |
<p> | |
You can choose your flair from a selection in the{" "} | |
<Link to="/settings/">user settings page.</Link> | |
</p> | |
<p> | |
Ready to support us? <Link to="/donate/">Donate here</Link> or{" "} | |
<Link to="/donors/">see who else is supporting</Link>. | |
</p> |
Ready to support us? <Link to="/donate/">Donate here</Link> or{" "} | ||
<Link to="/donors/">view our donors</Link> | ||
. | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Laying it even thicker
<br /> | |
These are{" "} | |
<span className="flair sliced strong" data-text="special flairs"> | |
special flairs | |
</span>{" "} | |
to show our appreciation for your donations! |
Sorry,m some of those code suggestions are on the wrong line.... |
This PR:
If we want to backfill the donor's data, I've written this function https://gist.github.com/anshg1214/48a24f5fa50d284f178e2eab2d31ba16.