Skip to content

fix(web): make WSL settings searchable - #17

Merged
Zain-Repo merged 9 commits into
mainfrom
codex/next-pr-8881
Sep 1, 2026
Merged

fix(web): make WSL settings searchable#17
Zain-Repo merged 9 commits into
mainfrom
codex/next-pr-8881

Conversation

@Zain-Repo

Copy link
Copy Markdown
Owner

What changed\n- Register the WSL backend in Settings search with desktop/Windows filtering.\n- Keep search targets aligned with live WSL row visibility, including load errors and state changes.\n- Clamp keyboard selection when the result list changes.\n\nReviewed against upstream PR #8881: https://github.com/pingdotgg/t3code/pull/8881\n\nValidation: targeted settings search and Connections logic tests pass (13 tests).

@Zain-Repo

Copy link
Copy Markdown
Owner Author

@codex review Please review the latest commits for platform filtering, WSL row visibility, stale search targets, and missing validation.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-01T22:22:59.190158Z dde319e Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 1, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: ae0214582a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ae0214582a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +103 to +105
useEffect(() => {
setActiveResultIndex((index) => Math.min(index, Math.max(results.length - 1, 0)));
}, [results.length]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the selected result when WSL visibility changes

When the asynchronous WSL query inserts or removes its search item, clamping only the numeric index can silently select a different setting. For example, with the broad query e, if “Archived threads” is selected while WSL is absent, inserting “WSL backend” immediately before it leaves the index unchanged but makes WSL active, so pressing Enter opens the wrong setting. Preserve the active result by ID or reset the selection when result identities or ordering change.

Useful? React with 👍 / 👎.

@Zain-Repo

Copy link
Copy Markdown
Owner Author

Addressed the failed CI typecheck by restoring the existing AdvertisedEndpoint type import required by the merged endpoint helpers. Please review the new head.

@Zain-Repo

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: dde319e278

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Zain-Repo
Zain-Repo merged commit b9412df into main Sep 1, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants