extensions icon indicating copy to clipboard operation
extensions copied to clipboard

Update openai-translator extension

Open dekura opened this issue 1 year ago • 4 comments
trafficstars

Description

This PR introduces a new feature to the openai-translater that enhances the user experience by automating a common post-translation action. The changes made are as follows:

  • Add preference for auto copy to clipboard

  • Automatic Clipboard Copy: Upon successful translation, the translated text is now automatically copied to the clipboard. This saves users the extra step of manually copying the text, making the translation process more seamless and efficient.

  • Updated User Feedback: The toast message displayed after a successful translation has been updated. The previous message, "Got your translation," has been replaced with "Translation copied to clipboard." This change more accurately reflects the action taken and informs the user that the translated text is ready to be pasted wherever needed.

Screencast

image image

Checklist

dekura avatar Mar 31 '24 19:03 dekura

Thank you for your contribution! :tada:

🔔 @douo you might want to have a look.

raycastbot avatar Mar 31 '24 19:03 raycastbot

Looks good to me, I’ll wait for PR #11551 to be merged before I review it. Can you please sync up with this PR first?

douo avatar Apr 04 '24 01:04 douo

Looks good to me, I’ll wait for PR #11551 to be merged before I review it. Can you please sync up with this PR first?

@douo Sure, #11551 merged.

dekura avatar Apr 05 '24 14:04 dekura

Awaiting #11551

pernielsentikaer avatar Apr 09 '24 12:04 pernielsentikaer

Hi @dekura 👋

Can you check questions from @douo

pernielsentikaer avatar Apr 16 '24 12:04 pernielsentikaer

@douo What are your thoughts on the pull request now? Can we go ahead and merge it?

dekura avatar Apr 25 '24 18:04 dekura

Could you look into what @dekura mentioned? I compiled the binaries again (I always do that); also, the changelog has a merge conflict 🙂

pernielsentikaer avatar Apr 26 '24 09:04 pernielsentikaer

@dekura Please do not touch the binary file, I'm fine with everything else.

I did not actively modify the binary file. Could it be due to automatic compilation or building? I am not quite sure how to solve this issue. Could you please help me resolve it or provide me with some instructions?

dekura avatar Apr 27 '24 00:04 dekura

Hi @dekura, please remove binary files from your commit and eliminate any unnecessary dependencies. Additionally, please resolve any conflicts with the mainstream branch.

douo avatar Apr 29 '24 02:04 douo

Published to the Raycast Store: https://raycast.com/douo/openai-translator

github-actions[bot] avatar Apr 29 '24 20:04 github-actions[bot]

:tada: :tada: :tada:

Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@dekura). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag.

raycastbot avatar Apr 29 '24 20:04 raycastbot