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

feat(3481): overflow update #11823

Merged
merged 21 commits into from
Oct 24, 2024

Conversation

vinnyhoward
Copy link
Contributor

@vinnyhoward vinnyhoward commented Oct 16, 2024

Description

The overflow UI is being updated as part of a bigger redesign for the header

Part of this design is the removal of the WalletAccount component. It will no longer be used and can probably be removed. I will confirm and create a follow up PR to remove it.

The WalletAccount component will no longer be used and can probably be removed. I will confirm and create a follow up PR. Because WalletAccount is being removed, the more icon or overflow icon will be moved to the AccountSelectorList. Here is the Figma design

NOTE: This is being merged into my feat-header-update branch and NOT main

Related issues

Feature: #3481

Manual testing steps

  1. Open the wallet homepage.
  2. Tap the account picker to open the bottom sheet.
  3. In the bottom sheet, verify the following for the selected account:
    • Edit the account name and confirm changes are saved.
    • Check that tapping "View on Etherscan" opens the correct page.
    • Use "Share address" and confirm the correct address is shared.
    • Verify the correct private key is displayed
  4. If multiple accounts exist:
    • Switch between accounts and repeat step 3 for each.
  5. Check overall UI
  6. Verify smooth animations and proper styling.

Changes to RevealPrivateCredential component

It now accepts selectedAddress as params to accommodate for the new UI changes. If the params doesn't exist it will fallback to the the selected account that is fetched from the account controller

  1. Select your account
  2. Goto settings from the bottom right icon
  3. Click on "Security & Privacy"
  4. Click on the "Reveal Secret Recovery Phrase" button and go through the flow and verify that is your correct private key

Screenshots/Recordings

Edit Account

Light Dark
light dark

Etherscan

Light Dark
light_etherscan dark_ethersan

Before

WIP

After

WIP

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise team-wallet-ux area-qa Relating to QA work (Quality Assurance) labels Oct 16, 2024
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

Copy link
Contributor

github-actions bot commented Oct 16, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 8a3c142
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/7c43ec5d-c070-4a21-8887-89c551bc7992

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 17, 2024
Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 51fb3fc
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/31bff964-2244-49d6-b848-cfcdfd5bdd93

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 68.75000% with 10 lines in your changes missing coverage. Please review.

Please upload report for BASE (feat-header-update@65df76f). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...nts/UI/AccountSelectorList/AccountSelectorList.tsx 66.66% 3 Missing and 1 partial ⚠️
.../components/List/ListItemSelect/ListItemSelect.tsx 57.14% 2 Missing and 1 partial ⚠️
...mponents/Views/EditAccountName/EditAccountName.tsx 62.50% 0 Missing and 3 partials ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##             feat-header-update   #11823   +/-   ##
=====================================================
  Coverage                      ?   54.50%           
=====================================================
  Files                         ?     1737           
  Lines                         ?    39274           
  Branches                      ?     4866           
=====================================================
  Hits                          ?    21407           
  Misses                        ?    16377           
  Partials                      ?     1490           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 17, 2024
Copy link
Contributor

github-actions bot commented Oct 17, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 953ba82
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/c1d786ee-56d5-48fe-bd0a-9698ddcda348

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@vinnyhoward vinnyhoward mentioned this pull request Oct 17, 2024
7 tasks
@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 17, 2024
Copy link
Contributor

github-actions bot commented Oct 17, 2024

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 5a64f40
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3e8c1784-ba3a-481f-893a-0ba6ce59abd7

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 17, 2024
@vinnyhoward vinnyhoward removed the Run Smoke E2E Triggers smoke e2e on Bitrise label Oct 17, 2024
Copy link
Contributor

github-actions bot commented Oct 19, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 7f1916f
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/b63ae2b1-7ee6-4c32-b2bc-c0eb153da5ac

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Tip

  • Check the documentation if you have any doubts on how to understand the failure on bitrise

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 21, 2024
Copy link
Contributor

github-actions bot commented Oct 21, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 24ac953
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f95b5ce5-4f47-419e-ad47-07e80ecb6ff4

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 22, 2024
Copy link
Contributor

github-actions bot commented Oct 22, 2024

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: e411135
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/38c4c0f9-96e7-4838-bbb3-b857fa0f3aba

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 22, 2024
@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 22, 2024
Copy link
Contributor

github-actions bot commented Oct 22, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 17dbd02
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/2ebad3ce-88a7-4f7a-ab26-d1aca196678d

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Comment on lines +46 to +49
key: 'RevealPrivateCredential',
name: 'RevealPrivateCredential',
params: {
credentialName: undefined,
credentialName: '',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you help me understand the changes to this test file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It changes nothing to the tests but is needed ever since I updated the component props

type RevealPrivateCredentialRouteProp = RouteProp<
  RootStackParamList,
  'RevealPrivateCredential'
>;

interface IRevealPrivateCredentialProps {
  navigation: any;
  credentialName: string;
  cancel: () => void;
  route: RevealPrivateCredentialRouteProp;
}

Without those values TSLINT screeches at me

…dated reveal private cred tests and snapshots
@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 24, 2024
Copy link
Contributor

https://bitrise.io/ Bitrise

🔄🔄🔄 pr_smoke_e2e_pipeline started on Bitrise...🔄🔄🔄

Commit hash: 13ece30
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/70f72513-f263-481c-aaaa-04756dcf1649

Note

  • This comment will auto-update when build completes
  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@vinnyhoward vinnyhoward added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Oct 24, 2024
Copy link
Contributor

github-actions bot commented Oct 24, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: bcb561c
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/06baa0bd-c54a-4c3b-9eb7-77d4e4b2207c

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

Copy link

sonarcloud bot commented Oct 24, 2024

@vinnyhoward vinnyhoward merged commit a290c41 into feat-header-update Oct 24, 2024
38 checks passed
@vinnyhoward vinnyhoward deleted the feat-3481-header-update-overflow branch October 24, 2024 18:15
@github-actions github-actions bot locked and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-qa Relating to QA work (Quality Assurance) Run Smoke E2E Triggers smoke e2e on Bitrise team-wallet-ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants