Skip to content

fix(studio): Show toast on logs copy#897

Open
steramae-nvidia wants to merge 2 commits into
mainfrom
steramae/log-copy-toast
Open

fix(studio): Show toast on logs copy#897
steramae-nvidia wants to merge 2 commits into
mainfrom
steramae/log-copy-toast

Conversation

@steramae-nvidia

@steramae-nvidia steramae-nvidia commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Signed-off-by: Sean Teramae steramae@nvidia.com

Summary by CodeRabbit

  • New Features
    • Added a confirmation toast when log content is successfully copied.
    • The notification displays “Copied to clipboard!” for three seconds.

Signed-off-by: Sean Teramae <steramae@nvidia.com>
@steramae-nvidia

Copy link
Copy Markdown
Contributor Author

This change is part of the following stack:

Change managed by git-spice.

@steramae-nvidia
steramae-nvidia requested review from a team as code owners July 24, 2026 21:39
@github-actions github-actions Bot added the fix label Jul 24, 2026
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a94a8035-1ce5-4891-8e90-609a9bb17977

📥 Commits

Reviewing files that changed from the base of the PR and between 4512edd and 12e1c7d.

📒 Files selected for processing (1)
  • web/packages/common/src/components/LogViewer/index.tsx

📝 Walkthrough

Walkthrough

LogViewer now shows a three-second “Copied to clipboard!” toast when log text is copied successfully.

Changes

Log copy feedback

Layer / File(s) Summary
Copy-success toast integration
web/packages/common/src/components/LogViewer/index.tsx
Initializes useToast and connects CodeSnippet.onCopySuccess to a three-second success notification.

Possibly related PRs

Suggested reviewers: shanaiabuggy

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: showing a toast when logs are copied in Studio.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch steramae/log-copy-toast

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor
Suite Lines Covered Line Rate Branch Rate
Unit Tests 27157/34869 77.9% 62.1%
Integration Tests 15982/33581 47.6% 20.0%

Signed-off-by: Sean Teramae <steramae@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants