-
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
Update "be the first person to comment" screen #4921
Update "be the first person to comment" screen #4921
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
@MirFahad58 Message placeholder should say "Say hello!" |
I have read the CLA Document and I hereby sign the CLA |
recheck |
@MirFahad58 I think it should show Check with @shawnborton & others. Don't forget to update screenshots! |
@MirFahad58 Looks like this PR has some merge conflicts that need to be addressed. |
Ok let me resolve that ASAP. |
updated |
Looking good so far. Can you please share a screenshot of what this looks like when the group has 8 members in it? Thanks! |
@shawnborton yes sure but i need a test account with multiple member so please if you have any please provide. |
Great point - I'm not sure what to recommend for that. @roryabraham any ideas? |
I will update screenshots with multiple users soon. |
updated |
@roryabraham just resolved the conflict please review it. |
@MirFahad58 You've got a lint error. |
@roryabraham code is updated now |
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.
Lastly, did we change the room name to bold as well along the way? @MirFahad58
@@ -503,6 +505,9 @@ class ReportActionsView extends React.Component { | |||
} | |||
|
|||
render() { | |||
const {isDefaultRoom} = ReportUtils; |
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.
it hurts. Please call these directly ReportUtils.isDefaultRoom
. Otherwise, there is no advantage of import * as ReportUtils from '../../../libs/reportUtils';
.
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.
got it.
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.
Ahh nope please suggest the code because we are sending the #room in the string as a prop for language.
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.
ok. You can break them into multiple Text nodes.
<Text>This </Text>
<Text>**room**</Text>
<Text>is awesome</Text>
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.
Good catch @parasharrajat, but I'm confused why we would need to break into multiple text nodes... @MirFahad58 why does this not work?
const isDefaultChatRoom = ReportUtils.isDefaultRoom(this.props.report);
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.
should i do like this
beginningOfChatHistoryPrivatePartOne
beginningOfChatHistoryPrivatePartTwo
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 think that's fine for now.
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.
Before doing that try to get the two parts of the sentence in Spanish on the Slack.
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.
@roryabraham which one? separate it into two parts?
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.
beginningOfChatHistoryPrivatePartOne: Este es el principio de la sala privada
beginningOfChatHistoryPrivatePartOne: room, invite others by @mentioning them.
@parasharrajat @roryabraham what about this?
@@ -503,6 +505,9 @@ class ReportActionsView extends React.Component { | |||
} | |||
|
|||
render() { | |||
const {isDefaultRoom} = ReportUtils; |
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.
Good catch @parasharrajat, but I'm confused why we would need to break into multiple text nodes... @MirFahad58 why does this not work?
const isDefaultChatRoom = ReportUtils.isDefaultRoom(this.props.report);
@roryabraham that comment is for... #4921 (review) |
I accidentally closed the PR but reopened it. will there be any issue with that? |
@MirFahad58, Great job getting your first Expensify/App pull request over the finish line! 🎉 I know there's a lot of information in our contributing guidelines, so here are some points to take note of 📝:
So it might take a while before you're paid for your work, but we typically post multiple new jobs every day, so there's plenty of opportunity. I hope you've had a positive experience contributing to this repo! 😊 |
✋ 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 staging by @roryabraham in version: 1.1.15-18 🚀
|
🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀
|
@michaelhaxhiu @roryabraham
Details
Updated the "Be the first person to comment!" screen to a new look here is the Figma link.
As we discussed in the issue.
Fixed Issues
$ #4678
Tests
Run app on any platform
Login with any account on any platform,
please refer to Figma for more detail.
QA Steps
For example:
previously it was only "be the first to comment" text on the whole screen.
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android