-
Notifications
You must be signed in to change notification settings - Fork 128
Fixes #4791 - Update Favorite button on MyShots Page #4918
Fixes #4791 - Update Favorite button on MyShots Page #4918
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.
Not sure I'm sold on the "does expire" (I'd prefer "will expire"), but that's a product decision. No issue on the l10n bits.
static/img/icon-heart.svg
Outdated
</g> | ||
</g> | ||
</svg> |
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.
Need to run the new svgs through svgo.
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.
Done
The button text color on My Shots need to be updated. And according to #4791 (comment) the icons have been updated, so we should pull those in. |
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.
Needs svgo
and button text color update.
79cf0e8
to
7f36161
Compare
@chenba PR is updated with new UX for favorite icon on my shots and shot page. Please review. Thanks! |
server/src/pages/shot/view.js
Outdated
|
||
favoriteShotButton = <div className="favorite-shot-button"><Localized id="shotPagefavoriteButton"> | ||
<button className={`nav-button ${shouldShow} `} onClick={this.onClickFavorite.bind(this)}> | ||
<button className={`nav-button ${shouldDisable} `} onClick={this.onClickFavorite.bind(this)}> |
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.
This should use the disabled
attribute, not a class.
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.
An element should be disabled via its disabled attribute.
7f36161
to
91dba74
Compare
PR updated with feedback, thanks |
No description provided.