Skip to content
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-29] [Image] Feature Request: Introduce an ability to view workspace picture with a single tap - reported by @chauchausoup #11197

Closed
mvtglobally opened this issue Sep 22, 2022 · 100 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.

Comments

@mvtglobally
Copy link

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:

We cannot see a workspace avatar picture in tap and view manner. Once a user uploads a workspace avatar image then there is no way for them to view it by any means.

Solution:

As in profile picture, avatar can be viewed by tapping on it while being on chat. We should implement similar feature with workspace avatar image too. We can make view ability if a user taps in Avatar under general settings. Only if they taps in camera icon then the usual Upload / Remove option should be shown.

##Context:
https://expensify.slack.com/files/U040F2ZTA3G/F040ZBKE2CB/rpreplay_final1662273851.mp4

Platform:

Where is this issue occurring?

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number:
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

RPReplay_Final1662273851.MP4

Expensify/Expensify Issue URL:
Issue reported by: @chauchausoup
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1662273908091079

View all open jobs on GitHub

@mvtglobally mvtglobally added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 NewFeature Something to build that is a new item. labels Sep 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2022

Triggered auto assignment to @kadiealexander (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Sep 22, 2022
@Puneet-here
Copy link
Contributor

Proposal

I think instead we should show an option to view the image like this
Screenshot 2022-09-23 at 12 14 35 AM

To implement this we have to add a new item here

const menuItems = [
{
icon: Expensicons.Upload,
text: this.props.translate('avatarWithImagePicker.uploadPhoto'),
onSelected: () => {
openPicker({

 if (!this.props.isUsingDefaultAvatar) {
            menuItems.unshift({
                icon: Expensicons.Eye,
                text: this.props.translate('avatarWithImagePicker.viewPhoto'),
                onSelected: () => show(),
            });
        }

If we wanna show this all the time even for default avatar then we can just add this without any condition and if we wanna keep this option at bottom then we just need to push it.

We can reuse AttachmentModal. Wrap the Pressable below with AttachmentModal


We have to wrap it so that we can pass so that we can pass show function in the

menuItems={this.createMenuItems(openPicker)}

like we pass here in the Pressable's onPress

<AttachmentModal
headerTitle={isSMSLogin ? this.props.toLocalPhone(details.displayName) : details.displayName}
sourceURL={details.avatar}
isAuthTokenRequired
>
{({show}) => (
<PressableWithoutFocus
style={styles.noOutline}
onPress={show}

we can also make some changes in the AttachmentModal so that it shows when we pass a prop.

In the end we just need to pass needed props to AttachmentModal
Questions:-

  1. What should be the headerTitle? Should we just say "Avatar"
  2. Do we need to pass isAuthTokenRequired?
  3. Should we allow downloading image?

@melvin-bot
Copy link

melvin-bot bot commented Sep 23, 2022

Triggered auto assignment to @Gonals (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2022

@Gonals Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Sep 26, 2022
@Gonals Gonals added Weekly KSv2 and removed Daily KSv2 labels Sep 26, 2022
@melvin-bot melvin-bot bot removed the Overdue label Sep 26, 2022
@Gonals Gonals added the External Added to denote the issue can be worked on by a contributor label Sep 26, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2022

Triggered auto assignment to @NicMendonca (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 26, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 26, 2022

Current assignee @Gonals is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title Feature Request: Introduce an ability to view workspace picture with a single tap - reported by @chauchausoup [$250] Feature Request: Introduce an ability to view workspace picture with a single tap - reported by @chauchausoup Sep 26, 2022
@Gonals
Copy link
Contributor

Gonals commented Sep 26, 2022

Setting as external!

There are a couple of questions from @Puneet-here, but it looks like a good proposal to me

@Gonals Gonals removed their assignment Sep 26, 2022
@Santhosh-Sellavel
Copy link
Collaborator

@NicMendonca

Busy with existing work items, also limited availability for next couple weeks So un-assigning this one. Can you reassign this to another C+ by reapplying the external label?

Also, Leave a note there is a proposal yet to be reviewed #11197 (comment).

Thanks!

@NicMendonca NicMendonca removed the External Added to denote the issue can be worked on by a contributor label Sep 26, 2022
@trjExpensify
Copy link
Contributor

PR is being held for the merge freeze, but we should wrap-up here in a few days melv!

@melvin-bot
Copy link

melvin-bot bot commented Sep 12, 2023

@trjExpensify, @rushatgabhane, @stitesExpensify, @Puneet-here Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot
Copy link

melvin-bot bot commented Sep 14, 2023

@trjExpensify, @rushatgabhane, @stitesExpensify, @Puneet-here Eep! 4 days overdue now. Issues have feelings too...

@trjExpensify
Copy link
Contributor

@Puneet-here there are conflicts to resolve, please jump on them and let's get this finished. Thanks!

@Puneet-here
Copy link
Contributor

Updated! Sorry for the delay from my side, I am out right now.

@melvin-bot
Copy link

melvin-bot bot commented Sep 19, 2023

Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:

  • when @Puneet-here got assigned: 2023-06-20 13:43:56 Z
  • when the PR got merged: 2023-09-19 04:03:49 UTC
  • days elapsed: 64

On to the next one 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Sep 22, 2023
@melvin-bot melvin-bot bot changed the title [Image] Feature Request: Introduce an ability to view workspace picture with a single tap - reported by @chauchausoup [HOLD for payment 2023-09-29] [Image] Feature Request: Introduce an ability to view workspace picture with a single tap - reported by @chauchausoup Sep 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Sep 22, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.72-11 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-29. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

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:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Sep 29, 2023
@trjExpensify
Copy link
Contributor

trjExpensify commented Oct 2, 2023

Alright, seems like we're ready to make payments here! Old bounty levels of $1,000 apply on this issue because it was created prior to August 30th, but it's still a new feature request which we don't pay for reporting as bugs.

This PR took longer than 9 days, so a 50% reduction in the bounty applies per here. That makes the payouts by my calculation:

  • @Puneet-here - $500 for the implementation
  • @rushatgabhane - $500 for the review
  • @chauchausoup - $250 for the feature request (this issue was created in Sept 22 prior to the change in policy to not pay for these in Nov 22).

Everyone agree on that? Let me know, and I'll send @Puneet-here an offer in Upwork, and Rushat you can proceed to request.

@melvin-bot melvin-bot bot removed the Overdue label Oct 2, 2023
@chauchausoup
Copy link

@trjExpensify while I was reporting the Feature Request , it was written in FR guideline that FR is viable for a bounty.

@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2023

📣 @chauchausoup! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Make sure you've read and understood the contributing guidelines.
  2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@trjExpensify
Copy link
Contributor

Oh hm, fair enough. That policy went into place in Nov 2022 here. This issue was created in Sept 22 originally, so yes, $250 is due for the report.

Added that to my post above and sent you an offer. Waiting for confo from @rushatgabhane on the payments above to proceed!

@chauchausoup
Copy link

Thank you @trjExpensify .

@trjExpensify
Copy link
Contributor

@chauchausoup paid!
@Puneet-here offer sent.
@rushatgabhane free to proceed to request.

@Puneet-here
Copy link
Contributor

Accepted.

@trjExpensify
Copy link
Contributor

Paid!

@JmillsExpensify
Copy link

$500 payment approved for @rushatgabhane based on BZ summary

@melvin-bot melvin-bot bot added the Overdue label Oct 9, 2023
@trjExpensify
Copy link
Contributor

Okay great, closing now then!

@melvin-bot melvin-bot bot removed the Overdue label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests