Skip to content

Feat/fix local image export - #326

Merged
anurag629 merged 2 commits into
codercops:devfrom
srikar-naidu:feat/fix-local-image-export
Oct 30, 2026
Merged

anurag629 merged 2 commits into
codercops:devfrom
srikar-naidu:feat/fix-local-image-export

Conversation

@srikar-naidu

Copy link
Copy Markdown
Collaborator

Description

Fixed local image uploads so they no longer create unusably large API URLs. Download PNG now converts the browser-rendered preview SVG directly to a PNG when a local image is used. Copy Image URL and Copy Meta Tags show a warning instead of copying URLs containing base64 image data.

Closes #324

How I Tested This

  • Ran npm run check — passed with 0 errors.
  • Ran focused export utility tests — 2 passed.
  • Ran npm run test — 1226 tests passed; one unrelated existing agenda.test.ts timeout occurred.
  • Verified local image detection and shareable URL warnings.
  • Tested the editor export flow locally with npm run dev.

AI Assistance

AI was used for implementation guidance, code changes, testing, and debugging.

Type of Change

  • Bug fix
  • New template
  • New feature
  • Documentation
  • Tests
  • Refactoring
  • Performance improvement
  • Other

Screenshots

Not applicable. This fix changes export and copy behavior rather than the visual template layout.

Checklist

@srikar-naidu
srikar-naidu force-pushed the feat/fix-local-image-export branch from 5cb2c4d to 7286613 Compare October 30, 2026 16:12
@anurag629 anurag629 added the hacktoberfest-accepted PR counts for Hacktoberfest label Oct 30, 2026
@anurag629
anurag629 merged commit 4f4e5ca into codercops:dev Oct 30, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted PR counts for Hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Local image uploads make Download PNG and copied API URLs unusable

2 participants