Skip to content

Comments

chore: snapshots, phoenix controllers and live preview hooks#2693

Merged
abose merged 6 commits intomainfrom
z
Feb 21, 2026
Merged

chore: snapshots, phoenix controllers and live preview hooks#2693
abose merged 6 commits intomainfrom
z

Conversation

@abose
Copy link
Member

@abose abose commented Feb 21, 2026

No description provided.

…review tools

- Add context bar above chat input showing selection/cursor position and
  live preview status as dismissable chips
- Send selected text as context with chat prompts so Claude sees what the
  user is looking at
- Add execJsInLivePreview MCP tool to execute JS in the live preview iframe
- Enrich getEditorState with cursor/selection info and surrounding lines
- Add human-readable labels for MCP tools (Editor state, Screenshot,
  Live Preview JS) instead of raw mcp__ identifiers
- Show captured screenshots inline as collapsible thumbnails
- Guide Claude to prefer specific selectors for screenshots
- Remove maxTurns cap so agent runs to completion
- Namespace all event listeners with .off before .on to prevent leaks
…trolEditor

- Render TodoWrite tool as a visual task list with status icons (completed,
  in-progress, pending) that auto-expands and is collapsible
- Show elapsed time counter on long-running tools after 2s of inactivity
- Change controlEditor MCP tool to accept an operations array for batch
  file open/close/navigate actions in a single call
- Wire controlEditor through to browser-side with full operation support
- Add corresponding i18n strings and LESS styles
Reading editor selection data (getSelection/getSelectedText) from both
activeEditorChange and cursorActivity handlers during inline editor
operations interferes with the inline editor's cursor position tracking.

Guard _updateSelectionChip and _updateLivePreviewChip with an AI tab
visibility check, and refresh when the tab becomes active. Also pass the
editor instance directly from event handlers to avoid redundant
getActiveEditor() calls.
…ency

Add sidebar-scoped font-size variables to brackets_variables.less and
replace all hardcoded pixel values in the AI chat panel. Bumps sizes by
1px across the board to align with the file tree and other sidebar UI.
Tables now use display:block with overflow-x:auto so wide tables scroll
horizontally instead of crushing columns. Cells use white-space:nowrap
to prevent character-level wrapping. Color hex codes in assistant
messages are post-processed into inline swatches showing the actual
color next to the code.
@sonarqubecloud
Copy link

@abose abose merged commit fe3263b into main Feb 21, 2026
18 of 21 checks passed
@abose abose deleted the z branch February 21, 2026 19:00
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