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

Keyboard settings issue #947

Merged
merged 8 commits into from
Apr 8, 2024

Conversation

Pelsin
Copy link
Contributor

@Pelsin Pelsin commented Apr 7, 2024

This PR aims to fix fetching/validating/saving of key mappings on settings page.

One issue was that we had nested forms. therefor the key mapping form was never submitted.
As there can be only one!

As quite a bit was being changed in the file so i decided to format the file according to .editorconfig.
I kept the formatting to one commit

The important commits are:
f4f0b88
a327f79
7fe3426

Important

When saving input mode "keyboard" validation will occur before saving, so if the validation fails the input mode wont be saved.
Alternative change would be to first save input mode then validate keymappings.

#928

Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Everything looks great!

@arntsonl arntsonl merged commit 5bf292d into OpenStickCommunity:main Apr 8, 2024
32 checks passed
@Pelsin Pelsin deleted the keyboard-settings-issue branch September 25, 2024 17:38
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.

2 participants