Skip to content

fix: don't optimize image uploads by default#556

Merged
ruchamahabal merged 1 commit intofrappe:developfrom
ruchamahabal:fix-image
Feb 18, 2026
Merged

fix: don't optimize image uploads by default#556
ruchamahabal merged 1 commit intofrappe:developfrom
ruchamahabal:fix-image

Conversation

@ruchamahabal
Copy link
Member

@ruchamahabal ruchamahabal commented Feb 18, 2026

Leads to low quality images in docs

Wiki can have a feature to convert images to webp later instead of relying on this

Summary by CodeRabbit

  • Bug Fixes
    • Updated file upload behavior for images to use default optimization settings instead of custom configuration.

@coderabbitai
Copy link

coderabbitai bot commented Feb 18, 2026

No actionable comments were generated in the recent review. 🎉


Walkthrough

The change removes the optimize: isImage option from a file upload call in WikiEditor.vue. This simplifies the upload configuration by relying on default optimization behavior instead of explicitly setting the option. No method signatures, variable names, or public APIs are affected. This is a minor configuration adjustment to the file uploader behavior.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: removing image optimization from the upload call.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ruchamahabal ruchamahabal merged commit 618a1d6 into frappe:develop Feb 18, 2026
4 checks passed
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