Skip to content

update pro deps#2878

Merged
abose merged 9 commits intomainfrom
ai
May 1, 2026
Merged

update pro deps#2878
abose merged 9 commits intomainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented Apr 30, 2026

No description provided.

abose added 3 commits May 1, 2026 16:32
Used as the tooltip on the AI live preview inspection banner now that
the whole banner is clickable to dismiss.
Adds .ai-onboarding-prompt-images thumbnail row styling used by the
onboarding review overlay when the iframe sends reference images
alongside a userPrompt.
abose added 6 commits May 1, 2026 16:32
Adds two pieces of instrumentation/UX to the onboarding tour:

- Per-step click metrics. Every step's highlighted target now has a
  one-shot capture-phase listener that fires stepN_clicked when the
  user actually clicks the ripple target during the overlay session.
  Detaches automatically on first click, on step transitions, and on
  teardown so we never double-count.

- Step 2 AI-panel auto-peek. When step 2 begins, briefly switch the
  sidebar to the AI tab for 2 seconds and then revert to whatever tab
  the user was on. Throttled and cleaned up on transitions/teardown so
  the sidebar can't get stranded on AI if the tour ends mid-peek.
Adds src/view/VideoPlayer.js — small AMD module exporting createPlayer
that returns a jQuery-wrapped <video> with sensible defaults (controls
on, muted, playsinline, preload=metadata) and overridable flags. Built
to back AI-panel onboarding's new embedded-video surface and any future
inline-video usage without each caller re-deriving the same defaults.

Also extends Extn-AIChatPanel.less with .ai-intro-video-player so the
embedded <video> matches the existing thumbnail's 16:9, 320px max,
rounded-corner envelope. Layout stays identical regardless of which
mode (thumbnail-link vs embedded) the config picks.
Adds a fullscreen-overlay entry point to view/VideoPlayer alongside the
existing inline createPlayer:

  VideoPlayer.renderFullScreenPlayer(srcElement, { src, poster, ... })

Opens a viewport-covering overlay with a large autoplaying player that
expands out of `srcElement` (Mac-dock-genie style via FLIP transform)
and contracts back to it on close. Click on the dimmed backdrop, the
close (×) button, or pressing Escape closes the overlay; clicks on the
video itself stay live so the user can scrub / unmute / fullscreen
without dismissing.

Stylesheet lives in src/styles/VideoPlayer.less (imported from
brackets.less) instead of being injected from JS — same place every
other view module's styles live. The AI panel's old in-place
.ai-video-lightbox rules are removed since the AI panel now just calls
renderFullScreenPlayer.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

@abose abose merged commit 23fd2e7 into main May 1, 2026
13 of 21 checks passed
@abose abose deleted the ai branch May 1, 2026 14:35
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.

2 participants