-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HOLD] margin-left is not provided to green dot #17226
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
Comments
Triggered auto assignment to @muttmuure ( |
Bug0 Triage Checklist (Main S/O)
|
@muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
I don't have access to GBR, asking about this here and will add to SO https://expensify.slack.com/archives/C01GTK53T8Q/p1681470733246659 |
GBR is live for requests, so I just need to add a request and then I can test |
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.In this issue, we can see that the green dot indicator does not have a left margin and when the draft pencil is rendered next to it, it there is no space between them, looking weird. What is the root cause of that problem?In the LHN, there are three possible icons:
The first 2 have a left margin of 8px while the indicator does not. What changes do you think we should make in order to solve the problem?We need to wrap the indicator in a Optional Improvement |
ProposalPlease re-state the problem that we are trying to solve in this issue.Margin-left is not provided to green dot. What is the root cause of that problem?We are rendering green dot via line 227 here
There is not left margin added to green dot, so this is the root cause of the problem. What changes do you think we should make in order to solve the problem?We have to change code at line 227 as shown below: // OLD Code
// {optionItem.hasOutstandingIOU && !optionItem.isIOUReportOwner && <Icon src={Expensicons.DotIndicator} fill={colors.green} />}
// Updated Code
{optionItem.hasOutstandingIOU && !optionItem.isIOUReportOwner && (
<Icon additionalStyles={[styles.ml2]} src={Expensicons.DotIndicator} fill={colors.green} />
)}
</View> This will solve the issue as shown in results video. What alternative solutions did you explore? (Optional)None ResultsWeb.mov |
I think this can be handled here |
ProposalWe updated CONTRIBUTING.md to allow posting proposals before help wanted label this PR and this PR is merged Please re-state the problem that we are trying to solve in this issue.Margin-left is not provided to green dot. What is the root cause of that problem?Green dot icon has no wrap
What changes do you think we should make in order to solve the problem?Wrap gren dot icon by What alternative solutions did you explore? (Optional)NA |
@muttmuure Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@muttmuure this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
Agree |
@muttmuure Still overdue 6 days?! Let's take care of this! |
I think we can hold this one and see if the other issue resolves this one |
Still held |
Now that #18242 is merged, we can remove hold and re-test. |
Hi @muttmuure, the particular issue is about lack of margin left on green dot. you can see that issue still exists by seeing the gap between red and green dot in this comment in #18242 PR. The issue is still not solved. I have also cross checked on latest staging build. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
App should display icons with equal margin between them
Actual Result:
App does not add margin-left: 8px to green dot due to which pencil icon is displayed next with green dot with no space
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.97-2
Reproducible in staging?: y
Reproducible in production?: y
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:
margin.left.not.provided.to.green.dot.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681126430133169
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: