Skip to content

feat(gnoweb): change built-in playground output to support copy buttons#5666

Merged
jeronimoalbi merged 5 commits into
gnolang:playground2from
jeronimoalbi:feat/playground-output-copy
May 18, 2026
Merged

feat(gnoweb): change built-in playground output to support copy buttons#5666
jeronimoalbi merged 5 commits into
gnolang:playground2from
jeronimoalbi:feat/playground-output-copy

Conversation

@jeronimoalbi

@jeronimoalbi jeronimoalbi commented May 14, 2026

Copy link
Copy Markdown
Contributor

Changes playground output to optionally support copying single lines from the output, which can be useful when multiple commands are printed between text and links.

Related to #5421

Setting output lines can optionally be copyable to render a copy button
that on click copies the content of the copyable line.

This allows more flexible output, where commands, links and text can be
mixed and at the same time users can copy single commands from the
output.
@jeronimoalbi jeronimoalbi self-assigned this May 14, 2026
@jeronimoalbi jeronimoalbi added the a/ux User experience, product, marketing community, developer experience team label May 14, 2026
@github-actions github-actions Bot added 📦 ⛰️ gno.land Issues or PRs gno.land package related 🌍 gnoweb Issues & PRs related to gnoweb and render labels May 14, 2026
@Gno2D2

Gno2D2 commented May 14, 2026

Copy link
Copy Markdown
Collaborator

🛠 PR Checks Summary

All Automated Checks passed. ✅

Manual Checks (for Reviewers):
  • IGNORE the bot requirements for this PR (force green CI check)
Read More

🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers.

✅ Automated Checks (for Contributors):

No automated checks match this pull request.

☑️ Contributor Actions:
  1. Fix any issues flagged by automated checks.
  2. Follow the Contributor Checklist to ensure your PR is ready for review.
    • Add new tests, or document why they are unnecessary.
    • Provide clear examples/screenshots, if necessary.
    • Update documentation, if required.
    • Ensure no breaking changes, or include BREAKING CHANGE notes.
    • Link related issues/PRs, where applicable.
☑️ Reviewer Actions:
  1. Complete manual checks for the PR, including the guidelines and additional checks if applicable.
📚 Resources:
Debug
Manual Checks
**IGNORE** the bot requirements for this PR (force green CI check)

If

🟢 Condition met
└── 🟢 On every pull request

Can be checked by

  • Any user with comment edit permission

@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jeronimoalbi

Copy link
Copy Markdown
Contributor Author

Output command copy button:

playground-output-command-copy

@jeronimoalbi jeronimoalbi marked this pull request as ready for review May 15, 2026 15:10
@jeronimoalbi jeronimoalbi merged commit 6e85fa4 into gnolang:playground2 May 18, 2026
119 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a/ux User experience, product, marketing community, developer experience team 🌍 gnoweb Issues & PRs related to gnoweb and render 📦 ⛰️ gno.land Issues or PRs gno.land package related

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants