-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Workspace Feeds] Double header on the Expensify Card #48944
Comments
Triggered auto assignment to @dylanexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Double header on the Expensify Card What is the root cause of that problem?A regression from this PR where here App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardPage.tsx Lines 46 to 60 in 0a56250
WorkspacePageWithSections and the WorkspaceExpensifyCardListPage have the header component
What changes do you think we should make in order to solve the problem?we should move the {!!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>
)} POC |
ProposalPlease re-state the problem that we are trying to solve in this issue.Double header on the Expensify Card What is the root cause of that problem?We are adding headerContent twice once here in WorkspaceExpensifyCardPage.tsx and then again in WorkspaceExpensifyCardListPage.tsx What changes do you think we should make in order to solve the problem?We can remove App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardListPage.tsx Lines 108 to 119 in 488d5ff
Optional: We can move headerButtons in What alternative solutions did you explore? (Optional) |
@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 [email protected] 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
The text was updated successfully, but these errors were encountered: