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

Move copy message button in the playground to the text input #1691

Conversation

bekossy
Copy link
Member

@bekossy bekossy commented May 21, 2024

Closes #1644

Copy link

vercel bot commented May 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2024 10:51am

Copy link
Collaborator

@aakrem aakrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bekossy thanks for the PR
let's fix the linting

@bekossy bekossy marked this pull request as ready for review May 22, 2024 04:19
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 22, 2024
@bekossy bekossy requested a review from aakrem May 22, 2024 04:19
Copy link
Collaborator

@aakrem aakrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have it in chat apps inside the answer textfield too ?

Screenshot 2024-05-22 at 08 21 10

Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @bekossy

I think the current solution does not look good. The copy button hides the text generated. Can you please try the following:

  • Move the copy button to the lower right side (instead of the upper side)
  • Make the icon transparent and change the color to green
    The goal is to make the button not obfuscate the text, yet visible.
    Of course, if there is a way to make the text not overflow over the button, that would be great. Not sure if that is feasible however.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels May 22, 2024
@bekossy bekossy requested review from aakrem and mmabrouk May 22, 2024 10:49
Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks great. Thanks @bekossy

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 22, 2024
@aakrem
Copy link
Collaborator

aakrem commented May 24, 2024

thanks @bekossy

@aakrem aakrem merged commit af8546b into main May 24, 2024
8 checks passed
@aakrem aakrem deleted the AGE-207/-Move-copy-message-button-in-the-playground-to-the-text-input branch May 24, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files. typescript UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AGE-207] Move copy message button in the playground to the text input
3 participants