Closed roryabraham closed 2 days ago
Weekly Update: the PR is moving forward.
Weekly Update: The PR is going through reviews but moving along.
Weekly Update: The PR is in review to make sure testing passes.
Weekly Update: The PR went through another review process and more testing.
Weekly Update: More discussion in the PR due to recent findings
@roryabraham can I get feedback regarding which Wave or VIP to associate this one with? -- thanks!
Weekly Update: We are in a focus period, I'll check in next week.
This is a pretty old issue, and I'm not sure which wave or VIP I'd associate it with. It's basically a low-level code improvement to help avoid a semi-common developer mistake and make the code more consistent. Some recent discussion about it in slack here.
Thanks for the context @roryabraham!
Weekly Update: The PR is moving in review again: https://github.com/Expensify/App/pull/36292
If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks!
Heads up, I'll be mostly offline until June 5th, 2024. I can still review this issue, but my response might be slower. If there is something urgent, please reassign it. Thanks!
Catching up from being OOO, it looks like this one was on hold due to the freeze but we can carry on now.
PR merged today
Weekly Update: It looks like there was regression, but that has been addressed. I'll check again next week to confirm if we can move forward with the payment process.
Automation failed here, I need to start the payment process tomorrow since today marks 7 days in production.
@alexpensify there are still other PRs we need to get merged https://github.com/Expensify/App/issues/30528#issuecomment-1868485991
@getusha, thanks for flagging; I appreciate it. With that said, are we still striking the completed ones? If not, we should to keep a better record of what's left. For now, I'll hold on the payment process.
I have returned from being out of office, I will prepare the next PR this week
PR ready for review
This issue has not been updated in over 15 days. @alexpensify, @roryabraham, @getusha, @rayane-djouah 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!
@getusha - Could you please continue the review of the PR when you get a chance. Thank you!
@rayane-djouah i think we can put the remaining changes in a single PR except the eslint-config-expensify
changes
PR ready for review
@getusha @roryabraham - In my PR, useWindowDimensions
now exports only windowWidth
and windowHeight
, and useResponsiveLayout
is responsible for any logic determining the correct layout. The lint rule prohibiting the use of isSmallScreenWidth
from useWindowDimensions
is now unnecessary. However, we could introduce a lint rule advising developers to preferably use shouldUseNarrowLayout
over isSmallScreenWidth
from useResponsiveLayout, with a warning level. wdyt?
sounds good 👍🏼
Update: PR under review.
⚠️ Looks like this issue was linked to a Deploy Blocker here
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
@getusha and @rayane-djouah - can either of you confirm if this notice is accurate or not? Thanks!
⚠️ Looks like this issue was linked to a Deploy Blocker here
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
We've fixed the above bugs in a follow-up PR: https://github.com/Expensify/App/pull/48723
Update:
There are still other PRs we need to create and merge:
shouldUseNarrowLayout
over isSmallScreenWidth
from useResponsiveLayout
, with a warning level.eslint
in App
to use the new lint rule. We might also include necessary changes after introducing the ruleUpdated the PRs list summary: https://github.com/Expensify/App/issues/30528#issuecomment-1868485991
Ok, waiting on https://github.com/Expensify/eslint-config-expensify/pull/116 to go into production
pulling in @mountiny to take over while I'm on parental leave
ESLint rule merged @rayane-djouah can you raise App PR now please?
PR ready for review: https://github.com/Expensify/App/pull/50935
If this GitHub requires an urgent update, please ask for help in the #expensify-open-source Slack Room. If the inquiry can wait, I'll review it when I return online.
Waiting for this one to move to production
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 9.0.52-5 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-10-30. :confetti_ball:
For reference, here are some details about the assignees on this issue:
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
No regression tests required this is a tool for developers
The payment summary is $1000 to @rayane-djouah and to @getusha
Payouts due: 2024-10-30
Upwork job is here. I had to create a new job in Upwork. Please accept and I can complete the payment process. Thanks!
@alexpensify The payment amount for this issue is $1000 - https://github.com/Expensify/App/issues/30528#issuecomment-2434278370
@alexpensify Offer accepted, thanks!
🤦🏼 good catch - Upwork was right. I've updated the summary here and paid @rayane-djouah via Upwork. I'm waiting for @getusha to accept.
Status: Waiting for @getusha to accept in Upwork
@alexpensify I think that @getusha is being paid in NewDot, we can close this issue
Slack context: https://expensify.slack.com/archives/C01GTK53T8Q/p1698364514493649
Problem
There are some times when we want to use the same layout on mobile devices or in the RHP on wide screens. In these cases, we can't rely on
isSmallScreenWidth
fromuseWindowDimensions
to determine which layout to use, so we have hard-coded and/or different solutions we use to address the same problem.Solution
In the navigation stack, add an
isInRHP
route prop to all screens in the RHP.Write a custom hook called
useResponsiveLayout
that does something like this:Replace most layout-motivated uses of useWindowDimensions with useResponsiveLayout like so:
Introduce a new lint rule that prohibits using
isSmallScreenWidth
fromuseWindowDimensions
, advising developers to useshouldUseNarrowLayout
instead.Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @alexpensify