-
Notifications
You must be signed in to change notification settings - Fork 3k
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
change display name color to gray #13331
Conversation
@thesahindia @puneetlath One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
thanks @grgia! I added them into the checklist and this is ready for review. The variable name "textSupporting" could be a bit confusing now since it's the main color in this case but it's used in a lot of places so I don't think it makes sense changing it or creating a new variable with the same value. |
IMO |
Testing... |
This comment was marked as duplicate.
This comment was marked as duplicate.
src/components/DisplayNames/index.js
Outdated
@@ -100,7 +100,7 @@ class DisplayNames extends PureComponent { | |||
> | |||
{/* // We need to get the refs to all the names which will be used to correct | |||
the horizontal position of the tooltip */} | |||
<Text ref={el => this.childRefs[index] = el}> | |||
<Text ref={el => this.childRefs[index] = el} style={[...this.props.textStyles, styles.pRelative]}> |
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.
Do we need styles.pRelative here?
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.
Yeah, curious what that does?
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.
Yeah I'm not sure why we need relative positioning there since it works just fine without it. I just added it since it was supposed to affect the text but I can take it out. It doesn't affect any platform but I was just scared that there might be some edge case for the reason it was added.
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.
Let's remove pRelative
from line 103 and leave it on line 86 just to be safe.
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.
sure, that sounds good, the text object will be positioned accordingly anyway in that case
Reviewer Checklist
Screenshots/Videos |
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.
@shawnborton do you want to review as well? If not, @srikarparsi feel free to self-merge. |
Screenshots look good to me! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to production by @chiragsalian in version: 1.2.38-6 🚀
|
Details
Fixed Issues
$ #13202
PROPOSAL: GH_LINK_ISSUE(COMMENT)
Tests
Offline tests
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android