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: confirmations directory ts coverage #10645

Merged
merged 6 commits into from
Aug 15, 2024

Conversation

tommasini
Copy link
Contributor

@tommasini tommasini commented Aug 14, 2024

Description

This PR aims to solve and expect the confirmations folder issue, so we can enable confirmations folder and next typescript files can detect typescript issues

Files with issues to solve:

app/components/Views/confirmations/SendFlow/AddressList/AddressList.tsx
app/components/Views/confirmations/SendFlow/Confirm/components/CustomGasModal/CustomGasModal.tsx
app/components/Views/confirmations/components/ApproveTransactionHeader/ApproveTransactionHeader.tsx
app/components/Views/confirmations/components/ApproveTransactionReview/AddNickname/index.tsx
app/components/Views/confirmations/components/ApproveTransactionReview/index.test.tsx
app/components/Views/confirmations/components/EditGasFee1559Update/index.tsx
app/components/Views/confirmations/components/EditGasFeeLegacyUpdate/index.tsx
app/components/Views/confirmations/components/TransactionReview/TransactionReviewEIP1559Update/index.test.tsx
app/components/Views/confirmations/components/TransactionReview/TransactionReviewEIP1559Update/index.tsx
app/components/Views/confirmations/components/TransactionReview/TransactionReviewEIP1559Update/styles.ts
app/components/Views/confirmations/components/TransactionReview/index.test.tsx
app/components/Views/confirmations/components/UpdateEIP1559Tx/index.tsx

Before ts issues:
Found 462 errors in 134 files.

After ts issues:
Found 334 errors in 114 files.

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 Aug 14, 2024
@tommasini tommasini requested review from a team as code owners August 14, 2024 20:11
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 Aug 14, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 31fda34
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/97442105-aa7d-4042-8318-6163382db0da

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 changed the title chore: confirmations directory ts coverage chore: confirmations directory ts coverage option 1 Aug 14, 2024
@tommasini tommasini linked an issue Aug 14, 2024 that may be closed by this pull request
9 tasks
@tommasini tommasini changed the title chore: confirmations directory ts coverage option 1 chore: confirmations directory ts coverage Aug 15, 2024
@tommasini tommasini added Run Smoke E2E Triggers smoke e2e on Bitrise and removed Run Smoke E2E Triggers smoke e2e on Bitrise labels Aug 15, 2024
Copy link
Contributor

github-actions bot commented Aug 15, 2024

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: 2d4a033
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/21b0d96c-07bc-42d9-80ec-8bdc18341ad1

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 requested a review from a team as a code owner August 15, 2024 12:00
Copy link

socket-security bot commented Aug 15, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/semver@7.6.3 None 0 95.8 kB npm-cli-ops

🚮 Removed packages: npm/semver@7.6.2

View full report↗︎

Copy link

Copy link
Contributor

@Cal-L Cal-L left a comment

Choose a reason for hiding this comment

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

LGTM. Btw are the yarn lock changes for deduping?

@tommasini
Copy link
Contributor Author

Yes!

@tommasini tommasini merged commit de3ab1a into main Aug 15, 2024
32 of 33 checks passed
@tommasini tommasini deleted the chore/ts-coverage-confirmations branch August 15, 2024 18:49
@github-actions github-actions bot locked and limited conversation to collaborators Aug 15, 2024
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Aug 15, 2024
@metamaskbot metamaskbot added the release-7.30.0 Issue or pull request that will be included in release 7.30.0 label Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.30.0 Issue or pull request that will be included in release 7.30.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.

Chore: Typescript type coverage Views Folder part 2
3 participants