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 2022-11-04] [$250] Add Workspace name label next to room name in the chats list #11543

Closed
shawnborton opened this issue Oct 3, 2022 · 37 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Design Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@shawnborton
Copy link
Contributor

shawnborton commented Oct 3, 2022

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:

As soon as you have multiple workspaces, it becomes impossible to decipher from a glance which rooms belong to which workspaces when you look at the LHN. As a result, you have to click into each chat to obtain that information in the chat header.

cc @trjExpensify

Actual Result:

image

Proposed Change:

Let's add a small pill style label next to the room name to indicate which workspace the room belongs to.
image

Platform:

Where is this issue occurring?

  • All Platforms

Upwork URL: https://www.upwork.com/jobs/~01d70c28c08ade2a30
Slack conversation: Internal link

View all open jobs on GitHub

@shawnborton shawnborton added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Oct 3, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

Triggered auto assignment to @Christinadobrzyn (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 Oct 3, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

Current assignee @shawnborton is eligible for the Design assigner, not assigning anyone new.

@trjExpensify trjExpensify added External Added to denote the issue can be worked on by a contributor Engineering labels Oct 3, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 3, 2022

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

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

melvin-bot bot commented Oct 3, 2022

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

@melvin-bot melvin-bot bot changed the title Add Workspace name label next to room name in the chats list [$250] Add Workspace name label next to room name in the chats list Oct 3, 2022
@trjExpensify
Copy link
Contributor

Thanks, @shawnborton. Christina, I'll snag this from you and move it along to Upwork as it's impacting the productivity of the guides agents.

@trjExpensify
Copy link
Contributor

Upwork job here: https://www.upwork.com/jobs/~01d70c28c08ade2a30

@akshayasalvi
Copy link
Contributor

akshayasalvi commented Oct 3, 2022

Proposal

We need to update the DisplayNames component to accept nodes instead of Proptypes.string.

<View style={contentContainerStyles}>
<DisplayNames
accessibilityLabel="Chat user display names"
fullTitle={optionItem.text}
displayNamesWithTooltips={displayNamesWithTooltips}

<DisplayNames
    accessibilityLabel="Chat user display names"
-    fullTitle={optionItem.text}
+    fullTitle={(
+        <View style={[styles.flexRow]}>
+            <Text>{optionItem.text}</Text>
+           <View style={styles.pillContainer}>
+                <Text style={styles.textMicro}>{optionItem.subtitle}</Text>
+            </View>
+        </View>
+   )}

and add in styles.js:

   pillContainer: {
     ...styles.pv1, 
     ...styles.ph2, 
     ...styles.mh2, 
     backgroundColor: colors.gray2,
     borderRadius: variables.componentBorderRadiusCard,
     height: 20,
  },

Here's how it looks like after implementing, and I can update the styles if I get some design feedback.

cc - @mananjadhav @shawnborton

image

@shawnborton
Copy link
Contributor Author

Ideally the pill should only be 20px tall, and we'll want to make sure it doesn't get cut off like it currently is.

@akshayasalvi
Copy link
Contributor

akshayasalvi commented Oct 4, 2022

@shawnborton Pill with 20px height, and updated the proposal.

image

What do we do about the text overflowing when the workspace name is too long (second last row in the screenshot)

@mananjadhav
Copy link
Collaborator

@akshayasalvi's proposal here #11543 (comment) looks good. Will still wait for @shawnborton's comment on text overflow.

🎀 👀 🎀 
C+ reviewed

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Help Wanted Apply this label when an issue is open to proposals by contributors Daily KSv2 labels Oct 11, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2022

📣 @bernhardoj You have been assigned to this job by @marcochavezf!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@bernhardoj
Copy link
Contributor

bernhardoj commented Oct 12, 2022

I have applied for the Upwork job. I will open the PR ASAP, today or tomorrow.

@trjExpensify
Copy link
Contributor

@bernhardoj - offer sent!
@mananjadhav - invite to job sent!

@bernhardoj
Copy link
Contributor

Hi, the pull request is opened. Here is the pull request #11799. Kindly review it! Thanks!

@marcochavezf marcochavezf added the Reviewing Has a PR in review label Oct 13, 2022
@mananjadhav
Copy link
Collaborator

Done with one round of review, have raised comments. Once resolved, I'll review once again and then Test.

@mananjadhav
Copy link
Collaborator

mananjadhav commented Oct 19, 2022

@bernhardoj Let me know once it is ready for the next round of review. I can see some comments are not resolved yet. Also can you sync with the latest main branch (can see some conflicts)?

@bernhardoj
Copy link
Contributor

bernhardoj commented Oct 19, 2022

I have pulled the latest changes from main and commit the newest changes. Kindly review it again. Thanks! @mananjadhav

@puneetlath puneetlath added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 19, 2022
@trjExpensify
Copy link
Contributor

@mananjadhav looks like we just need your re-review here and then this one is good to go. Can you get to it this week, please? It's a huge quality of life issue this one for our onboarding Guides. Thanks!

@mananjadhav
Copy link
Collaborator

It's on my todo today!

@mananjadhav
Copy link
Collaborator

@trjExpensify @marcochavezf this is done.

@trjExpensify
Copy link
Contributor

Excellent, thanks! @marcochavezf can you get this reviewed now, please?

marcochavezf added a commit that referenced this issue Oct 26, 2022
Add Workspace name label next to room name in the chats list
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 28, 2022
@melvin-bot
Copy link

melvin-bot bot commented Oct 28, 2022

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

@melvin-bot melvin-bot bot changed the title [$250] Add Workspace name label next to room name in the chats list [HOLD for payment 2022-11-04] [$250] Add Workspace name label next to room name in the chats list Oct 28, 2022
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 3, 2022
@trjExpensify
Copy link
Contributor

Settled up!

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Design Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

9 participants