-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2023-09-21] [$1000] Inconsistency bug: No margin between text and green dot (pin icon has 8px margin between text and icon) #25929
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency bug: No margin between text and green dot (pin icon has 8px margin between text and icon) What is the root cause of that problem?We only add a margin-left for pin icon and draft icon. So when dot icon shows, we don't have a space between icon and text
What changes do you think we should make in order to solve the problem?We should add a margin-left for dot icon to be consistent with pin and draft icon
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency bug: No margin between text and green dot (pin icon has 8px margin between text and icon) What is the root cause of that problem?No margin left App/src/components/LHNOptionsList/OptionRowLHN.js Lines 235 to 256 in 9fb420e
What changes do you think we should make in order to solve the problem?We need to wrap the green dot icon with View has style What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Green indicator appears closer to the text in LHN than pin What is the root cause of that problem?We have a App/src/components/LHNOptionsList/OptionRowLHN.js Lines 250 to 255 in c43491a
and there is no such view wrapped around green indicator here App/src/components/LHNOptionsList/OptionRowLHN.js Lines 235 to 240 in c43491a
What changes do you think we should make in order to solve the problem?Wrap the green indicator with a What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @NicMendonca ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency bug: No margin between text and green dot (pin icon has 8px margin between text and icon) What is the root cause of that problem?The green dot is not contained in a View and not given ml2 like other icons in LHN. App/src/components/LHNOptionsList/OptionRowLHN.js Lines 235 to 239 in 9a0dd42
What changes do you think we should make in order to solve the problem?We need to contain the green dot in a view and give it ml2. {shouldShowGreenDotIndicator && (
<View style={styles.ml2}>
<Icon
src={Expensicons.DotIndicator}
fill={themeColors.success}
/>
</View>
)} ResultScreen.Recording.2023-08-23.at.3.55.04.PM.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Inconsistency bug: No margin between text and green dot (pin icon has 8px margin between text and icon) What is the root cause of that problem?Other icons have margin left, meanwhile the green dot doesn't which caused the issue: App/src/components/LHNOptionsList/OptionRowLHN.js Lines 258 to 262 in c169952
What changes do you think we should make in order to solve the problem?I feel like that's ok to not have margin if that's the first icon because we already have spacing from the text, so we should remove margin from the icon if it's the first one. {optionItem.hasDraftComment && optionItem.isAllowedToComment && (
<View
// remove margin if it appears as the first icon
style={shouldShowGreenDotIndicator ? styles.ml2 : {}}
accessibilityLabel={translate('sidebarScreen.draftedMessage')}
>
<Icon src={Expensicons.Pencil} />
</View>
)}
{!shouldShowGreenDotIndicator && optionItem.isPinned && (
<View
// remove margin if it appears as the first icon
style={optionItem.hasDraftComment && optionItem.isAllowedToComment ? styles.ml2 : {}}
accessibilityLabel={translate('sidebarScreen.chatPinned')}
>
<Icon src={Expensicons.Pin} />
</View>
)} What alternative solutions did you explore? (Optional)N/A |
📣 @JSExpert1121! 📣
|
Job added to Upwork: https://www.upwork.com/jobs/~01a3a01bd666eb498c |
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @robertKozik ( |
📣 @ligh128! 📣
|
Proposal
By adjusting the margins of the pin icon and the green dot components, you can achieve a consistent visual appearance and ensure that the large text is appropriately spaced between the two elements. |
@robertKozik lots of proposals here! 😄 |
@robertKozik bump! |
On it! 👀 will update today! |
Sorry for the delay 🙇🏼♂️ As I review all the proposals, I can see that each of you has accurately identified the root cause. Furthermore, your proposed solutions align one-to-one. I would suggest to hire @dukenv0307 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @madmax330, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @dhanashree-sawant 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
Not overdue |
Hi @NicMendonca , the following issue was raised on 25th of August but melvin bot has provided me with 50$ offer, can you check once you are available? |
@robertKozik The PR is ready to review. |
🎯 ⚡️ Woah @robertKozik / @dukenv0307, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.69-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-09-21. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@dhanashree-sawant sent you modified offer! |
|
@dukenv0307 you've been paid! |
Thanks @NicMendonca, I have accepted the offer |
everyone has been paid 🎉 @robertKozik bump on the BZ checklist! |
@robertKozik bumped ya in slack! |
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App should keep consistent margin between text and icons in LHN
Actual Result:
Pin icon has 8px margin between text and icon but green dot has no margin making large text look way close to green dot then to pin icon
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.57-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
no.margin.left.to.green.dot.mp4
Recording.394.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692079619180379
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: