Skip to content

Add image file picker for project icons#461

Merged
BunsDev merged 1 commit intomainfrom
okcode/project-image-upload
Apr 18, 2026
Merged

Add image file picker for project icons#461
BunsDev merged 1 commit intomainfrom
okcode/project-image-upload

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 17, 2026

Summary

  • Add a reusable project icon file-picker hook that reads selected images as data URLs.
  • Wire the picker into both the project icon editor dialog and project settings so users can upload local image files.
  • Update icon URL resolution to handle data: URLs directly and trim icon paths before rendering.
  • Extract file-reading logic into a shared helper and add coverage for data URL handling.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated unit coverage for project icon URL resolution and browser coverage for the file picker flow

- Allow choosing local image files for project icons
- Preserve data URLs in icon resolution and reuse file reading helper
- Trim icon paths before resolving URLs
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 17, 2026 4:13pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 17, 2026 4:13pm

@github-actions github-actions bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 17, 2026
@BunsDev BunsDev merged commit 4bd7fcd into main Apr 18, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant