Skip to content

[HOLD for payment 2023-07-10] [$1000] Verify push to page design  #21715

Closed

Description

@thienlnam

#21553 (comment)

When a push row has no value, the label should float vertically and have a font size of 15px which matches our default font size. Then when it does have a value, the label is at 13px and sits above the value:

In your screenshot, the labels with no value are too small.

Let's verify what we're using for the push to page font values. I believe we're using the same general component but those styles might have been updated somewhere

cc @shawnborton

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01764a647f1d382849
  • Upwork Job ID: 1673785844117725184
  • Last Price Increase: 2023-06-27

Activity

  1. self-assigned this
    on Jun 27, 2023
  2. shawnborton commented on Jun 27, 2023

    @shawnborton
    Contributor

    Thanks!

  3. Nikhil-Vats commented on Jun 27, 2023

    @Nikhil-Vats
    Contributor

    @thienlnam @shawnborton I checked and this is not the standard in app anymore, I think the code was removed at some point -

    image

    What is the root cause of that problem?

    const descriptionTextStyle = StyleUtils.combineStyles([
    styles.textLabelSupporting,
    props.icon && !_.isArray(props.icon) ? styles.ml3 : undefined,
    styles.lineHeightNormal,
    props.title ? descriptionVerticalMargin : undefined,
    props.descriptionTextStyle,
    isDeleted ? styles.offlineFeedback.deleted : undefined,
    ]);

    In line 93, we can see that if title (value) is populated then margin is added otherwise we don't change font-size to 15px. font-size is fixed in textLabelSupporting as 13px -

    App/src/styles/styles.js

    Lines 1042 to 1046 in c122266

    textLabelSupporting: {
    fontFamily: fontFamily.EXP_NEUE,
    fontSize: variables.fontSizeLabel,
    color: themeColors.textSupporting,
    },

    Screenshots Screenshot 2023-06-28 at 12 01 47 AM Screenshot 2023-06-28 at 12 02 06 AM Screenshot 2023-06-28 at 12 02 16 AM Screenshot 2023-06-28 at 12 02 42 AM

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

    We just need to add it back like -

    props.title ? descriptionVerticalMargin : StyleUtils.getFontSizeStyle(variables.fontSizeNormal),
    Result Screenshot 2023-06-28 at 12 20 45 AM Screenshot 2023-06-28 at 12 21 00 AM Screenshot 2023-06-28 at 12 21 12 AM Screenshot 2023-06-28 at 12 21 27 AM
  4. shawnborton commented on Jun 27, 2023

    @shawnborton
    Contributor

    Welp, let's fix it!

  5. thienlnam commented on Jun 27, 2023

    @thienlnam
    ContributorAuthor

    Hah - lovely. Let's just make it external!

  6. added
    External
    on Jun 27, 2023
  7. changed the title [-]Verify push to page design [/-] [+][$1000] Verify push to page design [/+] on Jun 27, 2023
  8. melvin-bot commented on Jun 27, 2023

    @melvin-bot
  9. added
    Help Wanted
    on Jun 27, 2023
  10. melvin-bot commented on Jun 27, 2023

    @melvin-bot

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

  11. melvin-bot commented on Jun 27, 2023

    @melvin-bot

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

  12. 12 remaining items

  13. added
    Weekly
    Awaiting Payment
    and removed
    Daily
    on Jul 3, 2023
  14. changed the title [-][$1000] Verify push to page design [/-] [+][HOLD for payment 2023-07-10] [$1000] Verify push to page design [/+] on Jul 3, 2023
  15. removed
    Reviewing
    on Jul 3, 2023
  16. melvin-bot commented on Jul 3, 2023

    @melvin-bot

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

  17. melvin-bot commented on Jul 3, 2023

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.35-5 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-07-10. 🎊

    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

    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
  18. anmurali commented on Jul 7, 2023

    @anmurali
  19. added
    Daily
    and removed
    Weekly
    on Jul 9, 2023
  20. melvin-bot commented on Jul 12, 2023

    @melvin-bot

    @anmurali, @thienlnam, @Nikhil-Vats, @fedirjh Whoops! This issue is 2 days overdue. Let's get this updated quick!

  21. anmurali commented on Jul 14, 2023

    @anmurali

    Everyone's been paid!

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

Metadata

Metadata

Labels

Awaiting PaymentDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions