Skip to content
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

Implement new wallet page layout #27211

Closed
roryabraham opened this issue Sep 12, 2023 · 9 comments
Closed

Implement new wallet page layout #27211

roryabraham opened this issue Sep 12, 2023 · 9 comments
Assignees
Labels
Daily KSv2 NewFeature Something to build that is a new item.

Comments

@roryabraham
Copy link
Contributor

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:

Open Settings -> Wallet

Expected Result:

When you don't have an Expensify Wallet configured, it should look like this:

image

When you do have an Expensify Wallet configured, it should look like this:

image

Actual Result:

It doesn't look like that

Workaround:

n/a
View all open jobs on GitHub

@roryabraham roryabraham added Daily KSv2 NewFeature Something to build that is a new item. labels Sep 12, 2023
@roryabraham roryabraham self-assigned this Sep 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Sep 12, 2023

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Sep 12, 2023
@roryabraham roryabraham added Daily KSv2 and removed Weekly KSv2 labels Sep 12, 2023
@roryabraham
Copy link
Contributor Author

@shawnborton I'm having difficulty finding the running money asset in DropBox. Can you help gather the assets we need here then we can make this external? Also lmk if you need help adjusting the aspect ratio on the lottie animation. Would be good to verify that before we make it external as well

@dukenv0307
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Implement new wallet page layout

What is the root cause of that problem?

It's a new feature

What changes do you think we should make in order to solve the problem?

  1. When you don't have an Expensify Wallet configured

We will use IllustratedHeaderPageLayout to display the header with the background

and then for the children we can use FeatureList component to display the title, subtitle, and all the features

This case is the same with WorkspacesListPage

  1. When you do have an Expensify Wallet configured

Each type of payment method can be wrapped in a Section component

This case is the same with WorkspaceReimburseView

What alternative solutions did you explore? (Optional)

@hungvu193
Copy link
Contributor

hungvu193 commented Sep 12, 2023

Proposal

Please re-state the feature request that we are trying to solve in this issue.

Implement new wallet page layout

What is the root cause of that problem?

We're using ScreenWrapper for BaseWalletPage.

What changes do you think we should make in order to solve the problem?

  1. Replace the ScreenWrapper with IllustratedHeaderPageLayout.
  2. Remove HeaderWithBackButton and move all its props to IllustratedHeaderPageLayout. Also add shouldShowBackButton to make sure back button is visible.
  3. Use FeatureList to display empty state.
  4. Save the lottie animation json to our assets/animations, define it in LottieAnimations and pass it as illustration props in our IllustratedHeaderPageLayout, also add props backgroundColor with the value in issue description.
  5. Update the listHeaderComponent and PaymentMethodList to match the new design. (We can use Section as we already used it for WorkspaceReimburseView). Since we updated the PaymentMethodList, ChooseTransferAccountPage will be updated as well.

What alternative solutions did you explore? (Optional)

N/A

@roryabraham
Copy link
Contributor Author

I think @dukenv0307's proposal provides enough detail and LGTM, but I'm not going to make this external until we get the assets together

@shawnborton
Copy link
Contributor

@shawnborton
Copy link
Contributor

Also just wanted to double check with @grgia so we aren't doubling up on work here, as I think maybe this one might be being worked on as part of the Expensify Card project?

@grgia
Copy link
Contributor

grgia commented Sep 13, 2023

Yeah @roryabraham this is being done by Callstack as part of the card settings project #22871. Closing this as a duplicate

@grgia grgia closed this as completed Sep 13, 2023
@grgia
Copy link
Contributor

grgia commented Sep 13, 2023

(PR in progress here - https://github.com/Expensify/App/pull/26406/files)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests

6 participants