Skip to content

Develop/enhance code by ai - #76

Merged
amirisback merged 7 commits into
masterfrom
develop/enhance-code-by-ai
Sep 19, 2026
Merged

amirisback merged 7 commits into
masterfrom
develop/enhance-code-by-ai

Conversation

@amirisback

@amirisback amirisback commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

Summary of Changes

This PR incorporates major architectural enhancements, modernization, and new features for Frogo Keyboard:

1. Suggestion Tab with Prediction & Auto-Correct (Fixes #50, Closes #50)

  • Implemented \WordSuggestionEngine\ with on-device vocabulary (\�ssets/text/dictionary_en.txt), sub-millisecond prefix lookup, and Levenshtein typo auto-correction.
  • Added \KeyboardSuggestionView\ (\layout_keyboard_suggestion.xml) with the three requested candidate sections:
    • Section 1: User's literal typed word
    • Section 2: Predicted word (prominent central pill candidate)
    • Section 3: Auto-correct candidate / alternative suggestion
  • Added quick switcher button to toggle between Suggestion Strip and Feature Header Menu.
  • Registered \KeyboardFeatureType.SUGGESTION\ in \KeyboardUtil\ and surfaced in \ToggleScreen.
  • Added unit tests in \WordSuggestionEngineTest\ (100% passing).

2. Mechanical Keyboard Sound Engine & Programmer Coding Keyboard (#68)

  • Added \MechanicalSoundManager\ with low-latency \SoundPool\ audio profiles (Cherry MX Blue, Brown, Red, Typewriter).
  • Added Sound & Haptics settings screen (\SoundActivity, \SoundScreen, \SoundViewModel).
  • Added Codeboard-style Programmer keyboard layout (\keys_letters_programmer.xml) with bracket headers, Tab key, and arrow cursor controls.

3. Full Jetpack Compose (Material 3) Modernization

  • Migrated Activities to declarative Compose screens (\MainScreen, \ThemeScreen, \AutoTextScreen, \KeyboardLanguageScreen, \TestScreen, \ToggleScreen, \SoundScreen).
  • Fully migrated from RxJava to Kotlin Coroutines and StateFlow.
  • Clean AGP 9.0 compatibility with zero deprecation suppressions.

Verification

  • ./gradlew testDebugUnitTest --no-daemon\ -> BUILD SUCCESSFUL (100% pass)
  • ./gradlew assembleDebug --no-daemon\ -> BUILD SUCCESSFUL (\ rogo-keyboard-122-[1.2.2]-debug.apk)

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

…g keyboard layout (#68)

- Add MechanicalSoundManager with low-latency SoundPool engine and acoustic profiles (Cherry MX Blue, Brown, Red, Typewriter)
- Add Sound & Haptics settings dashboard (SoundActivity, SoundViewModel, SoundScreen) with interactive audio test keycaps
- Add Codeboard-style Programmer keyboard layout (keys_letters_programmer.xml) with dedicated brackets header, Tab key, and arrow navigation
- Support smart multiline Tab vs single-line focus navigation, cursor positioning in BaseKeyboardIME
- Register Programmer layout in KeyboardLanguageViewModel
- Add unit test coverage and SDLC workflow evidence
@amirisback
amirisback merged commit 0edcd46 into master Sep 19, 2026
1 of 2 checks passed
@amirisback
amirisback deleted the develop/enhance-code-by-ai branch September 19, 2026 14:55
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.

Suggestion tab

1 participant