Skip to content

playground: add share button#356

Merged
hardfist merged 4 commits intomainfrom
yj/add-share-button
Sep 11, 2025
Merged

playground: add share button#356
hardfist merged 4 commits intomainfrom
yj/add-share-button

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented Sep 11, 2025

Summary

add a share button

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings September 11, 2025 03:27
@netlify
Copy link
Copy Markdown

netlify bot commented Sep 11, 2025

Deploy Preview for rslint ready!

Name Link
🔨 Latest commit d12b757
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/68c24ae01444e8000847a62d
😎 Deploy Preview https://deploy-preview-356--rslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
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 share functionality to the playground by introducing a share button that allows users to copy the current playground URL to their clipboard.

  • Adds a share button with visual feedback in the result panel header
  • Implements clipboard functionality with fallback for older browsers
  • Updates the layout to accommodate the new button alongside existing tabs

Reviewed Changes

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

File Description
website/theme/components/Playground/ResultPanel.tsx Adds share button component with state management and clipboard functionality
website/theme/components/Playground/ResultPanel.css Updates header layout to display tabs and actions side-by-side

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@hardfist hardfist merged commit ff3f641 into main Sep 11, 2025
17 checks passed
@hardfist hardfist deleted the yj/add-share-button branch September 11, 2025 04:52
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.

2 participants