Draft
Conversation
Copilot
AI
changed the title
[WIP] Add demo mode tooltips back to UI
Restore demo mode tooltips after UI redesign
Feb 20, 2026
Copilot
AI
changed the title
Restore demo mode tooltips after UI redesign
Restore demo mode tooltips and rename store pages to match current UI modes
Feb 20, 2026
Copilot
AI
changed the title
Restore demo mode tooltips and rename store pages to match current UI modes
Restore demo mode tooltips and align all naming to current UI mode names
Feb 21, 2026
Copilot
AI
changed the title
Restore demo mode tooltips and align all naming to current UI mode names
Restore demo mode tooltips with correct UI mode naming and window-size-independent positioning
Feb 21, 2026
Copilot
AI
changed the title
Restore demo mode tooltips with correct UI mode naming and window-size-independent positioning
Restore demo mode tooltips with correct mode-based naming and adaptive positioning
Feb 21, 2026
94e87ab to
a8bb311
Compare
Copilot
AI
changed the title
Restore demo mode tooltips with correct mode-based naming and adaptive positioning
Restore demo mode tooltips with correct naming, translated strings, and extracted component
Feb 21, 2026
Copilot
AI
changed the title
Restore demo mode tooltips with correct naming, translated strings, and extracted component
Restore demo mode tooltips: mode-based naming, per-button anchoring, i18n, extracted component
Feb 21, 2026
Co-authored-by: tnglemongrass <113173292+tnglemongrass@users.noreply.github.com>
Co-authored-by: tnglemongrass <113173292+tnglemongrass@users.noreply.github.com>
Co-authored-by: tnglemongrass <113173292+tnglemongrass@users.noreply.github.com>
72309f5 to
1353f95
Compare
b210dd0 to
c4673fc
Compare
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.
Description:
Demo mode tooltips were lost during the UI redesign that replaced the tab-based layout (
Create/Enhance/Answercomponents) with a mode-based layout (chat/imageGen/imageEdit/video). Restores them fully: correct store naming, complete i18n coverage, Video mode support, and a dedicated component with window-size-independent per-button tooltip positioning.Related Issue:
Demo mode tooltips (low prio)
Changes Made:
demoMode.ts/env.d.ts— Store pages renamed to match current modes (answer→chat,create→imageGen,enhance→imageEdit);videopage added;DemoModePage = 'chat' | 'imageGen' | 'imageEdit' | 'video';imageEdit.showis the uniform overlay-visibility flag (consistent with other modes; sub-feature flagsshowPrompt/showUpscale/etc. unchanged);escapeDemoand visibility watcher cover all four modesi18n (all 13 files) — All
DEMO_ANSWER_*/DEMO_CREATE_*/DEMO_ENHANCE_*keys renamed;DEMO_IMAGE_GEN_CENTER_CONTENT → DEMO_IMAGE_GEN_HEADING;DEMO_VIDEO_HEADING+DEMO_VIDEO_TOOLTIP_TEXTadded and translated in every language; stale "Answer Tab" → "Chat mode" fixed in non-English filesDemoModeOverlay.vue(new component, extracted fromApp.vue) — Tooltip anchored to the specific active mode button viaid="mode-button-{mode}"+getBoundingClientRect(); centered over its button, clamped to viewport; arrow tip tracks button centre via CSS custom property--arrow-left; position recomputed onactiveModechange and windowresize; named JS constants (TOOLTIP_WIDTH,TOOLTIP_GAP,ARROW_HEIGHT, …) kept in sync with CSS values;.tooltip-boxauto-sizes to content (no fixed height)demo-mode.css—.demo-mode-answer-overlay → .demo-mode-overlay;height: 225pxremoved;::after/::beforearrowleftusesvar(--arrow-left, 40px)App.vue— Inline 70-line overlay block replaced with<DemoModeOverlay />; "Need Help?" button shown only when demo mode is enabled;triggerHelpForCurrentMode()covers all four modes; watchers fire on mode-switch and app startupPromptArea.vue—id="mode-button-{mode}"on each button for JS anchoring;demo-mode-overlay-contentoutline applied to the highlighted mode button only;isDemoModeHighlighted()usesimageEdit.showconsistentlySettingsChat.vue—demoMode.answer.show → demoMode.chat.showTesting Done:
ESLint,
vue-tsc --noEmit, and Vitest unit tests pass. Overlay verified to render per mode whenisDemoModeEnabled: trueinsettings.json; tooltip position and arrow tip confirmed to track each of the four mode buttons independently.Screenshots:
N/A — only active when demo mode is explicitly enabled via
settings.json.Checklist:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.