MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.14k stars 1.1k forks source link

chore: Create a story for Loader component #10083

Closed devin-ai-integration[bot] closed 3 days ago

devin-ai-integration[bot] commented 3 months ago

Description

This pull request adds a Storybook.js story for the Loader component within the metamask-mobile project. The story file ensures that each prop has its own control and that the options field is kept outside the controls. The story includes necessary imports, metadata configuration for Storybook, and a functional component for the default Loader story. The useStyles hook's relative import path has been verified and corrected. Linting commands have been run to ensure no errors in the story file.

Open in GitHub Codespaces

Related issues

Manual testing steps

  1. Go to the latest build of storybook in this PR
  2. Navigate to the Loader component in the Components/ folder.

Screenshots/Recordings

https://github.com/user-attachments/assets/23e70d67-8204-420e-9f18-32f15a922317

Pre-merge author checklist

Pre-merge reviewer checklist

This Devin run was requested by Devin.

github-actions[bot] commented 3 months ago

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.

devin-ai-integration[bot] commented 3 months ago

I have read the CLA Document and I hereby sign the CLA

sonarcloud[bot] commented 2 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 5%)

See analysis details on SonarCloud

sonarcloud[bot] commented 3 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

devin-ai-integration[bot] commented 3 days ago

this PR is stale and unlikely to be merged; closing for sake of tidiness