Skip to content

[HOLD for payment 2024-01-17] [$500] HIGH: Improve formatting of People in this workspace can find your room message #32614

Closed

Description

@quinthar

Problem:
The People in this workspace can find your room message here is visually disconnected from the visibility selector:

Image

Solution:
Redesign this field to be more like the "priority mode" selector, where the messages are in the selections themselves:

Image

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0123449fd9ddb566ea
  • Upwork Job ID: 1734735737424388096
  • Last Price Increase: 2023-12-13
  • Automatic offers:
    • s77rt | Reviewer | 28071605
    • esh-g | Contributor | 28071606

Activity

  1. converted this from a draft issue on Dec 7, 2023
  2. added
    Daily
    and removed on Dec 11, 2023
  3. quinthar commented on Dec 11, 2023

    @quinthar
    ContributorAuthor

    @shawnborton coming through with a great mockup:

    image

  4. quinthar commented on Dec 11, 2023

    @quinthar
    ContributorAuthor

    @mallenexpensify I see you assigned yourself; can you clean this up and get a contributor on it?

  5. esh-g commented on Dec 12, 2023

    @esh-g
    Contributor

    Proposal

    Please re-state the problem we are trying to solve

    The People in this workspace can find your room message here is visually disconnected from the visibility selector

    What is the root cause of the problem?

    The ValueSelectorModal does not have a field for alternateText here:

    useEffect(() => {
    const itemsData = _.map(items, (item) => ({value: item.value, keyForList: item.value, text: item.label, isSelected: item === selectedItem}));
    setSectionsData(itemsData);

    What changes should be made to fix this?

    We already pass a description to the ValuePicker with the item prop from the WorkspaceNewRoomPage.js we just need to use it as alternateText in the ValueSelectorModal, so that it can be passed into the SectionList properly here:

    useEffect(() => {
    const itemsData = _.map(items, (item) => ({value: item.value, keyForList: item.value, text: item.label, isSelected: item === selectedItem}));
    setSectionsData(itemsData);

    This can be done by adding a property to the object like this:

    {alternateText: item.description}

    We can also possibly rename the description to alternateText in WorkspaceNewRoomPage.js as well.

    Result

    Screenshot 2023-12-12 at 2 40 20 PM

    Additional changes (Optional)

    I also noticed some additional changes can be done to mimic the design provided here more closely

    • Use the furtherDetails prop to pass the description for the visibility which is already defined in MenuItem. So, in WorkspaceNewRoomPage.js we can pass furtherDetails={visibilityDescription} to the ValuePicker. We also need to modify the ValuePicker component to accept the prop and pass it to MenuItemWithTopDescription internally. Then in MenuItem we also need to make some changes because currently, if we want to pass furtherDetails we also need furtherDetailsIcon since in this case we don't need an icon (or maybe we could add a help icon), we can make the icon optional and remove the horizontal padding if icon is not passed. This would mean no addtional prop required for the MenuItem.
    Screenshot 2023-12-13 at 9 55 14 PM
    (isUserItem || item.isSelected) || item.alternateText ? styles.sidebarLinkTextBold : null,
    • We can also possibly add some margin between the title and the alternateText if it exists to make it look better, since all titles are bold by adding this style:
    item.alternateText ? styles.mb1 : null,
    • We can also possibly make the supporting text smaller.

    Result

    Screen.Recording.2023-12-13.at.9.51.23.PM.mov

    The additional changes section provides some optional changes that we can make or not depending on the design requirements.

  6. added
    Help Wanted
    External
    on Dec 13, 2023
  7. changed the title [-]HIGH: Improve formatting of People in this workspace can find your room message[/-] [+][$500] HIGH: Improve formatting of People in this workspace can find your room message[/+] on Dec 13, 2023
  8. melvin-bot commented on Dec 13, 2023

    @melvin-bot
  9. 74 remaining items

  10. mallenexpensify commented on Jan 17, 2024

    @mallenexpensify
    Contributor

    Checked on iOS and everything looks good/correct.

    ⚠️ Looks like this issue was linked to a Deploy Blocker #34644

    I'm assuming this is not related to a deploy blocker and that payment is due now. Please comment if you disagree and I'll wait a day to issue payment.

  11. s77rt commented on Jan 17, 2024

    @s77rt
    Member

    #32614 (comment) is false positive

  12. mallenexpensify commented on Jan 17, 2024

    @mallenexpensify
    Contributor

    Contributor: @esh-g paid $500 via Upwork
    Contributor+: @s77rt paid $500 via Upwork

    @s77rt it looks like the bug zero checklist didn't auto-post, can you fill this out plz? For the TestRail GH, we'll have them file it with their monthly/design checklist, since they don't need to check every release for the text location.

    BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • The PR that introduced the bug has been identified. Link to the PR:
    • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  13. s77rt commented on Jan 17, 2024

    @s77rt
    Member

    Regression Test Proposal

    Test 1

    1. Click on the '+' FAB.
    2. Click on 'Start chat'
    3. Select the '#Room' tab
    4. Hover the Visibility menu item
    5. Verify that the visibility description text e.g. 'People in your workspace can find this room' is part of the hovered item
    6. Click on the Visibility menu item
    7. Verify that all of the options's titles are in bold

    Test 2

    1. Go to Settings > Workspaces > any workspace > Members and click Invite
    2. Verify that the font size of the second line (email line) of each option is smaller than that of the first line (full name line)
    3. Go to Settings > Preferences > Priority mode
    4. Verify that the font size of the second line of each option is smaller than that of the first line
  14. s77rt commented on Jan 17, 2024

    @s77rt
    Member
  15. added
    Weekly
    and removed
    Daily
    on Jan 18, 2024
  16. changed the title [-][HOLD for payment 2024-01-17] [$500] HIGH: Improve formatting of People in this workspace can find your room message[/-] [+][HOLD for payment 2024-01-25] [HOLD for payment 2024-01-17] [$500] HIGH: Improve formatting of People in this workspace can find your room message[/+] on Jan 18, 2024
  17. removed
    Reviewing
    on Jan 18, 2024
  18. melvin-bot commented on Jan 18, 2024

    @melvin-bot

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

  19. melvin-bot commented on Jan 18, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.26-2 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 2024-01-25. 🎊

    For reference, here are some details about the assignees on this issue:

  20. changed the title [-][HOLD for payment 2024-01-25] [HOLD for payment 2024-01-17] [$500] HIGH: Improve formatting of People in this workspace can find your room message[/-] [+][HOLD for payment 2024-01-17] [$500] HIGH: Improve formatting of People in this workspace can find your room message[/+] on Jan 19, 2024
  21. mallenexpensify commented on Jan 19, 2024

    @mallenexpensify
    Contributor

    Thanks @s77rt regression test update here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentExternalWeekly

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions