-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: show active offers #461
Conversation
0956a19
to
9725b61
Compare
This is great! Will test it later--I'm having issues building the regtest right now. 😅 Regarding the questions:
Honestly, I'd go for "Offer ID"--that's what it is in this context, right? I know this is the nickname on the IRC servers as well, but that's something the average user doesn't care about I guess. See also #413 where it's referred to as ID.
Good question! How about renaming the "show/hide balance" toggle to "show/hide sensitive data" and then also hiding the nick?
Without having tried it yet, what about showing the normal placeholder in the case where we can anticipate that an offer will be present in the |
.offerContainer { | ||
border: 1px solid var(--bs-gray-200); | ||
border-radius: 0.3rem; | ||
padding: 1.25rem; | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
:root[data-theme='dark'] .offerContainer { | ||
border-color: var(--bs-gray-700); | ||
} | ||
|
||
.offerContainer .offerTitle { | ||
width: 100%; | ||
font-size: 1.2rem; | ||
color: var(--bs-body-color); | ||
} | ||
|
||
.offerContainer .offerLabel { | ||
color: var(--bs-gray-600); | ||
font-size: 0.8rem; | ||
} | ||
|
||
.offerContainer .offerContent { | ||
font-size: 0.8rem; | ||
word-break: break-all; | ||
} |
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.
That's the same styles as the existing FB box right?
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.
Yes.
2508cdd
to
dd59190
Compare
Nice one! Adding css class |
Resolves #399. Also partly addresses #413 (but will be additionally tackled in a separate PR).
Shows the current active offers on the Earn page.
Please review and merge #456 before this PR.
These changes need JM built from the current
master
(at least including commit 6ec5c35c).Questions:
showBalance
is disabled?/session
response arrives..