Closed kevinksullivan closed 4 weeks ago
Triggered auto assignment to @dylanexpensify (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.
Double header on the Expensify Card
A regression from this PR where here https://github.com/Expensify/App/blob/0a56250fc6da637737ceddec115ce5fbe233decb/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx#L46-L60 both the WorkspacePageWithSections
and the WorkspaceExpensifyCardListPage
have the header component
we should move the WorkspaceExpensifyCardListPage
outside the WorkspacePageWithSections
{!!paymentBankAccountID && !isLoading && (
<WorkspaceExpensifyCardListPage
cardsList={cardsList}
route={route}
/>
)}
{!paymentBankAccountID && !isLoading && (
<WorkspacePageWithSections
shouldUseScrollView
icon={Illustrations.HandCard}
headerText={translate('workspace.common.expensifyCard')}
route={route}
guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_EXPENSIFY_CARD}
shouldShowOfflineIndicatorInWideScreen
isLoading={isLoading}
>
<WorkspaceExpensifyCardPageEmptyState route={route} />
</WorkspacePageWithSections>
)}
Double header on the Expensify Card
We are adding headerContent twice once here in WorkspaceExpensifyCardPage.tsx and then again in WorkspaceExpensifyCardListPage.tsx
We can remove HeaderWithBackButton
and ScreenWrapper
from here
https://github.com/Expensify/App/blob/488d5ff4739088e1c29bd31b6f9522dfd3b2d535/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx#L108-L119
Optional: We can move headerButtons in WorkspaceExpensifyCardPage.tsx
@No_action
Hey, I'm Viktoryia from Callstack, I've been working on this page, so I can take a look.
Lets close this issue, PR was deployed
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: Reproducible in staging?: Reproducible in production?: 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: Slack conversation:
Action Performed:
Expected Result:
Only see one
Expensify Card
header.Actual Result:
Two
Expensify Card
headers are shown.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?
Screenshots/Videos
View all open jobs on GitHub