-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2023-10-12] [$500] The font for unread messages is not bolded in Android #25967
Comments
Triggered auto assignment to @laurenreidexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Proposal by @Krishna2323Please re-state the problem that we are trying to solve in this issue.The font for unread messages is not bolded in Android What is the root cause of that problem?React native has a bug in which fonts are not bolded on android until we add a bold fontFamily file. We are using the right bold fontFamily file & font weight variable in HeaderView, thats why it's bolded in android correctly. Lines 820 to 825 in 00efce4
But not in the DisplayNames in OptionRowLNH. App/src/components/LHNOptionsList/OptionRowLHN.js Lines 77 to 78 in 00efce4
Style:Lines 1467 to 1472 in 00efce4
Lines 1445 to 1448 in 00efce4
What changes do you think we should make in order to solve the problem?We need to change fontFamily & fontWeight according to the unread status and use it just like it is used in HeaderView. File below also confirms the root cause. |
The font is set to Lines 1450 to 1453 in 00efce4
|
@laurenreidexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@laurenreidexpensify Eep! 4 days overdue now. Issues have feelings too... |
@laurenreidexpensify Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it! |
@Expensify/design curious for your take on this one |
That does seem like a bug and even beyond that, it looks like not only is the font not bold, but a totally incorrect font is being applied. Notice how the number "6" changes shape when it goes from unread to read? So yeah, this is definitely a bug but I would say this is most likely a regression as this would have been working fine at some point. Cc @grgia who implemented the fonts here. If this is a regression (which I think it must be), then let's track it down and have the offending PR author fix it. |
@shawnborton, it doesn't seems like a regression, the style for sidebarLinkTextUnread was added on Aug 12, 2020 and it was updated to fontWeight: "700" on Dec 12, 2020. We might have forgot to update fontWeight here. And it does happen only on few android devices. |
Hmm I feel like we have touched the sidebar stuff way more recently than 2020. Either way, let's get this fixed but curious for @grgia's take too. Do we know why only a few Android devices experience this? |
@shawnborton, I already mentioned the root cause in my proposal, we need to set the bold font family & font weight variable to unread text styles. The font weight variable changes from '700' to '600' in android. The wrong font family that you were mentioning is also caused by using '700' directly. Pls check the comments in code below: App/src/styles/fontWeight/bold/index.android.js Lines 1 to 3 in 1bdc5ac
|
Sounds good, @laurenreidexpensify can we get this issue into motion? The Android thing seems like a bit of a hack. We should be using font-weight 700 as it maps to Expensify Neue Bold. |
Job added to Upwork: https://www.upwork.com/jobs/~014cfdb7c2eb889c72 |
Current assignee @laurenreidexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Thanks for the review @shawnborton - @grgia am assigning you in case you want to take this for now / add any additional details |
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.77-7 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-10-12. 🎊 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.
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:
|
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 received C+ (@allroundexperts) approval within three working days and was subsequently merged without any further changes being requested, except for a delay caused by the engineer. Therefore, I believe it still qualifies for the urgency bonus. |
Payment Summary:
@allroundexperts please complete checklist above thanks |
@laurenreidexpensify, I'm really sorry but I forgot to mention that this issue was created on 26th of August. |
Issue fixed on Realme 11pro+ and OnePlus 10 pro 🎉 : WhatsApp.Video.2023-10-16.at.00.20.11.mp4 |
@Krishna2323 updated 👍 |
@laurenreidexpensify, thanks a lot 🙌 |
waiting on @allroundexperts for checklist! |
I think a checklist is not needed here. This bug was very device specific and is hard to reproduce. |
@laurenreidexpensify Although this issue was created before Aug 30, but it got external only on Sep 6. I think for this case we should honour the new rates (ie 500$). Would be good to confirm this internally as well! |
@allroundexperts, I think it was mentioned in slack that issues reported on GitHub before Aug 30 will have older rates. |
@Krishna2323 Best to confirm 😄 |
@allroundexperts thanks for the update. I think in this instance we're honouring the issue creation date, so the payments stand. Thanks for checking tho. I am closing as we have no further action here now. |
$1,500 payment approved for @allroundexperts based on summary above. |
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:
Expected Result:
The font should be bolded
Actual Result:
The font is not bolded
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?
Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
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
WhatsApp.Video.2023-08-24.at.13.39.36.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Krishna2323
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692053748619759
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: