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: show ckb hodl wave chart #254

Merged
merged 4 commits into from
Jun 5, 2024

Conversation

zmcNotafraid
Copy link
Member

Copy link

vercel bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ckb-explorer-frontend-in-magickbase-repo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 4, 2024 7:52am

src/locales/en.json Outdated Show resolved Hide resolved
Comment on lines +114 to +115
assertSerialsItem(data)
assertSerialsDataIsStringArrayOf9(data)
Copy link
Member

Choose a reason for hiding this comment

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

It's better to wrap them in a try catch block to prevent from page crash when the data is invalid.

@FrederLu
Copy link

image

1、The colors here are easier to identify if they are distinguished using non-repetitive colors.


image image

2、1d-1w Doesn’t the data need to be displayed in percentages?


image

3、When switching the page language, the title is not in Chinese.


image image

4、The coordinates are displayed as 100%, but the sum of the screenshot data seems to be greater than 100%.

@zmcNotafraid
Copy link
Member Author

image 1、The colors here are easier to identify if they are distinguished using non-repetitive colors.

image image
2、1d-1w Doesn’t the data need to be displayed in percentages?

image 3、When switching the page language, the title is not in Chinese.

image image
4、The coordinates are displayed as 100%, but the sum of the screenshot data seems to be greater than 100%.

All resolved.

@@ -2,6 +2,7 @@ import { ReactNode } from 'react'
import 'default-passive-events'
import { useTranslation } from 'react-i18next'
import Content from '../../components/Content'
import { isMainnet } from '../../utils/chain'
Copy link
Member

Choose a reason for hiding this comment

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

isMainnet can be replaced by IS_MAINNET at https://github.com/nervosnetwork/ckb-explorer-frontend/blob/develop/src/constants/common.ts#L23 to avoid a function call

@zmcNotafraid zmcNotafraid added this pull request to the merge queue Jun 5, 2024
Merged via the queue into Magickbase:develop with commit 63bacde Jun 5, 2024
3 checks passed
@zmcNotafraid zmcNotafraid deleted the issue-424 branch June 5, 2024 04:22
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.

3 participants