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

[Suggestion]: Text file as input for custom text. #67

Open
1 task done
Seikm opened this issue Aug 21, 2024 · 6 comments
Open
1 task done

[Suggestion]: Text file as input for custom text. #67

Seikm opened this issue Aug 21, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Seikm
Copy link
Contributor

Seikm commented Aug 21, 2024

Problem:
I want to be able to read books while practicing, and update the custom texts more easily with an external program. But the way to input custom texts is currently very limited.

Solution:
The simplest and easiest solution I can think of is a way to import a text file as input for the custom text, so I don't have to copy and paste entire books that I want to read into the text box.

But the main reason is to have a way to modify the custom text externally, the solution would be to check the text file and update the text whenever you reset with "esc". In case a external program modifies the text file, you don't need to import it again or copy and paste the new text, just update it with "esc".

Awesome program, it was everything I needed to practice my new ergonomic keyboard.

@bragefuglseth
Copy link
Owner

bragefuglseth commented Mar 21, 2025

Here's the UI I have in mind for remembering a file and listening to it for edits:

Image

/cc @hadi7546

@Seikm
Copy link
Contributor Author

Seikm commented Mar 21, 2025

I think it looks great!
But the UI on the left doesn't make obvious that you can also add a file. Maybe change the placeholder text in the textbox to something like "Insert custom text or choose a file..." with the "choose a file" being a hyperlink to the file chooser.

@bragefuglseth
Copy link
Owner

I think the button is enough, at least with a tooltip 🙂

@hadi7546
Copy link
Contributor

Here's the UI I have in mind for remembering a file and listening to it for edits:

Image

/cc @hadi7546

How about creating a folder in a documents folder and storing custom texts on that? And display a list of files in it to the user?

@Seikm
Copy link
Contributor Author

Seikm commented Mar 21, 2025

How about creating a folder in a documents folder and storing custom texts on that? And display a list of files in it to the user?

If you're going to do this, I think it's better to have a way to select a folder, and not a predefined folder in documents.

@bragefuglseth
Copy link
Owner

How about creating a folder in a documents folder and storing custom texts on that? And display a list of files in it to the user?

That would require poking a hole in the sandbox, which I'd like to avoid.

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

3 participants