Skip to content

[Major] Overhaul settings structure (could be the next feature update?) #873

Open

Description

@rkdikshan-commits

I just went into the rabbit hole of looking at the current settings. They are bit scattered around unorganised. Now i know this might huge task if you don't want to do it you can just close this issue as not planned i feel bad asking this because it would take time. If Google’s anti-gravity IDE had the 2025 Claude limits today, I probably would’ve just fixed it myself and sent a PR instead of opening this.

Also, Once expanded, the child options inside the generic "Fine-tune ▾" accordions (e.g., Preferences → Clipboard History → Clipboard behaviour) sit at the same visual hierarchy as the parent toggle. Without indentation or clear grouping, the expanded submenu blends into the main menu on the same plane.

I went a head with what i could do myself i asked claude and it gave a better settings structure. I used other LLMs to verify. and it looks good on paper. what do you think?

LeanType Settings — UX Overhaul Proposal

Important

This is a planning-only document. No code changes are made. This file defines the proposed new settings architecture, the migration path for every existing option, and UI/UX recommendations for the maintainer.


Design Principles

  1. Task-Oriented Grouping — Settings are organized by what the user is trying to do, not by internal code modules.
  2. Progressive Disclosure — Show essential settings first; advanced tuning is reachable but not in-your-face.
  3. No Duplication — Every setting lives in exactly one place. Cross-links replace scattered copies.
  4. Flat When Possible — Reduce nesting depth. If a category has ≤5 items, it doesn't need a sub-screen.
  5. Consistent Naming — Categories use clear verb/noun phrases. No vague "Preferences" or overloaded "Plugins."

Proposed New Home Screen

┌──────────────────────────────────────────────────────────┐
│ ⚠ Setup Banner (conditional: IME not active)              │
├──────────────────────────────────────────────────────────┤
│                                                          │
│  ESSENTIALS                                              │
│  ┌────────────────────────────────────────────────────┐  │
│  │ 🌐  Languages & Layouts                            │  │
│  │ 🎨  Appearance & Theme                             │  │
│  │ ✏️  Typing & Autocorrect                           │  │
│  │ 🔊  Sound & Haptics                     ← NEW     │  │
│  └────────────────────────────────────────────────────┘  │
│                                                          │
│  FEATURES                                                │
│  ┌────────────────────────────────────────────────────┐  │
│  │ 👆  Gestures & Swipes                              │  │
│  │ 🔧  Toolbar & Strip                                │  │
│  │ 🧠  AI & Smart Features                 ← UNIFIED │  │
│  │ 🧩  Plugins & Extensions                ← RENAMED │  │
│  └────────────────────────────────────────────────────┘  │
│                                                          │
│  SYSTEM                                                  │
│  ┌────────────────────────────────────────────────────┐  │
│  │ 🔒  Privacy & Data                      ← NEW     │  │
│  │ ⚙️  Advanced                                       │  │
│  │ 🔄  Updates & Community                            │  │
│  │ ℹ️  About                                          │  │
│  └────────────────────────────────────────────────────┘  │
│                                                          │
└──────────────────────────────────────────────────────────┘

Changes from current home screen:

  • 3 groups → 3 named groups ("Essentials", "Features", "System")
  • "Preferences" eliminated — contents redistributed
  • "Suggestions" merged into "Typing & Autocorrect"
  • "Text Expander" moved inside "Typing & Autocorrect"
  • New "Sound & Haptics" top-level entry (un-buries sound from Plugins and haptics from Preferences)
  • New "Privacy & Data" top-level entry (consolidates scattered privacy options)
  • "AI Integration" renamed to "AI & Smart Features" (broader, includes translation/voice AI)
  • "Plugins & Capabilities" renamed to "Plugins & Extensions" (cleaner)
  • Entry count: 12 → 12 (same, but better organized)

Proposed Full Structure (ASCII Tree)

LeanType Settings
│
├── 🌐 Languages & Layouts
│   ├── Enabled languages (list + add)
│   ├── Per-language settings → Subtype Screen
│   │   ├── Main layout
│   │   ├── Symbols layout
│   │   └── Secondary layouts
│   ├── Dictionaries → Dictionary Screen
│   │   ├── Download dictionaries
│   │   ├── Personal dictionaries
│   │   └── Blocked words
│   └── Language switching
│       ├── Show language switch key (switch)
│       ├── Long press space to change language (switch)
│       ├── Language switch key behavior (list)          ← FROM Preferences
│       ├── Direct IME switch target (list)              ← FROM Preferences
│       └── Save subtype per app (switch)                ← FROM Plugins Hub
│
├── 🎨 Appearance & Theme
│   ├── Theme
│   │   ├── Theme style (list)
│   │   ├── Theme colors (dialog)
│   │   ├── Day/Night mode (switch)
│   │   ├── Night theme colors (dialog)
│   │   ├── Key borders (switch)
│   │   ├── Key border radius (slider)                   ← WAS hidden in Fine-tune
│   │   ├── Functional key border radius (slider)        ← WAS hidden in Fine-tune
│   │   ├── Action key border radius (slider)            ← WAS hidden in Fine-tune
│   │   ├── Icon style (list)                            ← WAS hidden in Fine-tune
│   │   ├── Customize icons (dialog)                     ← WAS hidden in Fine-tune
│   │   └── Clear clipboard icon style (list)            ← WAS hidden in Fine-tune
│   ├── Background
│   │   ├── Background image (file picker)
│   │   ├── Landscape background image (file picker)     ← WAS hidden in Fine-tune
│   │   ├── System wallpaper as background (switch)
│   │   └── Background blur amount (slider)              ← WAS hidden in Fine-tune
│   ├── Keyboard Sizing
│   │   ├── Keyboard height scale (multi-slider)
│   │   ├── Bottom padding scale (multi-slider)          ← WAS hidden in Fine-tune
│   │   ├── Side padding scale (multi-slider)            ← WAS hidden in Fine-tune
│   │   ├── Split keyboard (switch)
│   │   ├── Split keyboard in landscape (switch)         ← WAS hidden in Fine-tune
│   │   ├── Split spacer scale (multi-slider)            ← WAS hidden in Fine-tune
│   │   ├── Narrow key gaps (switch)                     ← WAS hidden in Fine-tune
│   │   └── Narrow key gaps level (slider)               ← WAS hidden in Fine-tune
│   ├── Fonts & Emoji
│   │   ├── Custom font (file picker)
│   │   ├── Custom emoji font (file picker)
│   │   ├── Font scale (slider)                          ← WAS hidden in Fine-tune
│   │   ├── Secondary font scale (slider)                ← WAS hidden in Fine-tune
│   │   ├── Emoji font scale (slider)                    ← WAS hidden in Fine-tune
│   │   ├── Use system emoji (switch)                    ← WAS hidden in Fine-tune
│   │   ├── Show emoji descriptions (switch)             ← WAS hidden in Fine-tune
│   │   └── Emoji key fit (switch)                       ← WAS hidden in Fine-tune
│   ├── Key Previews
│   │   ├── Key preview popup (switch)
│   │   ├── Preview width scale (slider)                 ← WAS hidden in Fine-tune
│   │   ├── Preview height scale (slider)                ← WAS hidden in Fine-tune
│   │   ├── Preview corner radius (slider)               ← WAS hidden in Fine-tune
│   │   ├── Popup keys vertical offset (slider)          ← WAS hidden in Fine-tune
│   │   └── Animation speed scale (slider)               ← WAS hidden in Fine-tune
│   ├── Key Hints & Popups
│   │   ├── Show key hints (switch)
│   │   ├── Hint label source/order (reorder switch)     ← WAS hidden in Fine-tune
│   │   ├── Popup keys order (reorder switch)
│   │   ├── Show popup hints (switch)                    ← WAS hidden in Fine-tune
│   │   ├── Show TLD popup keys (switch)                 ← WAS hidden in Fine-tune
│   │   ├── Popup keys amount (list)                     ← FROM Preferences
│   │   └── Remove redundant popups (switch)             ← FROM Preferences
│   ├── Space Bar
│   │   ├── Space bar text (text input)
│   │   └── Navigation bar color match (switch)
│   ├── Foldable Devices (section header, collapsed by default)
│   │   ├── Unfolded keyboard height scale (multi-slider)
│   │   ├── Unfolded split keyboard (switch)
│   │   ├── Unfolded split spacer scale (multi-slider)
│   │   ├── Unfolded bottom padding (multi-slider)
│   │   └── Unfolded side padding (multi-slider)
│   └── Window Modes                                     ← FROM Preferences
│       ├── Remember floating keyboard (switch)
│       ├── Auto-float in landscape (switch)
│       └── Persist text edit mode (switch)
│
├── ✏️ Typing & Autocorrect                   ← MERGED: Text Correction + Suggestions + Text Expander
│   ├── Autocorrect
│   │   ├── Autocorrect (switch)
│   │   ├── Autocorrect aggressiveness (slider)
│   │   ├── Autocorrect trigger (list)
│   │   ├── Autocorrect confidence threshold (list)      ← WAS hidden in Fine-tune
│   │   ├── More autocorrection (switch)                 ← WAS hidden in Fine-tune
│   │   ├── Autocorrect shortcuts (switch)               ← WAS hidden in Fine-tune
│   │   ├── Backspace reverts autocorrect (switch)
│   │   ├── Autocorrect indicator underline (switch)
│   │   └── Block potentially offensive words (switch)
│   ├── Suggestions
│   │   ├── Show suggestions (switch)
│   │   ├── Always show suggestions (switch)
│   │   ├── Always show except web text (switch)
│   │   ├── Suggestions count in strip (slider)
│   │   ├── Center suggestion text to enter (switch)
│   │   ├── Center typed word (switch)
│   │   └── Suggest punctuation (switch)
│   ├── Prediction & Learning
│   │   ├── Next-word predictions (switch)
│   │   ├── Suggestion balance (slider)
│   │   ├── Use personalized dictionaries (switch)
│   │   ├── Prioritize personal suggestions (switch)     ← WAS hidden in Fine-tune
│   │   ├── Strict n-gram next word (switch)             ← WAS hidden in Fine-tune
│   │   ├── Disable multi-word suggestions (switch)      ← WAS hidden in Fine-tune
│   │   └── Clear learned words (action)
│   ├── Smart Suggestions
│   │   ├── Suggest emojis (switch)
│   │   ├── Inline emoji search (switch)
│   │   ├── Suggest clipboard content (switch)
│   │   ├── Suggest screenshots (switch)
│   │   ├── Compress screenshots (switch)
│   │   ├── Inline math calculation (switch)
│   │   └── Suggest app names (switch)
│   ├── Space & Punctuation
│   │   ├── Double space period (switch)
│   │   ├── Auto-pair symbols (switch)
│   │   ├── Autospace after punctuation (switch)
│   │   ├── Autospace after emoji (switch)
│   │   ├── Autospace after suggestion (switch)
│   │   ├── Immediate auto-space (switch)
│   │   ├── Shift removes autospace (switch)
│   │   └── Preserve space before punctuation (switch)
│   ├── Capitalization
│   │   ├── Auto-capitalize (switch)
│   │   ├── Force auto-caps (switch)
│   │   └── Shift recapitalizes word (switch)
│   ├── Keyboard Auto-Switch
│   │   ├── After symbol + space (switch)
│   │   ├── After numpad + space (switch)
│   │   ├── After emoji (switch)
│   │   ├── After clipboard paste (switch)
│   │   └── On keyboard reopen (switch)
│   ├── Text Expander                                    ← FROM its own top-level screen
│   │   └── Manage snippets (list + editor)
│   └── Editing
│       ├── Backspace repeat deletes words (switch)
│       └── URL detection (switch)                       ← FROM Advanced
│
├── 🔊 Sound & Haptics                        ← NEW top-level screen
│   ├── Haptic Feedback                                  ← FROM Preferences
│   │   ├── Vibrate on keypress (switch)
│   │   ├── Vibration duration (slider)
│   │   ├── Vibration amplitude (slider)
│   │   ├── Haptic engine (list)
│   │   └── Vibrate in DND mode (switch)
│   ├── Sound on Keypress                                ← FROM Plugins → Sound sub-screen
│   │   ├── Sound on keypress (switch)
│   │   └── Keypress sound volume (slider)
│   ├── Sound Pack                                       ← FROM Plugins → Sound sub-screen
│   │   ├── Sound pack/style selection (dialog)
│   │   └── Active pack info
│   ├── Acoustics & Playback                             ← FROM Plugins → Sound sub-screen
│   │   ├── Pitch scale (slider)
│   │   ├── Random pitch (switch)
│   │   ├── Stereo pan (switch)
│   │   └── Dynamic velocity (switch)
│   ├── Per-Key Volume Balance                           ← FROM Plugins → Sound sub-screen
│   │   ├── Space volume (slider)
│   │   ├── Delete volume (slider)
│   │   ├── Enter volume (slider)
│   │   └── Modifier keys volume (slider)
│   └── System Audio Behavior                            ← FROM Plugins → Sound sub-screen
│       ├── Mute in silent mode (switch)
│       ├── Mute in DND mode (switch)
│       └── Play over Bluetooth (switch)
│
├── 👆 Gestures & Swipes                      ← RENAMED from "Gesture Typing"
│   ├── Gesture Typing (Glide)
│   │   ├── Enable gesture input (switch)
│   │   ├── Load gesture library (file picker)
│   │   ├── Gesture preview trail (switch)
│   │   ├── Floating preview text (switch)
│   │   ├── Dynamic floating preview (switch)
│   │   ├── Trail fadeout duration (slider)
│   │   ├── Space-aware gestures (switch)
│   │   ├── Fast typing cooldown (slider)
│   │   ├── Autospace before gesture (switch)
│   │   └── Autospace after gesture (switch)
│   ├── Space Bar Swipes
│   │   ├── Horizontal swipe action (list)
│   │   ├── Vertical up swipe action (list)
│   │   └── Vertical down swipe action (list)
│   ├── Keyboard-Wide Swipes
│   │   ├── Full keyboard swipe gesture (list)
│   │   ├── Language swipe distance (slider)
│   │   └── Vertical swipe threshold (slider)
│   ├── Delete Swipes
│   │   ├── Delete swipe (switch)
│   │   └── Delete swipe word-by-word (switch)
│   ├── Toolbar Swipes
│   │   ├── Toolbar swipe up gesture (list)
│   │   └── Toolbar swipe down gesture (list)
│   └── Touchpad Mode
│       ├── Touchpad fullscreen mode (switch)
│       └── Touchpad sensitivity (slider)
│
├── 🔧 Toolbar & Strip
│   ├── Mode & Layout
│   │   ├── Toolbar mode (list)
│   │   ├── Split toolbar (switch)
│   │   └── Toolbar keys alignment (list)
│   ├── Keys Configuration
│   │   ├── Toolbar keys (reorder switch)
│   │   ├── Pinned toolbar keys (reorder switch)
│   │   ├── Clipboard toolbar keys (reorder switch)
│   │   ├── Custom text styles (text input)
│   │   ├── Auto-span toolbar keys (switch)
│   │   └── Show download button (switch, standard only)
│   ├── Behavior
│   │   ├── Quick pin toolbar keys (switch)
│   │   ├── Auto-show toolbar when opened (switch)
│   │   ├── Auto-show toolbar on text select (switch)
│   │   ├── Auto-hide toolbar (switch)
│   │   ├── Auto-show when no suggestions (switch)
│   │   ├── Auto-hide pinned keys (switch)
│   │   ├── Remember toolbar state (switch)
│   │   └── Toolbar hiding global (switch)
│   └── Advanced Toolbar
│       ├── Toolbar long press hint (switch)
│       ├── Customize toolbar key codes (dialog)
│       ├── Only show toolbar with hardware keyboard (switch)
│       └── Variable toolbar direction (switch)
│
├── 🧠 AI & Smart Features                    ← UNIFIED (no more duplication)
│   ├── AI Provider & Credentials
│   │   ├── AI Provider (list: Groq/Gemini/OpenAI)
│   │   ├── [Provider-specific credentials]
│   │   │   ├── API key/token (text input)
│   │   │   ├── Model selection (list)
│   │   │   └── Endpoint URL (text input, OpenAI only)
│   │   └── Cloud AI max tokens (list + custom)
│   ├── AI Provider Options (OpenAI-specific)
│   │   ├── Use max_completion_tokens (switch)
│   │   ├── Omit temperature (switch)
│   │   └── Allow insecure connections (switch)
│   ├── Custom AI Keys → sub-screen
│   ├── Proofreading
│   │   ├── Proofread model (list, per-provider)
│   │   └── Replace voice button with proofread (switch)  ← FROM Voice Settings
│   ├── Translation
│   │   ├── Translation engine (list: auto/plugin/AI)    ← FROM Advanced
│   │   ├── Translation model (list, per-provider)
│   │   ├── Source language (picker)                      ← FROM Advanced
│   │   ├── Target language (picker)                      ← FROM Advanced
│   │   ├── Load translation plugin (file picker)        ← FROM Plugins
│   │   └── Download translation models (dialog)         ← FROM Plugins
│   ├── Voice AI
│   │   └── Voice model (list, per-provider)
│   └── Offline AI (offline flavor only)
│       ├── Load offline AI plugin (file picker)
│       ├── Offline model path (text input)
│       └── Keep model loaded (switch)
│
├── 🧩 Plugins & Extensions                   ← STREAMLINED: status/install only
│   ├── Installed Plugins Status
│   │   ├── Handwriting Input → Handwriting Settings
│   │   ├── Text Recognition (OCR) → OCR Settings
│   │   ├── Voice Input → Voice Settings
│   │   ├── CJK Input → CJK Settings
│   │   └── GIF Search → GIF Settings
│   ├── App-Specific Profiles → App Quirks screen
│   ├── Storage & Cache → Storage screen
│   └── Feature Guide (external link)
│
├── 🔒 Privacy & Data                          ← NEW consolidated screen
│   ├── Privacy
│   │   ├── Always incognito mode (switch)               ← FROM Advanced
│   │   ├── Disable network access (switch)              ← FROM Advanced
│   │   └── Skip sensitive clipboard content (switch)    ← FROM Preferences
│   ├── Clipboard History
│   │   ├── Enable clipboard history (switch)            ← FROM Preferences
│   │   ├── Clipboard retention time (slider)            ← FROM Preferences
│   │   ├── Pinned items first (switch)                  ← FROM Preferences
│   │   ├── Fold pinned items (switch)                   ← FROM Preferences
│   │   └── Clipboard font scale (slider)                ← FROM Preferences
│   ├── Background Services                              ← FROM Advanced sub-screen
│   │   ├── Spell Checker Service (switch)
│   │   ├── Clipboard Listener (switch)
│   │   └── App Name Sync (switch)
│   └── Backup & Restore (action)                        ← FROM Advanced
│
├── ⚙️ Advanced
│   ├── Input
│   │   ├── Key longpress timeout (slider)               ← FROM Preferences
│   │   ├── Emoji skin tone (list)                       ← FROM Preferences
│   │   └── Show emoji key (switch)                      ← FROM Preferences
│   ├── Additional Keys
│   │   ├── Show number row (switch)                     ← FROM Preferences
│   │   ├── Localized number row (switch)                ← FROM Preferences
│   │   ├── Localized numbers in popups (switch)         ← FROM Preferences
│   │   ├── Number row hints (switch)                    ← FROM Preferences
│   │   ├── Number row in symbols (switch)               ← FROM Preferences
│   │   ├── Compact number row in symbols (switch)       ← FROM Preferences
│   │   └── Long press symbols for numpad (switch)       ← FROM Preferences
│   ├── Physical Keyboard
│   │   ├── Physical keyboard layout (list)
│   │   ├── Emoji Alt physical key (switch)
│   │   └── Suggestion shortcuts (list)
│   ├── Customization
│   │   ├── Custom currency key (text input)
│   │   └── Timestamp format (text input)
│   ├── Experimental
│   │   ├── Emoji max SDK level (slider)
│   │   └── Debug Settings → sub-screen
│   └── Developer
│       └── Language swipe distance (slider)
│
├── 🔄 Updates & Community
│   ├── [Same as current Updates screen]
│   └── [No changes needed — already well-structured]
│
└── ℹ️ About
    └── [Same as current — no changes needed]

Full Migration Map

Note

Every setting option from the current structure is listed below with its current location (FROM) and proposed location (TO). The ✅ column confirms coverage.

From: Preferences Screen

Setting Current Location New Location ✅
Key longpress timeout Preferences → Input Advanced → Input ✅
Emoji skin tone Preferences → Input Advanced → Input ✅
Show emoji key Preferences → Input Advanced → Input ✅
Vibrate on keypress Preferences → Input Sound & Haptics → Haptic Feedback ✅
Vibration duration Preferences → Input Sound & Haptics → Haptic Feedback ✅
Haptic engine Preferences → Fine-tune Haptics Sound & Haptics → Haptic Feedback ✅
Vibration amplitude Preferences → Fine-tune Haptics Sound & Haptics → Haptic Feedback ✅
Vibrate in DND mode Preferences → Fine-tune Haptics Sound & Haptics → Haptic Feedback ✅
Show number row Preferences → Additional Keys Advanced → Additional Keys ✅
Show language switch key Preferences → Additional Keys Languages → Language Switching ✅
Long press space to change lang Preferences → Additional Keys Languages → Language Switching ✅
Localized number row Preferences → Fine-tune Additional Keys Advanced → Additional Keys ✅
Localized numbers in popups Preferences → Fine-tune Additional Keys Advanced → Additional Keys ✅
Number row hints Preferences → Fine-tune Additional Keys Advanced → Additional Keys ✅
Number row in symbols Preferences → Fine-tune Additional Keys Advanced → Additional Keys ✅
Compact number row in symbols Preferences → Fine-tune Additional Keys Advanced → Additional Keys ✅
Long press symbols for numpad Preferences → Fine-tune Additional Keys Advanced → Additional Keys ✅
Language switch key behavior Preferences → Fine-tune Additional Keys Languages → Language Switching ✅
Direct IME switch target Preferences → Fine-tune Additional Keys Languages → Language Switching ✅
Remove redundant popups Preferences → Fine-tune Additional Keys Appearance → Key Hints & Popups ✅
Popup keys amount Preferences → Fine-tune Additional Keys Appearance → Key Hints & Popups ✅
Remember floating keyboard Preferences → Window Modes Appearance → Window Modes ✅
Auto-float in landscape Preferences → Window Modes Appearance → Window Modes ✅
Persist text edit mode Preferences → Window Modes Appearance → Window Modes ✅
Enable clipboard history Preferences → Clipboard Privacy & Data → Clipboard History ✅
Clipboard retention time Preferences → Clipboard Privacy & Data → Clipboard History ✅
Skip sensitive content Preferences → Clipboard Privacy & Data → Privacy ✅
Pinned items first Preferences → Fine-tune Clipboard Privacy & Data → Clipboard History ✅
Fold pinned items Preferences → Fine-tune Clipboard Privacy & Data → Clipboard History ✅
Clipboard font scale Preferences → Fine-tune Clipboard Privacy & Data → Clipboard History ✅

From: Appearance Screen

All options stay in Appearance & Theme but are reorganized into clearer sub-sections with no more "Fine-tune" expandables.

From: Toolbar Screen

All options stay in Toolbar & Strip — reorganized into sub-sections instead of Fine-tune expandable.

From: Text Correction Screen

All options → Typing & Autocorrect (merged screen). Same sub-categories preserved.

From: Suggestions Screen

All options → Typing & Autocorrect → Suggestions / Prediction / Smart Suggestions sections.

From: Text Expander Screen

Entire screen → Typing & Autocorrect → Text Expander section.

From: Gesture Typing Screen

All options → Gestures & Swipes (renamed). Reorganized into task-based sub-sections.

From: AI Integration Screen

All AI provider/credential settings → AI & Smart Features (unified, no duplication with Advanced).

From: Advanced Screen

Setting Current Location New Location ✅
Always incognito mode Advanced Privacy & Data → Privacy ✅
Disable network access Advanced Privacy & Data → Privacy ✅
Background Services Advanced Privacy & Data → Background Services ✅
Backup & Restore Advanced Privacy & Data → Backup & Restore ✅
Physical keyboard layout Advanced → Fine-tune Advanced → Physical Keyboard ✅
Emoji Alt physical key Advanced → Fine-tune Advanced → Physical Keyboard ✅
Suggestion shortcuts Advanced → Fine-tune Advanced → Physical Keyboard ✅
Custom currency key Advanced → Fine-tune Advanced → Customization ✅
Timestamp format Advanced → Fine-tune Advanced → Customization ✅
Emoji max SDK Advanced → Fine-tune Advanced → Experimental ✅
URL detection Advanced → Fine-tune Typing → Editing ✅
Language swipe distance Advanced → Fine-tune Advanced → Developer ✅
Debug settings Advanced Advanced → Experimental ✅
ALL AI settings (Gemini key, model, provider, Groq, HuggingFace, etc.) Advanced (duplicated!) AI & Smart Features (single location) ✅
ALL Translation settings (engine, source/target language) Advanced (duplicated!) AI & Smart Features → Translation ✅

From: Plugins Hub Screen

Setting Current Location New Location ✅
Sound Packs Plugins → Sound sub-screen Sound & Haptics (top-level) ✅
Save subtype per app Plugins → App Profiles Languages → Language Switching ✅
All plugin entries (Handwriting, OCR, Voice, etc.) Plugins Plugins & Extensions (streamlined) ✅
Translation plugin + settings Plugins → Translation sub-screen AI & Smart Features → Translation ✅
Storage & Cache Plugins Plugins & Extensions ✅
Feature Guide Plugins Plugins & Extensions ✅

From: Sound Settings Screen

All options → Sound & Haptics (promoted to top-level).

From: Background Services Screen

All options → Privacy & Data → Background Services (inlined, no separate navigation).


Summary of Changes

Metric Current Proposed
Home screen entries 12 12
Home screen groups 3 (unnamed) 3 (named: Essentials/Features/System)
Total screens ~27 ~25
"Fine-tune" expandables 13 0 (replaced with sub-sections)
Duplicated settings ~20+ (AI, Translation, Language swipe) 0
Settings without a logical home ~15 (scattered across Preferences/Advanced) 0
Deepest navigation depth 4 (Settings → Plugins → Sound → Per-Key Volume) 3 max
Screens eliminated — "Preferences" (redistributed)
New screens — "Sound & Haptics", "Privacy & Data"

Activity

  1. rkdikshan-commits commented on Nov 19, 2026

    @rkdikshan-commits
    Author

    🚨 Key UX Problems Identified

    # Problem Severity
    1 AI settings duplicated across Advanced Screen AND AI Integration Screen 🔴 Critical
    2 Sound/Haptics split: Vibration is in Preferences, Sound is buried inside Plugins → Sound sub-screen 🔴 Critical
    3 "Preferences" is a vague name — it's a dumping ground for unrelated things (input timing, haptics, keys, clipboard, floating mode) 🟠 High
    4 Plugins screen acts as both a "feature marketplace" AND settings hub — mixing plugin install/status with per-feature settings 🟠 High
    5 Translation settings duplicated in both Advanced screen and Translation sub-screen via Plugins 🟠 High
    6 Too many "Fine-tune" expandables (13 total!) — user has to expand nested sections everywhere 🟡 Medium
    7 Text Expander orphaned — lives alone in Typing group without logical connection to Text Correction or Suggestions 🟡 Medium
    8 "Window Modes" (floating keyboard, text edit mode) is randomly in Preferences 🟡 Medium
    9 Clipboard settings split across Preferences (history config) and Toolbar (clipboard toolbar keys) 🟡 Medium
    10 Physical keyboard settings buried under Advanced → Fine-tune → More scrolling 🟡 Medium
    11 No clear "Privacy & Security" section — incognito, network disable, sensitive clipboard skip are scattered 🟡 Medium
    12 Background Services requires 2 navigations (Advanced → Background Services) to reach a simple 3-toggle screen 🟡 Medium
  2. rkdikshan-commits commented on Nov 19, 2026

    @rkdikshan-commits
    Author

    And lastly an Implementation guide

    LeanType Settings — Maintainer Implementation Guide

    Important

    This is the actionable checklist for the developer implementing the restructure. Read [01-current-structure.md] for the full "before" audit and [02-proposed-restructure.md] for the complete "after" structure with rationale.


    Screen-Level Changes Summary

    ❌ DELETED Screens

    Screen Reason Contents Moved To
    PreferencesScreen.kt Vague dumping ground Split across Sound & Haptics, Appearance, Languages, Advanced, Privacy & Data

    ✨ NEW Screens

    Screen File to Create Purpose
    Sound & Haptics SoundHapticsScreen.kt Unifies vibration (from Preferences) + keypress audio (from Plugins → Sound)
    Privacy & Data PrivacyDataScreen.kt Consolidates incognito, network, clipboard history, background services, backup

    ✏️ RENAMED Screens

    Old Name New Name File
    Gesture Typing Gestures & Swipes GestureTypingScreen.kt → rename or update title
    AI Integration AI & Smart Features AIIntegrationScreen.kt → update title
    Plugins & Capabilities Plugins & Extensions LibrariesHubScreen.kt → update title

    🔀 MERGED Screens

    Screens Merged Into New File
    TextCorrectionScreen.kt + SuggestionsScreen.kt + TextExpanderScreen.kt Typing & Autocorrect TypingScreen.kt

    ♻️ RESTRUCTURED (content moved)

    Screen What Changed
    AppearanceScreen.kt Gains: Window Modes (from Preferences), popup keys amount + remove redundant popups (from Preferences). Loses: nothing. All Fine-tune expandables replaced with sub-sections
    AdvancedScreen.kt Gains: Input settings (longpress timeout, emoji skin tone, number row, etc. from Preferences). Loses: AI settings (→ AI & Smart Features), incognito/network/backup/services (→ Privacy & Data)
    MainSettingsScreen.kt Updated card groups with named headers. "Preferences" removed. "Sound & Haptics" and "Privacy & Data" added
    SettingsNavHost.kt New routes for SoundHaptics, PrivacyData, Typing. Remove Preferences route

    Navigation Route Changes

      object SettingsDestination {
          const val Settings = "settings"
    -     const val Preferences = "preferences"
    +     const val Typing = "typing"
    +     const val SoundHaptics = "sound_haptics"
    +     const val PrivacyData = "privacy_data"
          const val Toolbar = "toolbar"
          const val GestureTyping = "gesture_typing"     // keep route, update screen title
          const val Advanced = "advanced"
          const val AIIntegration = "ai_integration"      // keep route, update screen title
          const val Libraries = "libraries_hub"           // keep route, update screen title
    -     const val TextCorrection = "text_correction"    // merged into Typing
    -     const val Suggestions = "suggestions"           // merged into Typing
    -     const val TextExpander = "text_expander"        // merged into Typing
    +     // TextCorrection, Suggestions, TextExpander routes removed
    +     // Redirect any deep-links to Typing
          // ... rest unchanged
      }

    Per-Setting Migration Cheatsheet

    Tip

    Use this as a checklist during implementation. Check off each setting as you move it.

    Preferences → Sound & Haptics

    □ PREF_VIBRATE_ON
    □ PREF_VIBRATION_DURATION_SETTINGS
    □ PREF_HAPTIC_ENGINE
    □ PREF_VIBRATION_AMPLITUDE_SETTINGS
    □ PREF_VIBRATE_IN_DND_MODE
    □ PREF_EXPAND_FINE_TUNE_HAPTICS          → REMOVE (no longer needed)
    

    Preferences → Languages & Layouts

    □ PREF_SHOW_LANGUAGE_SWITCH_KEY
    □ PREF_SPACE_TO_CHANGE_LANG
    □ PREF_LANGUAGE_SWITCH_KEY
    □ PREF_DIRECT_IME_SWITCH_TARGET
    

    Preferences → Advanced → Input

    □ PREF_KEY_LONGPRESS_TIMEOUT
    □ PREF_EMOJI_SKIN_TONE
    □ PREF_SHOW_EMOJI_KEY
    

    Preferences → Advanced → Additional Keys

    □ PREF_SHOW_NUMBER_ROW
    □ PREF_SHOW_NUMBER_ROW_IN_SYMBOLS
    □ PREF_COMPACT_NUMBER_ROW_IN_SYMBOLS
    □ PREF_LOCALIZED_NUMBER_ROW
    □ PREF_LOCALIZED_NUMBERS_IN_POPUPS
    □ PREF_SHOW_NUMBER_ROW_HINTS
    □ PREFS_LONG_PRESS_SYMBOLS_FOR_NUMPAD
    □ PREF_EXPAND_FINE_TUNE_ADDITIONAL_KEYS  → REMOVE (no longer needed)
    

    Preferences → Appearance → Key Hints & Popups

    □ PREF_MORE_POPUP_KEYS
    □ PREF_REMOVE_REDUNDANT_POPUPS
    

    Preferences → Appearance → Window Modes

    □ PREF_REMEMBER_FLOATING_KEYBOARD
    □ PREF_FLOATING_KEYBOARD_LANDSCAPE
    □ PREF_PERSIST_TEXT_EDIT_MODE
    

    Preferences → Privacy & Data

    □ PREF_ENABLE_CLIPBOARD_HISTORY
    □ PREF_CLIPBOARD_HISTORY_RETENTION_TIME
    □ PREF_CLIPBOARD_SKIP_SENSITIVE
    □ PREF_CLIPBOARD_HISTORY_PINNED_FIRST
    □ PREF_CLIPBOARD_FOLD_PINNED
    □ PREF_CLIPBOARD_FONT_SCALE
    □ PREF_EXPAND_FINE_TUNE_CLIPBOARD        → REMOVE (no longer needed)
    

    Advanced → Privacy & Data

    □ PREF_ALWAYS_INCOGNITO_MODE
    □ PREF_DISABLE_NETWORK
    □ SettingsWithoutKey.BACKGROUND_SERVICES  (inline the 3 toggles)
    □ SettingsWithoutKey.BACKUP_RESTORE
    

    Advanced → AI & Smart Features (DEDUPLICATION)

    □ SettingsWithoutKey.GEMINI_API_KEY       → REMOVE from Advanced (keep in AI)
    □ SettingsWithoutKey.GEMINI_MODEL         → REMOVE from Advanced
    □ SettingsWithoutKey.AI_PROVIDER          → REMOVE from Advanced
    □ SettingsWithoutKey.GROQ_TOKEN           → REMOVE from Advanced
    □ SettingsWithoutKey.GROQ_MODEL           → REMOVE from Advanced
    □ SettingsWithoutKey.HUGGINGFACE_TOKEN    → REMOVE from Advanced
    □ SettingsWithoutKey.HUGGINGFACE_MODEL    → REMOVE from Advanced
    □ SettingsWithoutKey.HUGGINGFACE_ENDPOINT → REMOVE from Advanced
    □ SettingsWithoutKey.OPENAI_USE_MAX_COMPLETION_TOKENS → REMOVE from Advanced
    □ SettingsWithoutKey.OPENAI_OMIT_TEMPERATURE          → REMOVE from Advanced
    □ SettingsWithoutKey.AI_ALLOW_INSECURE_CONNECTIONS    → REMOVE from Advanced
    □ SettingsWithoutKey.CLOUD_AI_MAX_TOKENS              → REMOVE from Advanced
    □ SettingsWithoutKey.TRANSLATION_ENGINE               → REMOVE from Advanced
    □ SettingsWithoutKey.TRANSLATION_SOURCE_LANGUAGE      → REMOVE from Advanced
    □ SettingsWithoutKey.GEMINI_TARGET_LANGUAGE            → REMOVE from Advanced
    

    Advanced → Typing & Autocorrect

    □ PREF_URL_DETECTION                     → Typing → Editing
    

    Plugins Hub → Sound & Haptics

    □ Sound Packs entry + entire SoundSettingsScreen content → SoundHapticsScreen
    

    Plugins Hub → AI & Smart Features

    □ Translation plugin loading + settings → AI & Smart Features → Translation
    

    Plugins Hub → Languages & Layouts

    □ PREF_SAVE_SUBTYPE_PER_APP             → Languages → Language Switching
    

    Expandable Sections to Remove

    Replace every "Fine-tune ▸" expandable with a flat sub-section or dedicated sub-screen.

    □ PREF_EXPAND_FINE_TUNE_HAPTICS          → Section header "Haptic Feedback" in Sound & Haptics
    □ PREF_EXPAND_FINE_TUNE_ADDITIONAL_KEYS  → Section header "Additional Keys" in Advanced
    □ PREF_EXPAND_FINE_TUNE_CLIPBOARD        → Section header "Clipboard History" in Privacy & Data
    □ PREF_EXPAND_FINE_TUNE_THEME            → Inline sub-sections in Appearance → Theme/Background
    □ PREF_EXPAND_FINE_TUNE_KEY_PREVIEWS     → Section header "Key Previews" in Appearance
    □ PREF_EXPAND_FINE_TUNE_KEYBOARD_LAYOUT  → Section header "Keyboard Sizing" in Appearance
    □ PREF_EXPAND_FINE_TUNE_FOLDABLE         → Section header "Foldable Devices" in Appearance
    □ PREF_EXPAND_FINE_TUNE_TOOLBAR          → Sub-sections in Toolbar & Strip
    □ PREF_EXPAND_FINE_TUNE_AUTOCORRECT      → Flatten into Autocorrect section
    □ PREF_EXPAND_FINE_TUNE_PREDICTION       → Flatten into Prediction section
    □ PREF_EXPAND_FINE_TUNE_GESTURE          → Flatten into Gesture Typing section
    □ PREF_EXPAND_FINE_TUNE_SWIPES           → Flatten into sub-sections in Gestures
    □ PREF_EXPAND_FINE_TUNE_ADVANCED         → Sub-sections in Advanced
    

    Phased Rollout Plan

    Caution

    Don't do this all at once. Breaking it into phases reduces risk and makes reviews manageable.

    Phase 1: Quick Wins (Low Risk)

    1. Rename screen titles (AI Integration → AI & Smart Features, etc.)
    2. Add named group headers to MainSettingsScreen ("Essentials", "Features", "System")
    3. Add descriptions to home screen entries that lack them
    4. Remove AI setting duplicates from AdvancedScreen (they're already in AIIntegrationScreen)

    Phase 2: New Screens (Medium Risk)

    1. Create SoundHapticsScreen.kt — merge haptics from PreferencesScreen + all from SoundSettingsScreen
    2. Create PrivacyDataScreen.kt — consolidate incognito, network, clipboard, services, backup
    3. Update MainSettingsScreen.kt to show new entries
    4. Update SettingsNavHost.kt with new routes

    Phase 3: The Big Merge (Higher Risk)

    1. Merge TextCorrectionScreen + SuggestionsScreen + TextExpanderScreen → TypingScreen.kt
    2. Redistribute remaining Preferences settings to their new homes
    3. Delete PreferencesScreen.kt
    4. Update all search/jump references in SettingsContainer.kt and SettingsJump.kt

    Phase 4: Polish

    1. Replace all Fine-tune expandables with proper sub-sections
    2. Add conditional disabled state instead of hiding
    3. Add breadcrumbs to search results
    4. Visual consistency pass (cards everywhere)
    5. Update SettingsWithoutKey SCREEN_NAV entries

    Risk Assessment

    Change Risk Mitigation
    Removing PreferencesScreen 🟠 High — most settings move Keep all pref keys the same, only change UI structure
    Merging Typing screens 🟡 Medium — 3 screens into 1 The merged screen can use tabs or just longer scroll
    Deduplicating AI settings 🟢 Low — removing duplicate UI, keeping single source Verify all code paths reference AI settings from one place
    New Sound & Haptics screen 🟢 Low — combining existing code Copy-paste from two sources, wire new route
    Search/Jump compatibility 🟡 Medium — SettingsJump maps keys to screens Update all mappings in SettingsContainer.kt
  3. changed the title [-]Overhaul settings structure. [draft please wait][/-] [+][Major task] Overhaul settings structure (could be the next feature update?)[/+] on Nov 19, 2026
  4. changed the title [-][Major task] Overhaul settings structure (could be the next feature update?)[/-] [+][Major] Overhaul settings structure (could be the next feature update?)[/+] on Nov 19, 2026
  5. rkdikshan-commits commented on Nov 19, 2026

    @rkdikshan-commits
    Author

    Also this yeah

    UI/UX Design Recommendations

    1. Home Screen Cards

    Use named section headers above each card group ("ESSENTIALS", "FEATURES", "SYSTEM") with M3 labelSmall typography in onSurfaceVariant color. This immediately gives the user a mental model.

    2. Eliminate "Fine-tune" Expandables

    Replace all 13 "Fine-tune ▸" expandable sections with proper sub-sections using PreferenceCategory headers. Users currently don't know what's hidden behind these. If a section has >5 items, make it a navigable sub-screen instead.

    3. Conditional Visibility → Disabled State

    Instead of hiding options when their parent toggle is off (e.g., hiding "Vibration amplitude" when "Vibrate on keypress" is off), show them in a disabled/grayed-out state. This lets users discover features without toggling things on and off.

    4. Search Improvements

    Add category breadcrumbs to search results (e.g., "Sound & Haptics > Haptic Feedback > Vibration amplitude") so users know where the setting lives even when finding it via search.

    5. Description Text

    Add concise one-line descriptions to every settings screen entry on the home page. Currently some have descriptions and some don't. Example:

    • "AI & Smart Features" → "Proofreading, translation, voice AI, and custom AI keys"
    • "Sound & Haptics" → "Keypress sounds, vibration, and sound packs"
    • "Privacy & Data" → "Incognito mode, clipboard history, and backup"

    6. Visual Hierarchy in Sub-screens

    Use card-based sections (like the current LibrariesHub does) consistently across ALL settings sub-screens, not just some. Currently some screens use flat lists and others use cards — this inconsistency makes the app feel unpolished.

    7. Quick Actions on Home Screen

    Consider adding a compact "Quick Setup" card at the top of the home screen (below the IME setup banner) with the 3 most commonly changed settings as inline toggles:

    • Sound on/off
    • Vibration on/off
    • Autocorrect on/off
      This saves power users from diving into sub-screens for the most common toggles.

    8. AI Screen — Provider-Specific Tabs

    Instead of showing/hiding settings based on provider selection via conditional visibility, use horizontal tabs or segmented buttons (Groq | Gemini | OpenAI) at the top of the AI screen. This makes it clearer that the settings below are provider-specific and allows quick comparison.

    9. Plugins Screen — Status Dashboard

    Transform the Plugins screen from a "list of links" into a status dashboard:

    • Show each plugin as a compact card with: icon, name, status badge (Active/Not Installed), version
    • Tap to expand inline settings or navigate to plugin-specific configuration
    • Remove settings that belong in other screens (Sound, Translation, AI) — keep only plugin management

    10. Privacy Screen — Visual Trust Indicator

    Add a simple privacy summary at the top of the Privacy & Data screen showing:

    • 🟢 "No data leaves your device" (when incognito + network disabled)
    • 🟡 "Some features use network" (when network enabled but no AI)
    • 🔵 "AI features active" (when AI provider configured)
      This gives users instant reassurance about their privacy posture.

    11. Typing Screen — Before/After Preview

    Where feasible, add live preview widgets in the Typing & Autocorrect screen. For example, show a mini keyboard preview that updates as users toggle autocorrect on/off, or a sample sentence showing how autospace behavior changes.

    12. Icon Consistency

    Ensure every home screen entry has a distinct, meaningful icon using Material Design icon guidelines. Current icons sometimes reuse the same drawable or use generic icons.

  6. LeanBitLab commented on Nov 19, 2026

    @LeanBitLab
    Owner

    the main time consuming task would be translating all these changes in settings to all the languages, can you ask the claude to estimate the time of work for that task alone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions