Skip to content

feat(extension): improve image attachments, screenshot quality, and chat workflow#31

Merged
BOTOOM merged 6 commits intomasterfrom
feat/extension-improvements-quickactions
Feb 27, 2026
Merged

feat(extension): improve image attachments, screenshot quality, and chat workflow#31
BOTOOM merged 6 commits intomasterfrom
feat/extension-improvements-quickactions

Conversation

@BOTOOM
Copy link
Owner

@BOTOOM BOTOOM commented Feb 27, 2026

Summary

This PR focuses on a significant overhaul of the image handling and screenshot capabilities within the extension. It introduces a more robust "pre-upload" workflow, improves the visual quality of captured content, and streamlines the user interface for a better context-aware chat experience.

Key Changes

📸 Screenshot & Context Improvements

  • Quality Enhancement: Increased the JPEG compression quality from 70% to 90% for visible tab captures to ensure text remains legible in shared images.
  • Simplified Workflow: Deprecated the "Full Page" screenshot mode due to stitching and quality issues, focusing on high-quality viewport captures that are more reliable and performant.
  • Context-Aware Refinements: Updated the context extraction logic to better handle page metadata and link references.

📤 Optimized Image Upload Workflow

  • Pre-upload Architecture: Replaced the previous base64-in-prompt method with a parallel pre-upload system. Images are now sent to the backend individually to avoid large payload limits and performance bottlenecks.
  • Efficient Referencing: The chat service now sends lightweight image references instead of raw data, significantly reducing latency during message streaming.

🎨 UI/UX Enhancements

  • Image Attachment Zone: Redesigned the attachment area with better status indicators for capturing, uploading, and error states.
  • Chat & Bubbles: Improved the MessageBubble and ChatView to handle multiple image sources (paste, drag & drop, screenshot) with clear visual feedback and better error reporting.
  • Sidepanel Sync: Updated the SidePanel and various entrypoints to support the new asynchronous image processing flow.

🛠️ Technical Debt & Stability

  • Parallel Processing: Implemented Promise.all logic in the API client for faster multi-image uploads.
  • Robust Error Handling: Added explicit error metadata to assistant messages to provide clear feedback when stream or upload issues occur.

@BOTOOM BOTOOM self-assigned this Feb 27, 2026
@BOTOOM BOTOOM added the enhancement New feature or request label Feb 27, 2026
@vercel
Copy link

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
devmentorai-website-cli Ready Ready Preview, Comment Feb 27, 2026 9:09pm

@BOTOOM BOTOOM merged commit 6b99fd6 into master Feb 27, 2026
4 checks passed
@BOTOOM BOTOOM deleted the feat/extension-improvements-quickactions branch February 27, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant