adobe / adobe/da-live

[EW] Validate image size limits client-side before upload in EW

Open
#1,127 0 comments 0 reactions 0 assignees Claimed by @dicagno View on GitHub
ew
Dominant language
JavaScript
Stars
34
Forks
71
Avg merge
2d 13h
Merged PRs (30d)
31

Description

Currently, oversized images are not validated until publish time, causing a publish error with no early warning. The image size limit should be checked client-side on drop/upload so that users receive immediate feedback instead of discovering the issue only at publish.

Background: Helix has defined image size limits. These limits can be exposed via the Sidekick config in the Admin API, making them accessible to EW. (XWalk already has this check as well, DA does not)

Source: https://jira.corp.adobe.com/browse/SITES-46294

Contributor guide

Open the contributing guide

Research direction

Start by tracing EW’s image drop/upload handling and how Sidekick configuration from the Admin API is consumed. Verify how Helix image-size limits are represented and compare the existing XWalk check. Done when oversized images receive immediate feedback on drop/upload instead of being discovered only at publish time.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.