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

[PAID] IOS - Send message - Label not show on tab selector #29611

Closed
1 of 6 tasks
kbecciv opened this issue Oct 14, 2023 · 19 comments
Closed
1 of 6 tasks

[PAID] IOS - Send message - Label not show on tab selector #29611

kbecciv opened this issue Oct 14, 2023 · 19 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 External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Oct 14, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: Dev v1.3.83-10
Reproducible in staging?: n
Reproducible in production?: n
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
Expensify/Expensify Issue URL:
Issue reported by: @namhihi237
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697210216244469

Action Performed:

  1. Click FAB button
  2. Click send message
  3. Observe that the label on the tab selector does not appear

Expected Result:

It show label on selector tab

Actual Result:

The label on the selector does not appear

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native

Screenshot 2023-10-13 at 22 17 05

iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a781f41a1aa70899
  • Upwork Job ID: 1713215578534891520
  • Last Price Increase: 2023-10-14
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 14, 2023
@melvin-bot melvin-bot bot changed the title Dev: IOS - Send message - Label not show on tab selector [$500] Dev: IOS - Send message - Label not show on tab selector Oct 14, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 14, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01a781f41a1aa70899

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

melvin-bot bot commented Oct 14, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 14, 2023

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

@ikevin127
Copy link
Contributor

Proposal

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

It show label on selector tab icon and label.

What is the root cause of that problem?

It is a regression from PR #27660 because of the styles migration where tabOpacity function is updated to return an object.

It used to return just a number and that value was set for the opacity prop but now we are trying to set an object for the opacity prop.

Example of TabLabel and TabIcon:

<Animated.View style={[{opacity: activeOpacity}]}>
<Text style={styles.tabText(true)}>{title}</Text>
</Animated.View>
<Animated.View style={[StyleSheet.absoluteFill, {opacity: inactiveOpacity}]}>

<Animated.View style={{opacity: inactiveOpacity}}>
<Icon
src={icon}
fill={themeColors.icon}
/>
</Animated.View>
<Animated.View style={[StyleSheet.absoluteFill, {opacity: activeOpacity}]}>

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

Pass the opacity object(activeOpacity, inactiveOpacity) directly to TabLabel and TabIcon components.

<Animated.View style={[{opacity: activeOpacity}]}>

would become:

<Animated.View style={[activeOpacity]}>

Suggesting this because we're already using an object for tabBackground function.

Will also update the default prop values to empty objects here:

const defaultProps = {
title: '',
inactiveOpacity: 1,
activeOpacity: 0,
};

@Pujan92
Copy link
Contributor

Pujan92 commented Oct 14, 2023

Same RCA with #29602 (comment)

@kubabutkiewicz
Copy link
Contributor

Created PR per request from @situchan

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Oct 14, 2023
@allroundexperts allroundexperts removed their assignment Oct 15, 2023
@mountiny
Copy link
Contributor

The pr author resolved this, thanks!

@mountiny mountiny removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 15, 2023
@mountiny mountiny changed the title [$500] Dev: IOS - Send message - Label not show on tab selector Dev: IOS - Send message - Label not show on tab selector Oct 15, 2023
@strepanier03
Copy link
Contributor

@mountiny - Can we close this or do we owe money to someone? I'm not 100% sure but it looks like perhaps this can just be closed.

@namhihi237
Copy link
Contributor

I am reporter. I think i am able receive a bonus

@mountiny
Copy link
Contributor

@strepanier03 yeah I think we only need to pay the reporter @namhihi237 $50 thank you!

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels Nov 20, 2023
Copy link

melvin-bot bot commented Nov 20, 2023

This issue has not been updated in over 15 days. @strepanier03 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@namhihi237
Copy link
Contributor

Hi @strepanier03 @mountiny Any update payment for this

@mountiny mountiny added Daily KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Reviewing Has a PR in review Monthly KSv2 labels Nov 21, 2023
@mountiny mountiny changed the title Dev: IOS - Send message - Label not show on tab selector [HOLD for payment 2023-11-22] IOS - Send message - Label not show on tab selector Nov 21, 2023
@mountiny
Copy link
Contributor

Sorry the automation failed I have updated this

@melvin-bot melvin-bot bot added the Overdue label Nov 24, 2023
Copy link

melvin-bot bot commented Nov 27, 2023

@strepanier03 Eep! 4 days overdue now. Issues have feelings too...

@strepanier03
Copy link
Contributor

My apologies for the delay here, I was out of the office last week for the US holiday. I'll work on moving this forward now.

@melvin-bot melvin-bot bot removed the Overdue label Nov 27, 2023
@strepanier03
Copy link
Contributor

@namhihi237 - I've sent the offer and will check this later today to pay out.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Daily KSv2 labels Nov 28, 2023
@namhihi237
Copy link
Contributor

@strepanier03 thanks. accepted

@strepanier03
Copy link
Contributor

All right, paid out via Upwork and contract closed. Pretty sure this is good to close so going to do that. Feel free to reopen if I did that too soon.

@strepanier03 strepanier03 changed the title [HOLD for payment 2023-11-22] IOS - Send message - Label not show on tab selector [PAID] IOS - Send message - Label not show on tab selector Nov 28, 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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants