Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Integration to get statistics information #156

Merged
merged 3 commits into from
Oct 5, 2023

Conversation

Daniel-Lightcurve
Copy link
Contributor

@Daniel-Lightcurve Daniel-Lightcurve commented Oct 5, 2023

What was the problem?

This PR resolves #147

How was it solved?

  • Used a dummy data to show liquidity chart in Info page. This is required because there is no real liquidity in DEX as of now.
  • Integrate getPools and getTokens endpoint for liquidity and token summary for chart board.

How was it tested?

  • Added new test to check the component renders values correctly.

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Files Coverage Δ
src/components/common/FeaturedPools/index.tsx 83.33% <100.00%> (+2.38%) ⬆️
src/components/common/InfoChart/index.style.ts 100.00% <ø> (ø)
src/components/common/InfoChart/index.tsx 98.90% <100.00%> (+0.05%) ⬆️
src/consts/menu.ts 100.00% <100.00%> (ø)
src/components/view/Info/Overview/index.tsx 70.37% <91.66%> (+5.25%) ⬆️
src/components/view/Info/Pools/index.tsx 79.68% <75.00%> (-0.65%) ⬇️
src/components/view/Info/Tokens/index.tsx 74.69% <85.71%> (+0.33%) ⬆️
src/apis/dex.api.ts 2.06% <0.00%> (-0.12%) ⬇️

📢 Thoughts on this report? Let us know!.

Copy link
Contributor

@emiliolisk emiliolisk left a comment

Choose a reason for hiding this comment

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

Looks good to me, and tests are passing.

@Naureen1lightcurve Naureen1lightcurve removed the request for review from Irfan-Personal October 5, 2023 12:22
@Naureen1lightcurve Naureen1lightcurve merged commit f86ee40 into development Oct 5, 2023
4 checks passed
@karmacoma karmacoma deleted the 147-integration-get-statistics branch January 20, 2024 23:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration to get statistics information
3 participants