From c5335d9c5df1afb8dc54c0b9640f70c2cce404d6 Mon Sep 17 00:00:00 2001 From: Daniel <80175477+dan437@users.noreply.github.com> Date: Tue, 7 May 2024 03:12:01 +0200 Subject: [PATCH] feat: Add animation on the Smart Transaction status page (#24389) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## **Description** Add animation on the Smart Transaction status page. We reused the animation from Smart Swaps. ## **Related issues** Fixes: ## **Manual testing steps** 1. Turn on Smart Transactions in Advanced Settings 2. Use the Sepolia test network 3. Submit a Send transaction 4. You will see the animation on the Smart Transaction status page ## **Screenshots/Recordings** ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **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. --- ...mart-transactions-status-page.test.js.snap | 56 ++++++++++++++++--- .../smart-transaction-status-page/index.scss | 29 ++++++++++ .../smart-transaction-status-page.tsx | 9 +++ 3 files changed, 87 insertions(+), 7 deletions(-) diff --git a/ui/pages/smart-transactions/smart-transaction-status-page/__snapshots__/smart-transactions-status-page.test.js.snap b/ui/pages/smart-transactions/smart-transaction-status-page/__snapshots__/smart-transactions-status-page.test.js.snap index bc3eeec5262f..e4cb60c2585b 100644 --- a/ui/pages/smart-transactions/smart-transaction-status-page/__snapshots__/smart-transactions-status-page.test.js.snap +++ b/ui/pages/smart-transactions/smart-transaction-status-page/__snapshots__/smart-transactions-status-page.test.js.snap @@ -10,8 +10,11 @@ exports[`SmartTransactionStatusPage renders the "Sorry for the wait" pending sta style="flex-grow: 1;" >