Skip to content

[codex] Support custom settings on Settings page#78

Draft
cormoran wants to merge 3 commits into
mainfrom
codex/support-custom-settings-page
Draft

[codex] Support custom settings on Settings page#78
cormoran wants to merge 3 commits into
mainfrom
codex/support-custom-settings-page

Conversation

@cormoran

@cormoran cormoran commented May 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add the cormoran/zmk-feature-custom-settings RPC schema and a useCustomSettings hook for listing, memory-writing, saving, discarding, and resetting scoped settings.
  • Show detected custom settings after Power Management on the Settings page, grouped by owning custom subsystem and setting key.
  • Display split-side values together and let memory updates target All, Central, or a specific Peripheral.
  • Render editors for bool, int32, string, bytes, options, arrays, layer IDs, and HID usages; layer IDs use layer dropdowns and HID usages use the existing keycode picker UI.
  • Mark pending memory changes in the value section and enable scoped Save/Discard/Reset controls per custom subsystem.
  • Extend demo mode with sample range, option, layer, HID, split, pending, save, discard, and reset behavior.

Validation

  • npm run format:check
  • npm run lint
  • npm test -- --runInBand
  • npm run build
  • Verified Settings page in demo mode at http://127.0.0.1:5173/ with split custom-setting values, layer dropdowns, HID keycode picker, pending marks, and subsystem Save/Discard/Reset controls.

@github-actions

github-actions Bot commented May 31, 2026

Copy link
Copy Markdown

🚀 Cloudflare Workers Preview

Preview URL: https://96792cfa-dya-studio.cormoran707.workers.dev

Deployed from commit 06d8143

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