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

💡 [FEAT] load a text file to use for practice #89

Open
rhuygen opened this issue Jul 17, 2024 · 3 comments
Open

💡 [FEAT] load a text file to use for practice #89

rhuygen opened this issue Jul 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@rhuygen
Copy link

rhuygen commented Jul 17, 2024

Is your feature request related to a problem? 😢 Please describe.

Would it be possible to load a text file as example text to practice? That way we can use text that contains words that are often used in our field and even can load some code as text to practice typing code faster.

Users could then also ask ChatGPT to generate some text based on specific criteria and use that in Smassh.

Describe the solution you'd like 🤔

Add a button to 'Load text...'

Describe alternatives you've considered 🧐

Allow to input a prompt that would instruct ChatGPT to create a text based on criteria like #words, characters to use, ....

Additional context 📝

No response

@rhuygen rhuygen added the enhancement New feature or request label Jul 17, 2024
@kraanzu
Copy link
Owner

kraanzu commented Jul 18, 2024

Hmm...great idea. I'm sharing how this can be possible. Feel free to share your own idea as well :)

In the bar another item called custom will be added
This would replace the current paragraph with a custom one (if there are none set, it can default to some random paraphrase)
Now the user can add more items by clicking on a button called Load text
This will provide with a list of items to load text from
Also there'll be a button to add more

If the user clicks on add more then a dialogue will open with Title and Text inputs which user can fill and save

@rhuygen
Copy link
Author

rhuygen commented Jul 18, 2024

That sounds already great.

  • Would the custom text allow for multiple paragraphs?
  • What options would the 'Load text ...' provide? Loading from a file, clipboard, ... ?

@kraanzu
Copy link
Owner

kraanzu commented Jul 19, 2024

Would the custom text allow for multiple paragraphs?

I mean, we can replace all the newlines with spaces :)

What options would the 'Load text ...' provide? Loading from a file, clipboard, ... ?

I think the best way is to copy-paste, Loading from a file is something I'll need to implement fully (If there's already an extension to do it then ok otherwise nope)
Also, drag-and-drop files do not seem to work on all the terminals so we can count that out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants