Files

10 lines
2.2 KiB
Markdown

# Q105 visible navigation correction
The original three-file candidate passed callback-level tests but failed LOCAL because Camelot explicitly disables the native Realms button. The visible Back callback also bypassed the new preference cleanup. That candidate and its descendants remain held.
This replacement contains five files on shipped charge head 8f436589. It retains the original three tested clear/disconnect paths, adds cleanup to the actual CharacterSelectBackButtonMixin.OnClick, and changes only realmsButtonAvailable false to true in selected Camelot XML FDID7373118. The stock native nav factory, button setup, labels, callback, enabled-state handling and distinct Ruleset control remain intact. No native API is replaced and no new button implementation is invented.
New tests first reproduced both failures: visible Back retained the saved realm; the selected XML prevented the native factory from creating Realms. Both now pass. The test executes the actual selected OnLoad, AddButton, TrySetUpRealmsButton, TrySetUpSuperDistrictsButton and SetRealmsButtonEnabled code, then uses its actual click script. It reuses one persistent Source district adapter across generations: remembered A, click Back or Realms, next sign-in, repeated list refresh/polls and delayed character events without automatic selection, explicit B, successful character list, and remembered B on a later login. Ruleset remains a separate native callback and does not clear realm intent. Both one-realm and two-realm cases pass the host fixture. Actual native SuperDistrict OnShow, list-update and delayed character-list event handlers run against the same adapter instance; actual rendering remains LOCAL acceptance.
The unchanged previous account-scope, cancellation and late-choice checks are reused; only the new visible navigation boundary ran. Four emitted Lua candidates pass syntax; the new XML changes one boolean. Frozen gate verifies the exact artifacts and repeats the new boundary from its self-contained source copy. Packaging and private STORE inverse belong to the content lane. Claude should test the visible native Realms button and Back, next sign-in with the picker staying open, then explicit selection on LOCAL and another realm on OCTO if only one is available locally.