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

Custom user tools for text selection on page #673

Closed
janvarev opened this issue Apr 13, 2024 · 3 comments
Closed

Custom user tools for text selection on page #673

janvarev opened this issue Apr 13, 2024 · 3 comments

Comments

@janvarev
Copy link

Is your feature request related to a problem? Please describe.
I wanna have custom tools for text selection on page to process them in my own way (rephrase, short analytics etc.). It'll be very cool!

Describe the solution you'd like
I see solution like this:

  1. Add up to 3-10 (up to author) buttons in tools for text selection. They can look in menu just like neutral icon numbers 1,2,3 etc. - they are custom user tools.
  2. In extension settings there are the same (3-10) number of options, where prompt for this tool is describen in format like
    Paraphrase this text: {selectionText}. Answer always in {prefLanguage} - with template vars in { } or something like that.
  3. User tools can be enabled the same way as usual tools.

Hope it'll be not so hard to implement! Thanks a lot if you'll do it!

@janvarev
Copy link
Author

Note: seems something similar was implemented in zwongstjude@8b30755

@josStorer
Copy link
Owner

v2.5.6

The Plugin System I envisioned previously is somewhat complex, and due to my limited time and energy, I am unable to implement it temporarily. However, considering that many users require custom prompt functionality, I have now implemented a simplified version. The implementation of this feature is not complex, but it had been missing for the past year, for which I apologize.

Simple custom selection tools is now supported

@janvarev
Copy link
Author

janvarev commented Jun 7, 2024

It's great! Thanks a lot for your work!

@janvarev janvarev closed this as completed Jun 7, 2024
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

No branches or pull requests

2 participants