Commit Graph

212 Commits

Author SHA1 Message Date
Daniel Lorch d962a8fb05 Fix: flip Y/Z 2025-05-21 14:38:12 +00:00
Daniel Lorch 1460fc5ac2 Move FeatureFlag to navigation 2025-05-21 14:37:38 +00:00
Daniel Lorch a4c15d5c7e Revert "Move hold key handling into Go backend analogous to https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt"
This reverts commit 146cee9309.
2025-05-20 01:09:15 +02:00
Daniel Lorch 7240abaf3d Use useSettingsStore 2025-05-20 01:03:21 +02:00
Daniel Lorch 6dd65fbba6 Add JSONRPC handling 2025-05-20 01:02:38 +02:00
Daniel Lorch 9698564550 Add Belgisch Nederlands 2025-05-20 00:24:34 +02:00
Daniel Lorch d0759150ee Fix 2025-05-20 00:24:34 +02:00
Daniel Lorch a4d6da7085 Remove trailing whitespace 2025-05-20 00:24:34 +02:00
Daniel Lorch 146cee9309 Move hold key handling into Go backend analogous to https://www.kernel.org/doc/Documentation/usb/gadget_hid.txt 2025-05-20 00:24:34 +02:00
Marc Brooks 9b3d1e0417 Change the locale names to their native language
German->Deutsch et. al.
2025-05-20 00:24:34 +02:00
Daniel Lorch 707a33cb07 Move language name definitions into the keyboard layout files 2025-05-20 00:24:34 +02:00
Daniel Lorch f8f225df6a Move guard statements outside of loop 2025-05-20 00:24:34 +02:00
Daniel Lorch e10f0db3ba Add Czech 2025-05-20 00:24:34 +02:00
Daniel Lorch 7065c42e91 Add Italian 2025-05-20 00:24:34 +02:00
Daniel Lorch 8364c37f9a Operator precedence 🤦 2025-05-20 00:24:34 +02:00
Daniel Lorch dd7b2d4dcf Add Norwegian 2025-05-20 00:24:34 +02:00
Daniel Lorch 5fb7a2117c Remove default value shift: false 2025-05-20 00:24:34 +02:00
Daniel Lorch cd10112ff2 Add more keys to Spanish 2025-05-20 00:24:34 +02:00
Daniel Lorch f810f09ab0 Fix fr_FR special characters 2025-05-20 00:24:34 +02:00
Daniel Lorch 18c7b253ca Add Spanish 2025-05-20 00:24:34 +02:00
Daniel Lorch 0bf05becb4 Add Swedish 2025-05-20 00:24:34 +02:00
Daniel Lorch 12f0814f8c Add English (UK) 2025-05-20 00:24:34 +02:00
Daniel Lorch 219573e25c Add French (France) 2025-05-20 00:24:34 +02:00
Daniel Lorch e0be7edf96 Fix whitespace 2025-05-20 00:24:34 +02:00
Daniel Lorch ab94eb1da4 Change line ordering 2025-05-20 00:24:34 +02:00
Daniel Lorch 33a4f38702 Add Swiss French 2025-05-20 00:24:34 +02:00
Daniel Lorch c90b0425c7 Remove obscure Alt-Gr keys, unsure if they are supported everywhere 2025-05-20 00:24:34 +02:00
Daniel Lorch a2771f0b91 Improve accent handling 2025-05-20 00:24:34 +02:00
Daniel Lorch 99a5e9d385 Improve error handling and pre-loading 2025-05-20 00:23:17 +02:00
Daniel Lorch 0bef35e044 Trema is the more robust method for capital umlauts 2025-05-20 00:23:17 +02:00
Daniel Lorch 22849fceab Enable multiple keyboard layouts for paste text from host 2025-05-20 00:23:14 +02:00
Siyuan Miao b4dd4961fc fix: jetkvm_app path is now bin/jetkvm_app 2025-05-19 23:59:10 +02:00
Aveline eeb103adf9
fix: configFS might not be mounted if the directory exists (#479) 2025-05-19 23:59:02 +02:00
Siyuan Miao 8cf6b40dc3 build: set up golang (smoketest) 2025-05-19 23:25:30 +02:00
Siyuan Miao c6b05d4abe build: add device-tests 2025-05-19 23:23:38 +02:00
Siyuan Miao 51814dcc5e fix: add missing files for building unit tests 2025-05-19 23:05:12 +02:00
Aveline 5ba08de566
fix: unit test not returning error when test fails
* fix: unit test not returning error when test fails

* chore: add unit test to smoketest.yml

* fix: make linter happy
2025-05-19 22:51:11 +02:00
Adam Shiervani 3f320e50f7
refactor: remove scroll sensitivity functionality and clean up related code (#477)
- Removed scroll sensitivity state and associated functions from jsonrpc.go and WebRTCVideo component.
- Cleaned up device settings store by eliminating unused scroll sensitivity logic.
- Updated mouse settings route to reflect the removal of scroll sensitivity feature.
- Simplified mouse wheel event handling in WebRTCVideo component.
2025-05-19 22:44:53 +02:00
Aveline 7a9fb7cbb1
chore(usbgadget): update usbgadget config only when needed (#474) 2025-05-19 21:48:43 +02:00
rmschooley 0a4a1af80e
Improve/Simplify Mouse Wheel Scroll Behavior (#470)
* Improve/Simplify Mouse Wheel Scroll Behavior

* Update hid_mouse_absolute.go

Attempt to fix line reported as improperly formatted by lint.

* Update utils.go

Removed abs() function since lint states it is no longer used.
2025-05-19 13:03:33 +02:00
Julian Zander fc3dbcd820
chore: add Go Report Card
Add Go Report Card
2025-05-19 08:53:01 +02:00
Siyuan Miao 17baf1647f chore: append package name to build script 2025-05-16 20:30:41 +02:00
Siyuan Miao 840743fcf7 fix: golang test report input argument 2025-05-16 20:04:54 +02:00
Marc Brooks 3ec1bdf388
chore(ui): Patch-bump packages and use tailwind upgrade (#456)
* chore(ui): Patch bump in tailwind related packages and framer-motion

tailwind: [4.1.6 -> 4.1.7](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.6...v4.1.7)
@tailwindcss/postcss: 4.1.6 -> 4.1.7
@tailwindcss/vite: 4.1.6 -> 4.1.7

Also patch-bump of:
framer-motion: [12.11.0 -> 12.11.4](https://github.com/motiondivision/motion/compare/v12.11.0...v12.11.4)

No source changes seemingly needed, have not rerun the migrate.

* chore(ui): Run tailwind upgrade and review changes

Ran the `npx @tailwindcss/upgrade` and accepted the changes that seemed safe.

They're things like:
- `data-[closed]:translate-y-9` -> `data-closed:translate-y-8` ()swaps the square bracket syntax to a `-` modifier)
- `bg-gradient-to-*` -> `bg-linear-to-*`
- `/[*%]` -> `/*` (swap square bracket syntax for inline)
- `theme(*.*)` -> `var(--*-*)` (theme styles are exposed as variables with hyphens for dots now)
- `[background-size:*]` -> `bg-size[*]` (move the square brackets inside tag)
- `[.active_&]:` -> `in[.active]:` (new syntax for parent query)
- `!class` -> `class!` (e.g. _!overflow-visible_ to _overflow-visible!_, for [important flag](https://tailwindcss.com/docs/styling-with-utility-classes#using-the-important-flag style)
- `w-[1px]` -> `w-px` (that's a new syntax for a 1px width)
- `h-[1px]` -> `h-px` (that's a new syntax for a 1px height)
- moved `html` and `html, body` global settings in the _index.css_

Also killed off an unused `import` and blank css class.
Also picked up the two `flex-grow` -> `grow` that I missed last pass, oops.
2025-05-16 19:59:57 +02:00
Aveline fea89a0d23
chore: run golang tests 2025-05-16 19:53:01 +02:00
Marc Brooks d54568642b
fix(ui): Fix regression on Shift-Backspace not being handled (#454)
This keystroke is valid and means "delete to the right" on MacOS.
2025-05-16 12:38:56 +02:00
Marc Brooks c9068af568
Update devcontainer.json to match ui package.json (#457)
Missed that we upgraded the ui's package.json, need to _also_ update the devcontainer.json to matching verison 22.15.0
2025-05-16 12:37:54 +02:00
Adam Shiervani 033bdcd645
fix(ui): Adjust EmptyCard icon size and tweak SettingsMacros (#452) 2025-05-15 17:31:20 +02:00
Adam Shiervani baf85dcbec
refactor: Migrate from tailwind.js config to Tailwind CSS config (#451)
* refactor: Migrate from tailwind.js config to Tailwind CSS configuration and improve component styling

- Removed extensive theme and animation configurations from tailwind.config.js, migrating them to index.css for better organization.
- Updated components to utilize CSS variables for grid layouts and animations, enhancing maintainability.
- Adjusted various components to reflect the new CSS structure, ensuring consistent styling across the application.
- Improved accessibility and responsiveness in several UI components, including headers and popovers.
- Fixed minor styling issues and optimized class usage for better performance.

* style: use default tailwindcss/forms options

* refactor(Header): remove unused LuUser icon import
2025-05-15 17:13:16 +02:00
Marc Brooks c9dd3cd926
feat(ui): Enhance Virtual Keyboard for US (#449)
* feat(ui): Add Ctrl+Alt-Backspace combination key to Virtual Keyboard

Fixes #445 (somewhat)

* fix(ui): Correct virtual keyboard display when shift key is down.

Somewhere along the way, the handling of the shift-key state for letters and numbers was lost and we stopped displaying the capital/symbol for the key.
Also update page up and page down to have the space in the on-screen key.

* feat(ui): Add missing keys for virtual keyboard

Enable insert, delete, numpad equal, print scree, scroll lock, pause, system request, break keys.
2025-05-15 17:05:53 +02:00