Repository navigation
fix(whatsapp): retain settings fact rows on refresh - #182364
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
WhatsApp Settings rebuilt every status fact row when its snapshot refreshed or its display language changed.
User Impact
Existing status rows now keep their DOM identity while values update, including when the optional phone row appears or disappears. Labels, layout, controls, and request behavior stay the same.
Why This Change Was Made
The facts memo creates new objects, so object-identity list rendering discarded the previous rows. Keying each fact by its untranslated field name keeps the corresponding label/value pair stable without confusing rows when the phone field changes the list length.
Evidence
dtidentity after status refreshdt/ddnodes (2.40 s file run, 216 ms tests)pnpm tsgo:ui, targeted oxlint, and oxfmt passedsrc/gateway/assistant-human-mentions.ts; the same file fails on ancestor23db299b15b, with its owner and Knip config unchanged through this PR baseThis changes retained node identity only; there is no visual layout change. The plugin stays behind its existing lazy Settings boundary and does not change the Control UI startup graph. No dependency or SDK changes.
CI investigation
Run 40074037682, attempt 1, failed only
checks-ui (2/3)job120813772809:chat-pane-versions-menu.browser.test.ts > opens help on its own retained header and retires native overlays when presentation endsexpected focus on the help button after Escape but received the closed parent menu trigger. The exact test passed on merge base4a41f0b90fb(358 ms, 3.31 s file run). The PR changes only the WhatsApp settings view and its test; the chat test and its imports are unchanged.The cold menu path in
menu-machine.tshandles Escape through the parent overlay while lazy navigation is loading. The loaded path inmenu-runtime.tsinstead leaves Escape to the deepest open child. Help keeps focus on its trigger inside the parent menu, so early Escape can take the cold path, close both menus, and return focus to the parent trigger. This accounts for the observed closed trigger while the parent exit animation still satisfies the preceding visibility assertion. One exact-job retry was requested through the Actions jobs API as a diagnosed timing failure; this is not an inherited-failure waiver or a claim that replay fixes the chat owner.Attempt 2 passed on the unchanged head:
checks-ui (2/3)job120815848162and aggregateopenclaw/ci-gatejob120816971916both succeeded. The run is green. The cold-menu Escape defect remains a separate owner follow-up.