-
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
[HOLD for payment 2022-05-20] Feature Request: Add the ability to view profile pictures in full screen/larger size by clicking/tapping on them #8197
Comments
Triggered auto assignment to @sonialiap ( |
Triggered auto assignment to @timszot ( |
Triggered auto assignment to @dylanexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
📣 @parasharrajat You have been assigned to this job by @melvin-bot[bot]! |
Triggered auto assignment to @Julesssss ( |
@Expensify/design What are the design expectations for this feature? Thanks. |
For this, we just have to add a modal component — which would contain the picture in full screen mode — and a click event that changes the state to show that modal. Here is a prototype: I'll be attentive to any comments and start working on this issue if my proposal if accepted. Thanks. |
Proposal: Lines 101 to 105 in 690707f
Add a prop isProfilePicture in AttachmentModal. App/src/components/AttachmentModal.js Lines 159 to 162 in 690707f
For high quality image, we also have to add imageUrl in src/libs/actions/PersonalDetails.js formatPersonalDetails function. function formatPersonalDetails(personalDetailsList) {
Timing.start(CONST.TIMING.PERSONAL_DETAILS_FORMATTED);
const formattedResult = {};
// This method needs to be SUPER PERFORMANT because it can be called with a massive list of logins depending on the policies that someone belongs to
// eslint-disable-next-line rulesdir/prefer-underscore-method
Object.keys(personalDetailsList).forEach((login) => {
const personalDetailsResponse = personalDetailsList[login];
// Form the details into something that has all the data in an easy to use format.
const avatar = getAvatar(personalDetailsResponse, login);
const displayName = getDisplayName(login, personalDetailsResponse);
const pronouns = personalDetailsResponse.pronouns || '';
const timezone = personalDetailsResponse.timeZone || CONST.DEFAULT_TIME_ZONE;
const firstName = personalDetailsResponse.firstName || '';
const lastName = personalDetailsResponse.lastName || '';
const payPalMeAddress = personalDetailsResponse.expensify_payPalMeAddress || '';
const phoneNumber = personalDetailsResponse.phoneNumber || '';
+ const imageUrl = personalDetailsResponse.avatar || OptionsListUtils.getDefaultAvatar(login);;
formattedResult[login] = {
login,
avatar,
displayName,
firstName,
lastName,
pronouns,
timezone,
payPalMeAddress,
phoneNumber,
+ imageUrl
};
});
Timing.end(CONST.TIMING.PERSONAL_DETAILS_FORMATTED);
return formattedResult;
} |
Bump @Expensify/design #8197 (comment) |
I'm heading on parental leave so reassigning! Thank you to whoever gets assigned this! ❤️ |
Triggered auto assignment to @kadiealexander ( |
@sobitneupane as per Dylan's message above, please let us know the latest update when you can. :) |
Deployed to staging. Awaiting PROD deployment |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.57-17 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 2022-05-20. 🎊 |
https://www.upwork.com/ab/applicants/1527517318879318016/job-details Sorry @sobitneupane and @parasharrajat I had no idea the Upwork post had closed. Please apply here so I can pay you both! |
@kadiealexander Applied. |
Offer sent, please accept! |
@sobitneupane has been paid! Thanks for your work on this. :) |
Thank you.
My pleasure. |
@kadiealexander Applied |
@parasharrajat contract sent! |
Everyone is paid!! Thanks team :) |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Problem:
@garrett has what looks like an old timey phone and maybe some sort of necklace on in his picture, but I just can’t make it out!
Solution:
Let me tap on Garrett’s profile picture to get a good look at this crazy critter.
Action Performed:
Expected Result:
User should be able to view profile pictures in full screen/larger size by clicking/tapping on them
Actual Result:
User can't view profile pictures in full screen/larger size
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.43-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @twisterdotcom
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1646994875559189
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: