Skip to content

Conversation

@Anemy
Copy link
Member

@Anemy Anemy commented Nov 14, 2025

@Anemy Anemy requested a review from a team as a code owner November 14, 2025 22:20
@Anemy Anemy requested review from Copilot and tculig November 14, 2025 22:20
@github-actions github-actions bot added the feat label Nov 14, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a tooltip to the "N/A" count display in the CRUD toolbar to explain why the count might be unavailable. When the count operation fails or exceeds the maxTimeMS limit, users can hover over the underlined "N/A" text to see an explanation.

Key changes:

  • Exported the COUNT_MAX_TIME_MS_CAP constant to make it reusable across components
  • Added a tooltip component with explanatory text for unavailable counts
  • Refactored the count display logic to conditionally render the tooltip when count is unavailable

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/compass-crud/src/stores/crud-store.ts Exported the COUNT_MAX_TIME_MS_CAP constant for use in tooltip message
packages/compass-crud/src/components/crud-toolbar.tsx Added tooltip functionality with styling for the N/A count display

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants