Skip to content

feat(build): allow to download mask#2084

Merged
gregberge merged 1 commit intomainfrom
greg/arg-286-allow-to-download-the-mask
Mar 31, 2026
Merged

feat(build): allow to download mask#2084
gregberge merged 1 commit intomainfrom
greg/arg-286-allow-to-download-the-mask

Conversation

@gregberge
Copy link
Copy Markdown
Member

@gregberge gregberge commented Mar 31, 2026

CleanShot 2026-03-31 at 12 18 29@2x

Copilot AI review requested due to automatic review settings March 31, 2026 10:12
@linear
Copy link
Copy Markdown

linear bot commented Mar 31, 2026

@argos-ci
Copy link
Copy Markdown

argos-ci bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected - Mar 31, 2026, 10:23 AM

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds UI support in the Build diff detail view to download the mask image (and a composited “change with mask” image), adjusting zoom pane controls visibility so controls remain visible while the download menu is open.

Changes:

  • Replace the single “download compare screenshot” action with a menu offering: download change, download mask, and download change with mask (canvas compositing).
  • Introduce shared download helpers (fetchBlob, downloadBlob) plus canvas-based mask compositing helpers.
  • Keep zoom-pane controls visible when a menu button inside the pane is expanded (aria-expanded=true).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
apps/frontend/src/containers/Build/Zoomer.tsx Keep zoom controls visible while an internal menu trigger is expanded.
apps/frontend/src/containers/Build/BuildDiffDetail.tsx Add download menu options for mask + composited masked image; add blob/canvas helper functions and toast feedback.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gregberge gregberge force-pushed the greg/arg-286-allow-to-download-the-mask branch from 00fb949 to 37a8996 Compare March 31, 2026 10:18
@gregberge gregberge requested a review from jsfez March 31, 2026 10:19
@gregberge gregberge force-pushed the greg/arg-286-allow-to-download-the-mask branch from 37a8996 to 2844283 Compare March 31, 2026 10:19
@gregberge gregberge merged commit 514412f into main Mar 31, 2026
8 checks passed
@gregberge gregberge deleted the greg/arg-286-allow-to-download-the-mask branch March 31, 2026 15:01
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