Skip to content

🎨 Palette: Add interactive "Pro Tips" to search interface#225

Merged
AhmmedSamier merged 3 commits intomasterfrom
palette-pro-tips-13715851749417294704
Feb 25, 2026
Merged

🎨 Palette: Add interactive "Pro Tips" to search interface#225
AhmmedSamier merged 3 commits intomasterfrom
palette-pro-tips-13715851749417294704

Conversation

@AhmmedSamier
Copy link
Owner

This PR adds a delightful "Pro Tip" feature to the DeepLens search interface.

What:

  • A "Pro Tip" item is displayed at the bottom of the "Welcome" (empty state) and "Recent History" lists.
  • The tip displays a random helpful hint about DeepLens features (e.g., using # for symbols or /m for modified files).
  • The item is interactive: selecting it (clicking or pressing Enter) cycles to the next tip without closing the search window.

Why:

  • Many users may not be aware of the powerful slash commands and shortcuts available in DeepLens.
  • This feature provides a non-intrusive, "just-in-time" learning mechanism.
  • It adds a touch of personality and polish ("Palette's Philosophy").

Accessibility:

  • The item uses standard VS Code QuickPickItem structure.
  • It has a clear label ($(light-bulb) Pro Tip: ...) and description.
  • It is keyboard accessible (focusable and actionable).

Testing:

  • Verified with static analysis (tsc, eslint).
  • Verified build process (bun run compile).
  • Note: Integration tests were skipped due to environment limitations (no display for VS Code UI tests), but the logic is isolated and safe.

PR created automatically by Jules for task 13715851749417294704 started by @AhmmedSamier

Introduces a "Pro Tip" feature that displays helpful usage hints (e.g., search shortcuts) in the search interface when no results are found or in the history view. Users can cycle through tips by selecting the item.

- Adds `PRO_TIPS` constant with 7 initial tips
- Implements `getProTipItem` and `cycleProTip` methods
- Integrates tips into `getWelcomeItems` and `showRecentHistory`
- Handles tip cycling via `command:next-tip` ID
- Improves discoverability of advanced search features like `/m` (modified) and `/t` (types)

Co-authored-by: AhmmedSamier <17784876+AhmmedSamier@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

AhmmedSamier and others added 2 commits February 25, 2026 22:57
Introduces a "Pro Tip" feature that displays helpful usage hints (e.g., search shortcuts) in the search interface when no results are found or in the history view. Users can cycle through tips by selecting the item.

- Adds `PRO_TIPS` constant with 7 initial tips
- Implements `getProTipItem` and `cycleProTip` methods
- Integrates tips into `getWelcomeItems` and `showRecentHistory`
- Handles tip cycling via `command:next-tip` ID
- Improves discoverability of advanced search features like `/m` (modified) and `/t` (types)
- Fixes CI failure by ensuring consistent property naming.

Co-authored-by: AhmmedSamier <17784876+AhmmedSamier@users.noreply.github.com>
@AhmmedSamier AhmmedSamier merged commit 6ca1401 into master Feb 25, 2026
1 check passed
@AhmmedSamier AhmmedSamier deleted the palette-pro-tips-13715851749417294704 branch February 25, 2026 21:11
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