-
Notifications
You must be signed in to change notification settings - Fork 15
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
Refactor Hubble Stats code #1481
Conversation
✅ Deploy Preview for webb hubble statistic is ready! Thanks for the contribution @vutuanlinh2k2
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed that you've refactored some components in the hubble-stats
dapp to be client components. While your effort is much appreciated, I'm not entirely convinced about the benefits of these changes. Could you kindly take another look at these components? Just as a reminder, client components are those that manage the client's state or side effects. Thanks in advance for your consideration!
apps/hubble-stats/containers/KeyMetricsTableContainer/KeyMetricsTableContainer.tsx
Outdated
Show resolved
Hide resolved
apps/hubble-stats/containers/PoolOverviewContainer/PoolOverviewContainer.tsx
Outdated
Show resolved
Hide resolved
'use client'; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is okay, but I propose we create a task to review our components in the webb-ui-kit
. The aim would be to determine which components are client
-related, and which are associated with the server
. Could you kindly create an issue to address this?
✅ Deploy Preview for webb hubble statistic is ready! Thanks for the contribution @vutuanlinh2k2
To edit notification comments on pull requests, go to your Netlify site settings. |
Summary of changes
Provide a detailed description of proposed changes.
Proposed area of change
Put an
x
in the boxes that apply.apps/bridge-dapp
apps/hubble-stats
apps/stats-dapp
apps/webbsite
apps/faucet
apps/tangle-website
libs/webb-ui-components
Reference issue to close (if applicable)
Specify any issues that can be closed from these changes (e.g. Closes #233).
Code Checklist
Please be sure to add .stories documentation if any additions are made to
libs/webb-ui-components
.