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

Not seeing "Copy to Clipboard" for prompts after installation #21

Closed stevedistef closed 1 month ago

stevedistef commented 1 month ago

I am the owner of a Teams site in an enterprise customer of Microsoft. I followed the instructions and installed Prompt Buddy yesterday. While I can see all the prompts which I imported as part of the zip file provided in this repo, I do not see the copy to Clipboard button on the pages where the prompts are visible. Example: Starting here I see there are 6 prompts: image

I can click any one of them which advances me to its own page: Notice on this page there is no "Copy to Clipboard" button... image

Is there not supposed to be a copy button? Or are we expected to manually copy the text and go paste it into our respective copilot?

tphenkel commented 1 month ago

I have been looking for this too. We need a way to easily copy a prompt, similar to the buttons in Copilot Labs

stuartridout commented 1 month ago

Hi there,

Unfortunately the Copy button is only visible if the Power App is viewed outside of Teams (which incurs extra licensing). This is a restriction of Power Apps in Teams as the Power App doesn't have access to the clipboard.

We're looking for alternative ways to do this at the moment that makes it easier than today.

yosoyx commented 1 month ago

I actually modified my local version and added the copy icon

copy prompt

On the Campaign details screen inserted the the built in Copy icon and set the onselect = Copy(txtResponseText.Text);Notify("Prompt Copied to Clipboard",NotificationType.Success,3000).

To make it easier, open the Prompt Buddy in edit mode, run preview, select and existing prompt, which will take you to the details screen, exit preview mode an insert the icon where it makes more sense to your experience.