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: add chart readonly-replica #233

Merged
merged 1 commit into from
May 9, 2024
Merged

feat: add chart readonly-replica #233

merged 1 commit into from
May 9, 2024

Conversation

duyet
Copy link
Owner

@duyet duyet commented May 9, 2024

No description provided.

Copy link

vercel bot commented May 9, 2024

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

Name Status Preview Comments Updated (UTC)
clickhouse-monitoring ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 9, 2024 8:21am

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @duyet - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟡 General issues: 1 issue found
  • 🟢 Security: all looks good
  • 🟡 Testing: 1 issue found
  • 🟢 Complexity: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

import { type ChartProps } from './chart-props'

const ZooKeeperRequestsChart = async ({
export async function ChartZookeeperRequests({
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (code_refinement): Consider renaming ChartZookeeperRequests to follow camelCase convention.

Suggested change
export async function ChartZookeeperRequests({
export async function chartZookeeperRequests({

@@ -0,0 +1,44 @@
import { ChartCard } from '@/components/chart-card'
Copy link
Contributor

Choose a reason for hiding this comment

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

issue (testing): Missing test cases for the new ChartReadonlyReplica component

It appears that there are no accompanying test cases for the newly added ChartReadonlyReplica component. To ensure that this component behaves as expected under various conditions, please add unit tests that cover various scenarios, including edge cases and error handling.

@duyet duyet merged commit 740331e into main May 9, 2024
14 checks passed
@duyet duyet deleted the fix/ui branch May 9, 2024 08:23
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.

1 participant