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(2796): permission settings replace some of the mock data by real data #11590

Conversation

EtherWizard33
Copy link
Contributor

@EtherWizard33 EtherWizard33 commented Oct 3, 2024

Description

The data is not ready yet to display permissions of all source, it will require a 'source' attribute to say if its sdk, wallet connect or in app browser. This is an attempt at filtering them based on differences the 'might' always have, but even if it did work now, it could break anytime because it requires a real source property meant to identify the source.

Related issues

Fixes:

Manual testing steps

  1. set the feature flag export MM_MULTICHAIN_V1_ENABLED="1"
  2. go to settings -> permissions
  3. if you have in app browser permissions, they should be visible in this list of permissions

Screenshots/Recordings

Before (mocked list) After (not mocked list)
Screenshot 2024-04-18 at 3 56 43 PM Screenshot 2024-04-18 at 3 56 43 PM

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.

…ter the sdk versus in app browser vs wallet connect, for local testing only, prod will require a real source property
@EtherWizard33 EtherWizard33 added No QA Needed Apply this label when your PR does not need any QA effort. team-wallet-ux labels Oct 3, 2024
Copy link
Contributor

github-actions bot commented Oct 3, 2024

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.

@EtherWizard33 EtherWizard33 self-assigned this Oct 3, 2024
EtherWizard33 and others added 23 commits October 8, 2024 10:55
… in some case this modal is displayed when switching from the global selector
…ng more than needed and it made the snapshot fail, TY snapshots.
…ssion-settings-replace-some-of-the-mock-data-by-real-data
… the plumbing for the screens later in the flow to have the real data available
feat-2808-edit-network-happy-path # Please enter a commit message to explain why this merge is necessary,
…ording depending if it is an initial connection, and the number of networks
…rent wording depending if there is one or many accounts being requested or connected
@EtherWizard33 EtherWizard33 added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Nov 6, 2024
Copy link
Contributor

github-actions bot commented Nov 6, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 4d7fc4e
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/f04d4085-c109-46b7-8539-1788912a9ebd

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

@EtherWizard33 EtherWizard33 added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Nov 7, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 8.77193% with 52 lines in your changes missing coverage. Please review.

Project coverage is 56.26%. Comparing base (b2c9110) to head (3ad2485).

Files with missing lines Patch % Lines
...ettings/PermissionsSettings/PermissionsManager.tsx 0.00% 23 Missing ⚠️
...ermissions/ConnectionDetails/ConnectionDetails.tsx 11.11% 8 Missing ⚠️
...nents/UI/PermissionsSummary/PermissionsSummary.tsx 25.00% 5 Missing and 1 partial ⚠️
...nnectMultiSelector/AccountConnectMultiSelector.tsx 0.00% 4 Missing ⚠️
...rmRevokeAll/AccountPermissionsConfirmRevokeAll.tsx 0.00% 4 Missing ⚠️
...nnectMultiSelector/NetworkConnectMultiSelector.tsx 0.00% 4 Missing ⚠️
...components/Views/AccountConnect/AccountConnect.tsx 0.00% 2 Missing ⚠️
...ions/ConnectionDetails/ConnectionDetails.styles.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11590      +/-   ##
==========================================
- Coverage   56.31%   56.26%   -0.05%     
==========================================
  Files        1786     1788       +2     
  Lines       40375    40416      +41     
  Branches     5060     5068       +8     
==========================================
+ Hits        22738    22741       +3     
- Misses      16088    16128      +40     
+ Partials     1549     1547       -2     

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

@EtherWizard33 EtherWizard33 added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Nov 7, 2024
Copy link
Contributor

github-actions bot commented Nov 7, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 3ad2485
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/c80e2ec7-123b-4360-b935-a679c87c0b64

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

sonarqubecloud bot commented Nov 8, 2024

@EtherWizard33 EtherWizard33 added this pull request to the merge queue Nov 8, 2024
Merged via the queue into main with commit 099b3df Nov 8, 2024
37 checks passed
@EtherWizard33 EtherWizard33 deleted the feat-2796-permission-settings-replace-some-of-the-mock-data-by-real-data branch November 8, 2024 15:00
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2024
@gauthierpetetin gauthierpetetin added the release-7.36.0 Issue or pull request that will be included in release 7.36.0 label Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.36.0 Issue or pull request that will be included in release 7.36.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-wallet-ux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants