Skip to content

release: LeanTypeDual 3.8.6#63

Merged
AsafMah merged 6 commits into
mainfrom
dev
Jun 7, 2026
Merged

release: LeanTypeDual 3.8.6#63
AsafMah merged 6 commits into
mainfrom
dev

Conversation

@AsafMah

@AsafMah AsafMah commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Promotes devmain for the LeanTypeDual 3.8.6 release. versionName 3.8.6 / versionCode 3860.

What ships (since 3.8.5)

All four feature PRs were merged to dev, CI is green on dev, and every user-facing change was confirmed on-device. After merge: add the signing secrets, then push tag v3.8.6 to trigger the signed build + draft release.

SHAWNERZZ and others added 6 commits June 6, 2026 08:26
…ure lifecycle

WordComposer.mExtendBatchInputBase (the multi-part merged-trail base) was only
cleared by a normally-completing gesture, so an abnormal end (cancel / empty-top
recognition) left it armed, and no deletion path cleared it. A later fresh swipe then
merged with the ghost trail - most visibly at the start of a text box.

Clear it at the same word-end sites where mLiveStroke is already dropped
(handleBackspaceEvent, resetComposingState, commitChosenWord, desync) plus the two
gesture-lifecycle origins (onStartBatchInput top, onCancelBatchInput). Does not touch
the hot WordComposer.reset() path.

Adds 8 tests: base cleared after each backspace mode (character/fragment/whole-word),
the delete slider, fresh onStartBatchInput, and onCancelBatchInput; plus 2 guards
pinning the (currently dead) static-seed interlock.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…) (#58)

* fix(shortcut-row): align down-swipe popup below source key (#36)

The below-key (down-swipe) shortcut popup reused the above-key placement
formula in PopupKeysKeyboardView.showPopupKeysPanelInternal, compensated by a
+container.getMeasuredHeight() hack in MainKeyboardView. That left the bottom
popup with the wrong vertical gap/overlap vs the top one.

Make the placement below-aware: setShowBelowAnchor() selects a mirrored
y-formula that anchors the panel's visible content top to pointY (vs bottom for
the above case), and MainKeyboardView passes pointY = key bottom directly.
Horizontal anchoring is unchanged (already symmetric).

Closes #36.

* fix(shortcut-row): align popup icons to the source letter row (#36)

The real misalignment was horizontal, not vertical: the popup re-anchored on the
swiped key via PopupKeysKeyboard's left/right split, which keys the split off the
key's absolute x in the full keyboard. The bottom letter row is inset by the shift
key (and bounded by backspace), so the leftmost letter (z) sits well right of x=0
and the icons got placed over the shift area — swiping down on z landed on a
middle/right icon instead of the far-left one. The top row starts at x~0 so it
looked fine, producing the top/bottom asymmetry.

Fix: pin the shortcut popup's visible content left edge to the source letter row's
left edge (leftmost normal key), so the 7 icons tile across the row and each letter
maps to the icon directly above it (z->1st ... m->7th), draggable sideways. Normal
long-press popups are unchanged (NO_ROW_ALIGN sentinel; they still anchor on the key).
Verified on-device (S24+).
#40) (#59)

C4-ui: when a suggestion is only learned/typed (not in a real dictionary),
underline it in the strip and offer Add-to-dictionary / Block on long-press.
Adds a per-locale Blocklist settings screen.

Backend (DictionaryFacilitator):
- addToUserDictionary(word): promote to personal dict + un-blacklist (only once the
  user dict is resolvable, so we never un-block without adding).
- blockWord(word): delegates to removeWord (which already permanently blacklists in
  every group, incl. history-only words) - gives the UI a clear verb.

UI:
- SuggestionStripLayoutHelper: underline suggestions whose mSourceDict is
  USER_HISTORY/USER_TYPED, gated by new pref PREF_FLAG_UNKNOWN_WORDS (default on).
- SuggestionStripView: long-press an uncurated word -> AlertDialog (Add/Block/Cancel);
  curated words keep the existing bin.
- BlocklistScreen: per-locale view/remove of blocked words (filesDir/blacklists/*.txt).

Test: removeFromBlacklist round-trip (the Add un-block path).
- Fix MiscTest Compose UI tests on CI: add ui-test-manifest to the runTests
  build type so createComposeRule can resolve ComponentActivity (was debug-only).
- Quarantine genuinely env/network-dependent known failures via the existing
  runTests self-skip (tracked in #12): XLinkTest network link checks, ParserTest
  backgroundType (Linux-only asset ordering), InputLogicTest tapOnly-gesture-gate
  and revert-autocorrect (need dictionaries absent in JVM env), StringUtilsTest
  emoji-data test.
- Remove continue-on-error so a real test failure now fails the job.
fix(two-thumb): clear stale merged-trail extend-base on delete + gesture lifecycle
@AsafMah
AsafMah merged commit 827855c into main Jun 7, 2026
2 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.

2 participants