Closed lanitochka17 closed 2 months ago
Triggered auto assignment to @yuwenmemon (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
:wave: Friendly reminder that deploy blockers are time-sensitive β± issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
We think that this bug might be related to #vip-vsp
Workspace switcher - Empty workspace switcher does not have "Create a workspace" modal
WorkspaceSwitcherPage
uses listFooterContent
to render WorkspaceCardCreateAWorkspaceInstance
but the selection list is not rendered when the list is empty.
listEmptyContent={WorkspaceCardCreateAWorkspaceInstance}
& shouldShowListEmptyContent={shouldShowCreateWorkspace}
props.listFooterContent
and listEmptyContent
.https://github.com/user-attachments/assets/f5b2c48e-0508-47c4-ab51-db6347d1d0b0
@Krishna2323 LGTM, thanks for identifying the regression as well. cc @tienifr
Job added to Upwork: https://www.upwork.com/jobs/~01720ac33ff733e428
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 (External
)
@Krishna2323 Are you able to spin up a PR for CP ASAP?
π£ @dukenv0307 π An offer has been automatically sent to your Upwork account for the Reviewer role π Thanks for contributing to the Expensify app!
π£ @Krishna2323 π An offer has been automatically sent to your Upwork account for the Contributor role π Thanks for contributing to the Expensify app!
Offer link Upwork job Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review π§βπ» Keep in mind: Code of Conduct | Contributing π
@yuwenmemon, yep, just give me few minutes.
@yuwenmemon @dukenv0307, PR ready for review ^
@yuwenmemon, sorry for the delay, I found that there are 25 components that uses listEmptyContent
prop without shouldShowListEmptyContent
. Due to this, the empty component will never be shown according to the logic below.
I have 2 solutions in my mind:
shouldShowListEmptyContent
to true.
https://github.com/Expensify/App/blob/414157d748ca966492794ac726337d296665403d/src/components/SelectionList/BaseSelectionList.tsx#L100listEmptyContent
to SelectionScreen
, which then passes it to SelectionList
. We can introduce a new prop (shouldShowListEmptyContent) inside SelectionScreen
and default it to true and then pass the prop to SelectionList
.
https://github.com/Expensify/App/blob/414157d748ca966492794ac726337d296665403d/src/components/SelectionScreen.tsx#L157@tienifr, can you please take a look?
@yuwenmemon Do we need C+ on this issue?
@Krishna2323 Thanks for bumping me. I think we can go with option 1, can you create the PR for that?
@tienifr, thanks for confirming. I will raise a PR for that.
@Krishna2323 Thanks! I'll take this out of review while we work on the larger scoped issue.
β οΈ 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.
Will create the new PR today.
@yuwenmemon PR ready for review ^, I think @dukenv0307 will review this, right?
@yuwenmemon, PR was deployed to production in 27th Aug, this will be ready for payments tomorrow.
@yuwenmemon, I think no one is assigned to handle the payments, can you please add the labels? ππ»
Triggered auto assignment to @trjExpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@trjExpensify Can you help with the payment?
Yeah bwoii!
Payment summary as follows:
I note the deploy blocker comment from melvin, but @yuwenmemon @dukenv0307 you agree with @Krishna2323's comment here that states that wasn't a DB from this PR?
I agree
Great, settled up with you both. Closing!
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: 9.0.21-0 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): applausetester+kh050806@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The empty workspace switcher will have "Create a workspace" modal
Actual Result:
The empty workspace switcher does not have "Create a workspace" modal
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/d08f5aa2-54ec-4d01-82c3-2bac3ed8e4cc
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dukenv0307