Skip to content

Conversation

@xl-openai
Copy link
Collaborator

No description provided.

@xl-openai xl-openai changed the title don't open skills popup when cursor is at '$' suppress popups while browsing input history Jan 6, 2026
@xl-openai
Copy link
Collaborator Author

@codex review again

Copy link
Contributor

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

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: fe605a2e96

ℹ️ 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 +1658 to +1660
if browsing_history {
self.active_popup = ActivePopup::None;
return;
Copy link
Contributor

Choose a reason for hiding this comment

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

P2 Badge Reset dismissed tokens when skipping popups for history

should_handle_navigation returns true for empty text whenever any history exists, so this early return runs even after the user clears the composer (not just while actively pressing Up/Down). That bypasses the later dismissed_*_popup_token = None resets, meaning a popup dismissed with Esc can stay suppressed forever for the same query: clear input → type the same @.../$... again → popup never reopens because the dismissal was never cleared. Consider clearing dismissed tokens before returning, or keying the guard off an active history cursor instead of empty text.

Useful? React with 👍 / 👎.

@xl-openai xl-openai merged commit 4ce9d0a into main Jan 6, 2026
45 of 47 checks passed
@xl-openai xl-openai deleted the xl/skills branch January 6, 2026 19:13
@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants