Skip to content

[HOLD for payment 2023-08-24] [CHECKLIST TO BE COMPLETED] [$1000] Workspace +N overlay has a smaller border radius than the workspace icon #23426

Closed

Description

@kavimuru

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:

Requirement: has >= 5 workspaces

  1. Open Settings
  2. Hover or long-press the Workspaces menu
  3. Notice carefully the +N overlay border radius
    To spot it easier, please zoom it

Expected Result:

The overlay border radius is the same as the workspace icon border radius

Actual Result:

The overlay border radius is smaller than the workspace icon border radius

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.44-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Screenshot 2023-07-22 at 21 10 34

Snip - New Expensify - Google Chrome (4)

Expensify/Expensify Issue URL:
Issue reported by: @bernhardoj
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690036975314749

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01fb51d18c394675da
  • Upwork Job ID: 1683274383107907584
  • 2023-07-24
  • Automatic offers:
    • bernhardoj | Contributor | 25777355
    • bernhardoj | Reporter | 25777356

Activity

  1. added
    Daily
    Bug
    on Jul 23, 2023
  2. melvin-bot commented on Jul 23, 2023

    @melvin-bot

    Triggered auto assignment to @jliexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Jul 23, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. kavimuru commented on Jul 23, 2023

    @kavimuru
    Author

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    The workspace +N overlay has a smaller border-radius than the workspace icon.

    What is the root cause of that problem?

    In the code, the workspace icon and the +N overlay have the same border radius, which is 6. They also have the same size, which is 24, but somehow the overlay border radius appears smaller. Here is why:
    The workspace icon is a nested view that has 2 border-radius styles with the same value (6). The first border-radius is in MultipleAvatars. This View has a border width of 2.

    <View
    style={[
    styles.justifyContentCenter,
    styles.alignItemsCenter,
    StyleUtils.getHorizontalStackedAvatarBorderStyle({
    isHovered: props.isHovered,
    isPressed: props.isPressed,
    isInReportAction: props.isInReportAction,
    shouldUseCardBackground: props.shouldUseCardBackground,
    }),
    StyleUtils.getHorizontalStackedAvatarStyle(index, overlapSize, oneAvatarBorderWidth, oneAvatarSize.width),
    icon.type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, icon.type) : {},
    ]}
    >

    The second border radius is in Avatar.
    <Icon
    src={imageError ? fallbackAvatar : props.source}
    height={iconSize}
    width={iconSize}
    fill={imageError ? themeColors.offline : iconFillColor}
    additionalStyles={[
    StyleUtils.getAvatarBorderStyle(props.size, props.type),
    isWorkspace ? StyleUtils.getDefaultWorkspaceAvatarColor(props.name) : {},
    imageError ? StyleUtils.getBackgroundColorStyle(themeColors.fallbackIconColor) : {},
    ...props.iconAdditionalStyles,
    ]}
    />

    On the other hand, the overlay only has 1 border radius style. This View also has a border width of 2.
    <View
    style={[
    styles.alignItemsCenter,
    styles.justifyContentCenter,
    StyleUtils.getHorizontalStackedAvatarBorderStyle({
    isHovered: props.isHovered,
    isPressed: props.isPressed,
    isInReportAction: props.isInReportAction,
    shouldUseCardBackground: props.shouldUseCardBackground,
    }),
    // Set overlay background color with RGBA value so that the text will not inherit opacity
    StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.overlay, variables.overlayOpacity),
    StyleUtils.getHorizontalStackedOverlayAvatarStyle(oneAvatarSize, oneAvatarBorderWidth),
    props.icons[3].type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, props.icons[3].type) : {},
    ]}
    >

    The bigger the value, the bigger the radius. But as we also know, border radius is also affected by the element size. For the workspace icon, the first View has a border width of 2, which means the total width of the element is
    24 + 2 (border left) + 2 (border right) = 28.
    while the second View width is still 24. This makes the first View radius smaller than the 2nd View.
    Screenshot 2023-07-22 at 23 02 42
    The image above shows the radius difference between the parent View and the child View.
    In the case of the overlay, the width is also 28 (24 + 2 + 2).
    Screenshot 2023-07-22 at 21 10 34
    The image above also shows the radius difference between the overlay and the workspace icon. Because the radius is different, we can notice the overlay background color.

    What changes do you think we should make in order to solve the problem?

    Avatar code has a lot of responsibilities and I think the most ideal solution is to refactor the Avatar and MultipleAvatar code so we don't have the nested View with multiple border radius, but I also think that requires a lot of effort.
    So, I would like to propose this simple idea (the idea is to mimic the structure of the workspace icon):

    1. Add the border radius style to the overlay child View.
      <View
      style={[
      styles.justifyContentCenter,
      styles.alignItemsCenter,
      StyleUtils.getHeight(oneAvatarSize.height),
      StyleUtils.getWidthStyle(oneAvatarSize.width),
      ]}
      >
    2. Move the overlay background color to the overlay child View
    View diff ```diff diff --git a/src/components/MultipleAvatars.js b/src/components/MultipleAvatars.js index 3b20d99fa2..6e4ce933ca 100644 --- a/src/components/MultipleAvatars.js +++ b/src/components/MultipleAvatars.js @@ -206,9 +206,7 @@ function MultipleAvatars(props) { isInReportAction: props.isInReportAction, shouldUseCardBackground: props.shouldUseCardBackground, }), - - // Set overlay background color with RGBA value so that the text will not inherit opacity - StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.overlay, variables.overlayOpacity), + styles.bgTransparent, <- we need to set it to transparent to override the bg from getHorizontalStackedAvatarBorderStyle StyleUtils.getHorizontalStackedOverlayAvatarStyle(oneAvatarSize, oneAvatarBorderWidth), props.icons[3].type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, props.icons[3].type) : {}, ]} @@ -219,6 +217,9 @@ function MultipleAvatars(props) { styles.alignItemsCenter, StyleUtils.getHeight(oneAvatarSize.height), StyleUtils.getWidthStyle(oneAvatarSize.width), + // Set overlay background color with RGBA value so that the text will not inherit opacity + StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.overlay, variables.overlayOpacity), + StyleUtils.getAvatarBorderStyle(props.size, props.icons[3].type), ]} > ### What alternative solutions did you explore? (Optional) **Alternative 1** To have the same radius between the icon parent and the icon itself, we should adjust the parent border radius by taking into account the border width. For example, the workspace icon border width is 2, so we add the current border radius, which is 6, with the border width (6 + 2 = 8). The parent (container) border radius will be 8. 1. Create a new StyleUtils called `getAvatarContainerBorderRadius(size, type, borderWidth)`. It will simply call `getAvatarBorderRadius` and add `borderWidth` to the result. 2. Replace the usage of `getAvatarBorderRadius` (on the icon and overlay) with `getAvatarContainerBorderRadius` image **Alternative 2** I think this alternative solution is cleaner but requires more changes, but there is a catch. The idea is to completely remove the border from the overlay. We want just a simple View that sits on top of the workspace icon with the same size and border radius. 1. Remove the overlay child View and move the height and width style to the parent. https://github.com/Expensify/App/blob/b7d17e0fd33b83e9fbd45146b6123b6323ece79e/src/components/MultipleAvatars.js#L216-L223 2. Remove the border style of the overlay parent View. This will remove the border color and "unused" bg color. https://github.com/Expensify/App/blob/b7d17e0fd33b83e9fbd45146b6123b6323ece79e/src/components/MultipleAvatars.js#L203-L208 3. Remove the second border style of the overlay parent View. (remove the borderWidth and borderStyle) https://github.com/Expensify/App/blob/b7d17e0fd33b83e9fbd45146b6123b6323ece79e/src/styles/StyleUtils.js#L920-L928 4. Because we are removing the border from the overlay, we need to adjust the `left` positioning. Before: `left: -(oneAvatarSize.width * 2 + oneAvatarBorderWidth * 2)` After: `left: -(oneAvatarSize.width * 2 + oneAvatarBorderWidth)` `oneAvatarBorderWidth` is the 4th workspace icon's right border width. 5. We need to somehow disable the tooltip of the icon behind the overlay because now the user can hover over the icon border. Screenshot 2023-07-23 at 00 13 57, OR if we want, we can also do a change so that user can't hover over the icon border, which I prefer.
  5. jliexpensify commented on Jul 24, 2023

    @jliexpensify
    Contributor

    Yep, I can repro:

    image

  6. added
    External
    on Jul 24, 2023
  7. changed the title [-]Workspace +N overlay has a smaller border radius than the workspace icon[/-] [+][$1000] Workspace +N overlay has a smaller border radius than the workspace icon[/+] on Jul 24, 2023
  8. melvin-bot commented on Jul 24, 2023

    @melvin-bot
  9. added
    Help Wanted
    on Jul 24, 2023
  10. melvin-bot commented on Jul 24, 2023

    @melvin-bot

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

  11. melvin-bot commented on Jul 24, 2023

    @melvin-bot

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

  12. bernhardoj commented on Jul 24, 2023

    @bernhardoj
    Contributor

    Reposting the proposal because the prev one is not properly formatted.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    The workspace +N overlay has a smaller border-radius than the workspace icon.

    What is the root cause of that problem?

    In the code, the workspace icon and the +N overlay have the same border radius, which is 6. They also have the same size, which is 24, but somehow the overlay border radius appears smaller. Here is why:

    The workspace icon is a nested view that has 2 border-radius styles with the same value (6). The first border-radius is in MultipleAvatars. This View has a border width of 2.

    <View
    style={[
    styles.justifyContentCenter,
    styles.alignItemsCenter,
    StyleUtils.getHorizontalStackedAvatarBorderStyle({
    isHovered: props.isHovered,
    isPressed: props.isPressed,
    isInReportAction: props.isInReportAction,
    shouldUseCardBackground: props.shouldUseCardBackground,
    }),
    StyleUtils.getHorizontalStackedAvatarStyle(index, overlapSize, oneAvatarBorderWidth, oneAvatarSize.width),
    icon.type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, icon.type) : {},
    ]}
    >

    The second border radius is in Avatar.

    <Icon
    src={imageError ? fallbackAvatar : props.source}
    height={iconSize}
    width={iconSize}
    fill={imageError ? themeColors.offline : iconFillColor}
    additionalStyles={[
    StyleUtils.getAvatarBorderStyle(props.size, props.type),
    isWorkspace ? StyleUtils.getDefaultWorkspaceAvatarColor(props.name) : {},
    imageError ? StyleUtils.getBackgroundColorStyle(themeColors.fallbackIconColor) : {},
    ...props.iconAdditionalStyles,
    ]}
    />

    On the other hand, the overlay only has 1 border radius style. This View also has a border width of 2.

    <View
    style={[
    styles.alignItemsCenter,
    styles.justifyContentCenter,
    StyleUtils.getHorizontalStackedAvatarBorderStyle({
    isHovered: props.isHovered,
    isPressed: props.isPressed,
    isInReportAction: props.isInReportAction,
    shouldUseCardBackground: props.shouldUseCardBackground,
    }),
    // Set overlay background color with RGBA value so that the text will not inherit opacity
    StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.overlay, variables.overlayOpacity),
    StyleUtils.getHorizontalStackedOverlayAvatarStyle(oneAvatarSize, oneAvatarBorderWidth),
    props.icons[3].type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, props.icons[3].type) : {},
    ]}
    >

    The bigger the value, the bigger the radius. But as we also know, border radius is also affected by the element size. For the workspace icon, the first View has a border width of 2, which means the total width of the element is
    24 + 2 (border left) + 2 (border right) = 28.

    while the second View width is still 24. This makes the first View radius smaller than the 2nd View.
    Screenshot 2023-07-22 at 23 02 42

    The image above shows the radius difference between the parent View and the child View.

    In the case of the overlay, the width is also 28 (24 + 2 + 2).
    Screenshot 2023-07-22 at 21 10 34

    The image above also shows the radius difference between the overlay and the workspace icon. Because the radius is different, we can notice the overlay background color.

    What changes do you think we should make in order to solve the problem?

    So, I would like to propose this simple idea.
    The idea is to remove the border style from the parent view (specifically the width and color). The avatar component itself already has a logic to apply the border style to the icon, but only the radius. So, we need to move both border width and color style from the parent to the Avatar component by passing it to iconAdditionalStyles.

    This will make the Avatar have a width of 28 (24 + 2 + 2) and because we apply the border radius to the Avatar, the radius will be the same as the overlay. I put this as a main solution because the radius is consistent with other workspace icons.

    image
    View diff
    diff --git a/src/components/MultipleAvatars.js b/src/components/MultipleAvatars.js
    index 3b20d99fa2..bf77bf0dc6 100644
    --- a/src/components/MultipleAvatars.js
    +++ b/src/components/MultipleAvatars.js
    @@ -169,19 +169,20 @@ function MultipleAvatars(props) {
                                 >
                                     <View
                                         style={[
    -                                        styles.justifyContentCenter,
    -                                        styles.alignItemsCenter,
    -                                        StyleUtils.getHorizontalStackedAvatarBorderStyle({
    -                                            isHovered: props.isHovered,
    -                                            isPressed: props.isPressed,
    -                                            isInReportAction: props.isInReportAction,
    -                                            shouldUseCardBackground: props.shouldUseCardBackground,
    -                                        }),
    -                                        StyleUtils.getHorizontalStackedAvatarStyle(index, overlapSize, oneAvatarBorderWidth, oneAvatarSize.width),
    -                                        icon.type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, icon.type) : {},
    +                                        StyleUtils.getHorizontalStackedAvatarStyle(index, overlapSize),
    +                                        StyleUtils.getAvatarBorderRadius(props.size, icon.type),
                                         ]}
                                     >
                                         <Avatar
    +                                        iconAdditionalStyles={[
    +                                            StyleUtils.getHorizontalStackedAvatarBorderStyle({
    +                                                isHovered: props.isHovered,
    +                                                isPressed: props.isPressed,
    +                                                isInReportAction: props.isInReportAction,
    +                                                shouldUseCardBackground: props.shouldUseCardBackground,
    +                                            }),
    +                                            StyleUtils.getAvatarBorderWidth(props.size),
    +                                        ]}
                                             source={icon.source || props.fallbackIcon}
                                             fill={themeColors.iconSuccessFill}
                                             size={props.size}
    diff --git a/src/styles/StyleUtils.js b/src/styles/StyleUtils.js
    index c8449d16d1..552be36012 100644
    --- a/src/styles/StyleUtils.js
    +++ b/src/styles/StyleUtils.js
    @@ -878,20 +878,17 @@ function getKeyboardShortcutsModalWidth(isSmallScreenWidth) {
      * @returns {Object}
      */
     function getHorizontalStackedAvatarBorderStyle({isHovered, isPressed, isInReportAction = false, shouldUseCardBackground = false}) {
    -    let backgroundColor = shouldUseCardBackground ? themeColors.cardBG : themeColors.appBG;
    +    let borderColor = shouldUseCardBackground ? themeColors.cardBG : themeColors.appBG; // removed the bg color because previously it is being used to cover the "hole" that is caused by the border radius difference between the parent and the avatar
     
         if (isHovered) {
    -        backgroundColor = isInReportAction ? themeColors.highlightBG : themeColors.border;
    +        borderColor = isInReportAction ? themeColors.highlightBG : themeColors.border;
         }
     
         if (isPressed) {
    -        backgroundColor = isInReportAction ? themeColors.highlightBG : themeColors.buttonPressedBG;
    +        borderColor = isInReportAction ? themeColors.highlightBG : themeColors.buttonPressedBG;
         }
     
    -    return {
    -        backgroundColor,
    -        borderColor: backgroundColor,
    -    };
    +    return {borderColor};
     }
     
     /**
    @@ -902,11 +899,9 @@ function getHorizontalStackedAvatarBorderStyle({isHovered, isPressed, isInReport
      * @param {Number} borderRadius
      * @returns {Object}
      */
    -function getHorizontalStackedAvatarStyle(index, overlapSize, borderWidth, borderRadius) {
    +function getHorizontalStackedAvatarStyle(index, overlapSize) {
         return {
             left: -(overlapSize * index),
    -        borderRadius,
    -        borderWidth,
             zIndex: index + 2,
         };
     }
    

    What alternative solutions did you explore? (Optional)

    Alternative 1
    The idea is to mimic the structure of the workspace icon, that is to have border on both parent and child View:

    1. Add the border radius style to the overlay child View.
      <View
      style={[
      styles.justifyContentCenter,
      styles.alignItemsCenter,
      StyleUtils.getHeight(oneAvatarSize.height),
      StyleUtils.getWidthStyle(oneAvatarSize.width),
      ]}
      >
    2. Move the overlay background color to the overlay child View
    image
    View diff
    diff --git a/src/components/MultipleAvatars.js b/src/components/MultipleAvatars.js
    index 3b20d99fa2..6e4ce933ca 100644
    --- a/src/components/MultipleAvatars.js
    +++ b/src/components/MultipleAvatars.js
    @@ -206,9 +206,7 @@ function MultipleAvatars(props) {
                                                 isInReportAction: props.isInReportAction,
                                                 shouldUseCardBackground: props.shouldUseCardBackground,
                                             }),
    -
    -                                        // Set overlay background color with RGBA value so that the text will not inherit opacity
    -                                        StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.overlay, variables.overlayOpacity),
    +                                        styles.bgTransparent, // we need to set it to transparent to override the bg from getHorizontalStackedAvatarBorderStyle
                                             StyleUtils.getHorizontalStackedOverlayAvatarStyle(oneAvatarSize, oneAvatarBorderWidth),
                                             props.icons[3].type === CONST.ICON_TYPE_WORKSPACE ? StyleUtils.getAvatarBorderRadius(props.size, props.icons[3].type) : {},
                                         ]}
    @@ -219,6 +217,9 @@ function MultipleAvatars(props) {
                                                 styles.alignItemsCenter,
                                                 StyleUtils.getHeight(oneAvatarSize.height),
                                                 StyleUtils.getWidthStyle(oneAvatarSize.width),
    +                                            // Set overlay background color with RGBA value so that the text will not inherit opacity
    +                                            StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.overlay, variables.overlayOpacity),
    +                                            StyleUtils.getAvatarBorderStyle(props.size, props.icons[3].type),
                                             ]}
                                         >
                                             <Text

    Alternative 2
    To have the same radius between the icon parent and the icon itself, we should adjust the parent border radius by taking into account the border width. For example, the workspace icon border width is 2, so we add the current border radius, which is 6, with the border width (6 + 2 = 8). The parent (container) border radius will be 8.

    1. Create a new StyleUtils called getAvatarContainerBorderRadius(size, type, borderWidth). It will simply call getAvatarBorderRadius and add borderWidth to the result.
    2. Replace the usage of getAvatarBorderRadius (on the icon and overlay) with getAvatarContainerBorderRadius
    image
  13. 30 remaining items

  14. jliexpensify commented on Aug 11, 2023

    @jliexpensify
    Contributor

    @danieldoglas no worries, I can adjust the Payment for @bernhardoj . What about for @thesahindia ?

    EDIT - https://expensify.slack.com/archives/C01SKUP7QR0/p1691717578369759

    We'll also pay out the C+ the full amount.

  15. jliexpensify commented on Aug 11, 2023

    @jliexpensify
    Contributor

    Also, @thesahindia do we need to complete an updated checklist or anything?

  16. jliexpensify commented on Aug 11, 2023

    @jliexpensify
    Contributor

    Paid in Upworks, job removed. @thesahindia - is a checklist needed? Also, please request $1000 in New.Dot.

  17. changed the title [-][HOLD for payment 2023-08-10] [$1000] Workspace +N overlay has a smaller border radius than the workspace icon[/-] [+][CHECKLIST TO BE COMPLETED] [$1000] Workspace +N overlay has a smaller border radius than the workspace icon[/+] on Aug 11, 2023
  18. jliexpensify commented on Aug 14, 2023

    @jliexpensify
    Contributor

    @thesahindia bump on checklist + ND payment request

  19. jliexpensify commented on Aug 16, 2023

    @jliexpensify
    Contributor

    Bump @thesahindia - do we need a checklist?

  20. added
    Weekly
    and removed
    Daily
    on Aug 17, 2023
  21. changed the title [-][CHECKLIST TO BE COMPLETED] [$1000] Workspace +N overlay has a smaller border radius than the workspace icon[/-] [+][HOLD for payment 2023-08-24] [CHECKLIST TO BE COMPLETED] [$1000] Workspace +N overlay has a smaller border radius than the workspace icon[/+] on Aug 17, 2023
  22. melvin-bot commented on Aug 17, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.54-13 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-08-24. 🎊

    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
  23. melvin-bot commented on Aug 17, 2023

    @melvin-bot

    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:

    • [@thesahindia] The PR that introduced the bug has been identified. Link to the PR:
    • [@thesahindia] 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:
    • [@thesahindia] 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:
    • [@thesahindia] Determine if we should create a regression test for this bug.
    • [@thesahindia] 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.
    • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  24. thesahindia commented on Aug 21, 2023

    @thesahindia
    Member

    Sorry for the delay. I was out.

    Regression test steps -

    Prerequisite:
    a. have more than 4 workspaces
    b. the 4th workspace avatar should be a custom image
    c. one of the 1st to 3rd workspace avatars should be a custom image

    1. Open Settings
    2. Hover/Long press over the Workspaces menu
    3. Verify the border radius of all the workspace icons and the overlay (+1, +2, etc.) is the same

    I couldn't find the PR that caused this issue. There were multiple changes so it's hard to track.

    P.S. I have requested the payment.

  25. JmillsExpensify commented on Aug 24, 2023

    @JmillsExpensify
    Contributor

    Reviewed the details for @thesahindia. $1,000 approved for payment based on the BZ summary above.

  26. jliexpensify commented on Aug 27, 2023

    @jliexpensify
    Contributor

    Closing this, I think everytihng is sorted!

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

Metadata

Metadata

Labels

Awaiting PaymentBugExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions