🤖 feat: add symbol-shortcut tip to placeholder carousel#3440
Open
ammar-agent wants to merge 2 commits into
Open
🤖 feat: add symbol-shortcut tip to placeholder carousel#3440ammar-agent wants to merge 2 commits into
ammar-agent wants to merge 2 commits into
Conversation
Surface the backslash symbol shortcut feature in the ChatInput placeholder tips carousel, and generalize the tip invariant (doc comment + test) to accept backslash shortcuts in addition to slash commands.
Collaborator
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Collaborator
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. You're on a roll. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
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.
Summary
Adds one new tip to the ChatInput placeholder tips carousel that surfaces the backslash symbol shortcuts feature (
\alpha→ α,\sum→ ∑).Background
The placeholder tips carousel rotates a curated list of input tricks through the "Type a message…" placeholder so users passively discover features they might not know about. Until now every tip pointed at a slash command. The recently merged backslash symbol-shortcut feature (#3436) is an always-on, ungated input feature but had no discovery surface in the carousel.
Implementation
Try \alpha or \sum to insert LaTeX-style symbols like α and ∑ as you type. It's added at the end of the list, not index 0, because slot 0 is intentionally pinned to/orchestratefor Storybook/Chromatic snapshot stability.placeholderTips.tsto note that tips may surface a slash command or a backslash symbol shortcut (both always-on input features).Validation
bun test placeholderTips.test.ts— all tests pass.make static-check— green (eslint, tsgo typecheck, prettier, docs link checks).Risks
Minimal. Copy-only change to a discovery surface; no runtime behavior change to the symbol-shortcut feature itself.
Generated with
mux• Model:anthropic:claude-opus-4-8• Thinking:xhigh• Cost:$1.12