stuartridout / promptbuddy

Prompt Buddy is a free Microsoft Teams Power App using Dataverse for Teams. It is a space where your team can share their favourite AI prompts and upvote prompts from others. It is preloaded with Copilot categories but others can be added.
Other
108 stars 10 forks source link

Add a copy icon to the prompt #4

Closed RolfCloud42 closed 3 months ago

RolfCloud42 commented 3 months ago

Hi, all worked out as described in the video. Big thanks for that. One element that I want to suggest is to have a icon at the prompt to copy the prompt to the clipboard for pasting it into the respective app.. Yes, we all know how to copy and paste but wouldn't that be so much more convenient? I tried to add that myself in the solution but the naming and layering of the app did not make it easy to find. Any pointers would be highly appreciated. CopyPrompt

stuartridout commented 3 months ago

Great to hear that.  I’d love to add a Copy button and we did try that but it doesn’t work in a Teams based Power App which this is. 😭On 23 Mar 2024, at 12:12, Rolf McLaughlin @.***> wrote:[stuartridout/promptbuddy] Add a copy icon to the prompt (Issue #4)Hi, all worked out as described in the video. Big thanks for that. One element that I want to suggest is to have a icon at the prompt to copy the prompt to the clipboard for pasting it into the respective app.. Yes, we all know how to copy and paste but wouldn't that be so much more convenient?I tried to add that myself in the solution but the naming and layering of the app did not make it easy to find. Any pointers would be highly appreciated.CopyPrompt.png (view on web)—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you are subscribed to this thread.Triage notifications on the go with GitHub Mobile for iOS or Android.                                                           

stuartridout commented 3 months ago

Closed as technically not possible. Power Apps in Teams can't access the clipboard unfortunately.

RolfCloud42 commented 3 months ago

Hi Stuart and team. Sorry to bug you again but maybe this points into the right direction? https://powerusers.microsoft.com/t5/Building-Power-Apps/How-do-I-create-a-copy-to-clipboard-button-in-PowerApps-for/td-p/891721

Erithano commented 3 months ago

You're not bugging us Rolf! @RolfCloud42 - Appreciate your efforts to improve Prompt Buddy for all. As Stuart mentioned we had a working copy-to-clipboard button when the Power App is used in a browser. We had to remove it as Power Apps does not technically support this feature when used in Microsoft Teams.

We will revisit and do some testing with your suggestion from the forum. We're pessimistically optimistic based on our previous efforts 🙂