You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
feat(image): add defaultImageQuality config to website mod.ts (#1585)
* feat(image): add defaultImageQuality config to website mod.ts
Allow sites to configure a default image quality (low/medium/high/original)
from the website app settings, applied as fallback when components don't
set an explicit quality prop.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat(image): remove "original" from defaultImageQuality and fallback quality from src URL
- Add DefaultQualityOptions type excluding "original" for the default config
- Extract quality param from originalSrc URL as fallback when not set via prop
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix(image): prevent URL crash on relative paths and remove unused FeatureFlags field
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Update website/components/Image.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update Image.tsx
* docs(image): clarify quality types and context purpose
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Dex <fernandofrizzatti@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
0 commit comments