Skip to content

v0.3.0-alpha: MoulConfig (NEU/SkyHanni-style) settings UI - #4

Merged
Somikyy merged 1 commit into
masterfrom
phase-1-translation-mvp
Jul 26, 2026
Merged

Somikyy merged 1 commit into
masterfrom
phase-1-translation-mvp

Conversation

@Somikyy

@Somikyy Somikyy commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

What

The settings UI is now MoulConfig — the NEU/SkyHanni config engine — replacing the vanilla-styled YACL screen for the main settings.

  • Categories sidebar (General / Surfaces / Online Translation) + built-in search
  • O keybind and Mod Menu both open the MoulConfig screen
  • ManagedConfig owns persistence; the afterSave hook rebuilds the translation engine, so language/provider changes apply the moment you hit save
  • Config JSON restructured into nested categories (old flat configs reset to defaults — alpha)
  • Language and provider are index-based dropdowns; languageCode() / onlineProviderCode() helpers hide the indices
  • The YACL string editor survives behind the Translation Editor button (native MoulConfig editor is a later task)
  • Bundled via jar-in-jar: MoulConfig modern-26.2 (+ Fabric Language Kotlin, since MoulConfig is Kotlin)

Testing

  • Build + tests green; dev client boots with fabric-language-kotlin and MoulConfig (libninepatch) loaded, config read correctly from the new nested format
  • UI texts are English-only — MoulConfig has no localization (same as SkyHanni/NEU)

🤖 Generated with Claude Code

- Main config migrated to MoulConfig modern-26.2 (ManagedConfig handles
  persistence and the editor; afterSave hook rebuilds the translation
  engine so changes apply instantly)
- Config restructured into categories (General / Surfaces / Online
  Translation); dropdown-based language and provider selection
- O keybind and Mod Menu now open the MoulConfig screen; the YACL-based
  string editor stays behind the Translation Editor button
- MoulConfig + Fabric Language Kotlin bundled via jar-in-jar

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Somikyy
Somikyy merged commit feef0aa into master Jul 26, 2026
3 checks passed
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.

1 participant