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

chore: Convert browser tab to typescript #12740

Merged
merged 121 commits into from
Jan 23, 2025
Merged

Conversation

tommasini
Copy link
Contributor

@tommasini tommasini commented Dec 17, 2024

Description

Refactor of browser tab to typescript

Please visit this issue that includes a bigger description: https://github.com/MetaMask/mobile-planning/issues/2087

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

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.

@tommasini tommasini added needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) team-mobile-platform Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 17, 2024
@tommasini tommasini requested review from a team as code owners December 17, 2024 20:45
@tommasini tommasini marked this pull request as draft December 17, 2024 20:45
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 Dec 17, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: f0c5d88
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/ceff49dc-61ee-4d5b-8b25-0fc07a21ff21

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

@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Dec 18, 2024
Copy link
Contributor

github-actions bot commented Dec 18, 2024

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: e150c07
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/07b53de9-226e-462d-9044-fb8f9aab13c9

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

@tommasini tommasini marked this pull request as ready for review December 18, 2024 22:55
@tommasini tommasini requested a review from a team as a code owner December 18, 2024 22:55
@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2024

Codecov Report

Attention: Patch coverage is 42.66667% with 430 lines in your changes missing coverage. Please review.

Project coverage is 60.54%. Comparing base (8dacf7b) to head (9053522).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
app/components/Views/BrowserTab/BrowserTab.tsx 27.41% 308 Missing and 7 partials ⚠️
...ents/Views/BrowserTab/components/Options/index.tsx 40.98% 33 Missing and 3 partials ⚠️
app/components/UI/UrlAutocomplete/index.tsx 57.14% 17 Missing and 1 partial ⚠️
...iews/BrowserTab/components/PhishingModal/index.tsx 34.61% 17 Missing ⚠️
app/components/Views/BrowserTab/styles.ts 35.29% 4 Missing and 7 partials ⚠️
app/components/UI/BrowserUrlBar/BrowserUrlBar.tsx 84.37% 8 Missing and 2 partials ⚠️
app/components/Views/Browser/index.js 0.00% 8 Missing ⚠️
...rs/Avatar/variants/AvatarFavicon/AvatarFavicon.tsx 85.71% 1 Missing and 1 partial ⚠️
app/components/UI/DeleteWalletModal/index.tsx 50.00% 2 Missing ⚠️
app/components/Views/AssetOptions/AssetOptions.tsx 0.00% 2 Missing ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12740      +/-   ##
==========================================
+ Coverage   60.06%   60.54%   +0.47%     
==========================================
  Files        1900     1910      +10     
  Lines       42513    42637     +124     
  Branches     5612     5731     +119     
==========================================
+ Hits        25536    25813     +277     
+ Misses      15250    15072     -178     
- Partials     1727     1752      +25     

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

@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jan 22, 2025
@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jan 23, 2025
Copy link
Contributor

github-actions bot commented Jan 23, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: c3442b7
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/321a2656-e200-4038-98a5-578b6da1954b

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

@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jan 23, 2025
Copy link
Contributor

github-actions bot commented Jan 23, 2025

https://bitrise.io/ Bitrise

❌❌❌ pr_smoke_e2e_pipeline failed on Bitrise! ❌❌❌

Commit hash: 9053522
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/3a6c494d-ee55-4c21-bd0d-958b3ba75b82

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

@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jan 23, 2025
Copy link
Contributor

github-actions bot commented Jan 23, 2025

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: be33a09
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/1c5ea816-bee3-400b-9595-bdeeba12c130

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

@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Jan 23, 2025
@EtherWizard33 EtherWizard33 self-requested a review January 23, 2025 15:07
Copy link
Contributor

@EtherWizard33 EtherWizard33 left a comment

Choose a reason for hiding this comment

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

re-approve after prev was reset

Copy link
Contributor

@christopherferreira9 christopherferreira9 left a comment

Choose a reason for hiding this comment

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

re-approve from @abretonc7s 's

@tommasini tommasini added this pull request to the merge queue Jan 23, 2025
Merged via the queue into main with commit e046eb6 Jan 23, 2025
46 checks passed
@tommasini tommasini deleted the fix/browser-tab-convert-ts branch January 23, 2025 18:25
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2025
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Jan 23, 2025
@metamaskbot metamaskbot added the release-7.40.0 Issue or pull request that will be included in release 7.40.0 label Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.40.0 Issue or pull request that will be included in release 7.40.0 Run Smoke E2E Triggers smoke e2e on Bitrise team-mobile-platform
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.