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: Assets page #166

Merged
merged 9 commits into from
Aug 5, 2024
Merged

Feat: Assets page #166

merged 9 commits into from
Aug 5, 2024

Conversation

tuul-wq
Copy link
Contributor

@tuul-wq tuul-wq commented Jul 30, 2024

  • New Assets page
  • Update assets list on dashboard with new active assets
  • Manage asset link
  • Switch & LinkButton UI components
  • Better way of loading asset icon in <AssetIcon />
  • Shorter exports for UI components
  • Tests

= Task =

Screenshot 2024-07-30 at 4 33 59 PM Screenshot 2024-07-30 at 4 34 26 PM Screenshot 2024-07-30 at 4 34 38 PM

@tuul-wq tuul-wq self-assigned this Jul 30, 2024
Copy link

github-actions bot commented Jul 30, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 18.81% 1410 / 7493
🔵 Statements 18.81% 1410 / 7493
🔵 Functions 20.48% 42 / 205
🔵 Branches 55.07% 141 / 256
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
app/common/utils/chains.ts 100% 100% 100% 100%
app/components/index.ts 0% 0% 0% 0% 1-26
app/components/Address/TruncateAddress.tsx 0% 0% 0% 0% 1-21
app/components/AmountDetails/AmountDetails.tsx 0% 0% 0% 0% 1-81
app/components/Assets/AssetBalance.tsx 0% 0% 0% 0% 1-35
app/components/Assets/AssetIcon.tsx 0% 0% 0% 0% 1-36
app/components/Assets/AssetsList.tsx 0% 0% 0% 0% 1-47
app/components/Assets/Balance.tsx 0% 0% 0% 0% 1-42
app/components/Buttons/LinkButton.tsx 0% 0% 0% 0% 1-25
app/components/Buttons/index.ts 0% 0% 0% 0% 1-2
app/components/Countdown/Countdown.tsx 0% 0% 0% 0% 1-27
app/components/CreatePasswordForm/CreatePasswordForm.tsx 0% 0% 0% 0% 1-93
app/components/ErrorScreen/ErrorScreen.tsx 0% 0% 0% 0% 1-16
app/components/GiftDetails/GiftDetails.tsx 0% 0% 0% 0% 1-24
app/components/Icon/Icon.tsx 0% 0% 0% 0% 1-22
app/components/Icon/types.ts 0% 0% 0% 0% 1-79
app/components/Identicon/Identicon.tsx 0% 0% 0% 0% 1-28
app/components/Input/Input.tsx 0% 0% 0% 0% 1-17
app/components/LinkCard/LinkCard.tsx 0% 0% 0% 0% 1-54
app/components/LoadingScreen/LoadingScreen.tsx 0% 0% 0% 0% 1-12
app/components/Modals/GiftModal.tsx 0% 0% 0% 0% 1-222
app/components/Modals/ResetModal/BackupDeleted.tsx 0% 0% 0% 0% 1-25
app/components/Modals/ResetModal/ResetPassword.tsx 0% 0% 0% 0% 1-63
app/components/Modals/ResetModal/ResetPasswordModal.tsx 0% 0% 0% 0% 1-62
app/components/PasswordForm/PasswordForm.tsx 0% 0% 0% 0% 1-104
app/components/Plate/CreatedGiftPlate.tsx 0% 0% 0% 0% 1-54
app/components/Plate/GiftPlate.tsx 0% 0% 0% 0% 1-34
app/components/Plate/Plate.tsx 0% 0% 0% 0% 1-12
app/components/Plate/index.ts 0% 0% 0% 0% 1-3
app/components/Price/Price.tsx 0% 0% 0% 0% 1-31
app/components/Price/TokenPrice.tsx 0% 0% 0% 0% 1-49
app/components/RecoveryPhrase/RecoveryModal.tsx 0% 0% 0% 0% 1-96
app/components/RecoveryPhrase/RecoveryPhrase.tsx 0% 0% 0% 0% 1-52
app/components/Shimmering/Shimmering.tsx 0% 0% 0% 0% 1-17
app/components/Switch/Switch.tsx 0% 0% 0% 0% 1-13
app/components/Typography/index.ts 0% 0% 0% 0% 1-9
app/components/Typography/common/TextBase.ts 0% 0% 0% 0% 1-23
app/components/Typography/components/BigTitle.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/BodyText.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/HeadlineText.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/HelpText.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/LabelText.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/LargeTitleText.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/MediumTitle.tsx 0% 0% 0% 0% 1-8
app/components/Typography/components/TitleText.tsx 0% 0% 0% 0% 1-8
app/models/index.ts 100% 100% 100% 100%
app/models/network/assets-filter-model.ts 100% 100% 100% 100%
app/models/network/network-model.ts 89.16% 93.05% 76.92% 89.16% 92-94, 97-98, 109-110, 120-143, 151-156, 363-366, 395-398, 400-404, 465-467, 494, 513-519
app/routes/assets/index.tsx 0% 0% 0% 0% 1-67
app/routes/assets/_model/assets-page-model.ts 100% 100% 66.66% 100%
app/routes/dashboard/index.tsx 0% 0% 0% 0% 1-141
app/routes/exchange/select.tsx 0% 0% 0% 0% 1-64
app/routes/onboarding/start.tsx 0% 0% 0% 0% 1-67
app/routes/receive/token-select.tsx 0% 0% 0% 0% 1-73
app/routes/transfer/direct/token-select.tsx 0% 0% 0% 0% 1-73
app/routes/transfer/direct/$chainId.$assetId/$address.confirmation.tsx 0% 0% 0% 0% 1-132
app/routes/transfer/gift/token-select.tsx 0% 0% 0% 0% 1-73
app/shared/api/network/chain-api.ts 39.58% 100% 0% 39.58% 16-20, 22-36, 38-40, 42-44, 46-48
Generated in workflow #176

@tuul-wq tuul-wq merged commit db9b009 into feat/assets Aug 5, 2024
1 check passed
@tuul-wq tuul-wq deleted the feat/ui_assets branch August 5, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants