Skip to content

🤖 feat: add symbol-shortcut tip to placeholder carousel#3440

Open
ammar-agent wants to merge 2 commits into
mainfrom
tips-carousel-wvgn
Open

🤖 feat: add symbol-shortcut tip to placeholder carousel#3440
ammar-agent wants to merge 2 commits into
mainfrom
tips-carousel-wvgn

Conversation

@ammar-agent
Copy link
Copy Markdown
Collaborator

@ammar-agent ammar-agent commented Jun 2, 2026

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

  • Append a tip: 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 /orchestrate for Storybook/Chromatic snapshot stability.
  • Updated the module doc comment in placeholderTips.ts to 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

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.
@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

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

ℹ️ 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".

@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ 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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant