Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use CopyableText (click-to-copy) in GUI for instance info #3878

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

levkropp
Copy link
Contributor

closes #3821

This pull request introduces a new CopyableText widget and updates several components to use this widget for improved text copy functionality. Additionally, it modifies the Tooltip widget to be stateful to handle dynamic changes in the tooltip message.

New CopyableText widget:

  • src/client/gui/lib/copyable_text.dart: Created a new CopyableText widget that allows text to be copied to the clipboard with a click and displays a tooltip indicating the copy status.

Updates to Tooltip widget:

Integration of CopyableText widget:

Screencast_20250115_121606.webm

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.

Make text selectable
1 participant