Skip to content

Add array with options per HotKey #41

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

luksab
Copy link
Contributor

@luksab luksab commented Mar 4, 2025

This PR addresses #13 and #39 by reworking the settings to allow for multiple hotkeys with individual settings each.

Right now, I only changed the HexSettings and made HotKey Hashable. The UI doesn't even compile, but we have so start somewhere.

The things that are missing off the top of my head are:

  • Write code to upgrade settings from previous versions where transcriptionSettings was not present
  • Write the UI to allow adding multiple HotKeys and make the settings configurable for each
  • Rewrite the hotkey listening and recording to use the new HexSettings

Feedback is very welcome on all parts of the code and the planning. For example, I'm not happy with the name hotKeyOptions for the array that holds the HotKeys with their options.

@plyght
Copy link
Contributor

plyght commented Mar 4, 2025

@luksab luksab marked this pull request as draft March 5, 2025 06:40
@luksab luksab changed the title DO NOT MERGE YET!! Add array with options per HotKey Add array with options per HotKey Mar 5, 2025
@luksab
Copy link
Contributor Author

luksab commented Mar 5, 2025

Thanks, it was pretty late yesterday and I didn't find the button haha.

@kitlangton kitlangton closed this Mar 5, 2025
@luksab
Copy link
Contributor Author

luksab commented Mar 5, 2025

Hey @kitlangton why did you close this PR? I wanted to keep it open as a draft to collect ideas for how exactly to implement this fairly big change.

@plyght
Copy link
Contributor

plyght commented Mar 5, 2025

yes @kitlangton please reopen

@kitlangton kitlangton reopened this Mar 5, 2025
@kitlangton
Copy link
Owner

I... don't know why I closed it? Haha. Accident!

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

Successfully merging this pull request may close these issues.

3 participants