-
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
[$500][Image] Web - Profile - The avatar is highlighted with a blue frame #10599
Comments
Triggered auto assignment to @NikkiWines ( |
ProposalUse App/src/components/AvatarWithImagePicker.js Line 234 in 386c5ad
|
@varshamb Please go through our contribution policy. We don't accept proposals before issue is exported. |
@parasharrajat |
Yeah, you can but we don't accept/approve/hire the proposals before the issue is made external, also we can use the proposed solution if the proposal is posted before an issue is made external. I thought to inform you about the policy as I saw you proposing on a couple of issues in this order and being a new contributor. |
@parasharrajat Thanks. |
Able to reproduce this on staging, looks like it's good for an external issue 👍 |
Triggered auto assignment to @JmillsExpensify ( |
Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Still overdue 6 days?! Let's take care of this! |
Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
ProposalApp/src/components/AvatarWithImagePicker.js Lines 224 to 226 in 159249b
Add this props to Pressable component:
demo video: https://drive.google.com/file/d/1qXw3l1MhKIQqcfDytCFJZuFEYamqX-Fl/view?usp=sharing |
12 days overdue. Walking. Toward. The. Light... |
This issue has not been updated in over 14 days. eroding to Weekly issue. |
@NikkiWines @JmillsExpensify no one is assigned to this issue |
Ah, sorry, this is my bad. Unassigned myself too quickly after the |
Yep thanks @mallenexpensify 👍 |
Doubled price two days ago, not rushing this one, it's a minor bug |
ProposalI read the issue description and could reproduce it on my side. Blue border is displaying because we have the below
So, we can fix this issue in 3 ways.
return (
<View style={[styles.alignItemsCenter, ...additionalStyles]}>
<Pressable
+ style={[styles.noSelect]}
onPress={() => this.setState({isMenuVisible: true})}
>
<View style={[styles.pRelative, styles.avatarLarge]}>
return (
<View style={[styles.alignItemsCenter, ...additionalStyles]}>
- <Pressable
+ <PressableWithoutFocus
onPress={() => this.setState({isMenuVisible: true})}
>
<View style={[styles.pRelative, styles.avatarLarge]}>
...
)}
</AttachmentPicker>
</View>
- </Pressable>
+ </PressableWithoutFocus>
<ConfirmModal
title={this.state.errorModalTitle}
onConfirm={this.hideErrorModal}
Please review these solutions and let me know which one will be better for you. |
I will check the proposal as soon as possible. |
@parasharrajat please review @railway17 's proposal when you're able |
@parasharrajat |
There is still time 😄. You have only completed one task so far. You are free to send proposals to multiple issues. Yeah, reviewing it now. |
No, I've completed 2 tasks (but I know it is not much different from 1 task completion 😄) |
@railway17 your proposal matches the old proposals. This can't be considered valid. |
Overall, this might be the right time to look back at the old solutions and the current state of the app to understand what can be done to fix this issue. My suggestion is that you test your solution thoroughly and suggest alternatives to problems that they cause or find a solution to overcome those as well.
Let's discuss this to reach a conclusion. |
hmm... I think I wrote the root cause and solution. |
Mainly a proposal should not match with existing ones. Even if we decide to go with an old posted solution, the Original author will be hired to work on that. |
@railway17 specifically from CONTRIBUTING.md
|
Having a look at this issue again, I'm not really convince about doing anything... why do we think there shouldn't be a blue frame if the focus is in the avatar? it is an input after all. If you tab around that page and press enter when the blue frame appears in the avatar, you get the modal to upload a new picture, which makes 100% sense to me. If we remove the blue frame, how would the user know that the avatar is focused and that pressing enter will make the modal appear? |
Great point. I agree with you. |
Great, closing then :) |
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:
After canceling the upload of the photo using the Esc key, the avatar should not be highlighted with a blue frame
Actual Result:
After canceling the photo upload using the Esc key, the avatar is highlighted with a blue frame
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.91.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug5705026_Recording__1635.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: