You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is now possible to copy the full operation hash from the operations tabs in the checks section 🥳
AI've added the ability to copy the hash by clicking on it in the title of the accordion.
Summary by CodeRabbit
New Features
Operation headers now include a compact, clickable hash snippet that copies the full hash to clipboard.
Tooltip feedback shows "Copy" then "Copied!" briefly after copying.
Copy control appears in the accordion header next to the truncated operation name; expanded view keeps existing copy behavior and styling.
✏️ Tip: You can customize this high-level summary in your review settings.
Checklist
I have discussed my proposed changes in an issue and have received approval to proceed.
I have followed the coding standards of the project.
Adds an internal CopyableOperationHash component to studio/src/components/checks/operations.tsx that renders a short hash preview (first 4 characters), copies the full hash on click, and shows a tooltip toggling between "Copy Operation Hash" and "Copied!" with timed resets. Replaces the previous static hash/name display in accordion headers and expanded items; includes effect cleanup for pending timeouts. No exported API changes.
Adds an internal CopyableOperationHash component (uses useState, useEffect, useRef) that displays the first 4 chars of a hash, copies the full hash on click, and manages a tooltip that toggles Copy Operation Hash ↔ Copied! with timeouts and cleanup. Replaces static hash/name rendering in accordion headers and expanded content with a layout combining the new copy UI and truncated operation name; preserves italic styling for empty names. No exported/public signatures changed.
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
✅ Passed
The title accurately describes the main feature addition: enabling users to copy operation IDs from the checks section. It is concise, specific, and clearly relates to the primary change in the changeset.
Docstring Coverage
✅ Passed
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✏️ Tip: You can configure your own custom pre-merge checks in the settings.
✨ Finishing touches
📝 Generate docstrings
Comment @coderabbitai help to get the list of available commands and usage tips.
❌ Patch coverage is 0% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 1.50%. Comparing base (b427211) to head (105212b). ⚠️ Report is 2 commits behind head on main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It is now possible to copy the full operation hash from the operations tabs in the checks section 🥳
AI've added the ability to copy the hash by clicking on it in the title of the accordion.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.
Checklist