fix(web): improve community image preview and thumbnail consistency#475
fix(web): improve community image preview and thumbnail consistency#475
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
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. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 152970cb96
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| const file = event.target.files?.[0] ?? null; | ||
| setSelectedImage(file); |
There was a problem hiding this comment.
Preserve multi-image uploads in community post forms
This change silently removes multi-image upload support by taking only files?.[0] and no longer using a multi-file input, so users who select multiple images now upload just one without warning; the same regression appears in both create and modify forms (apps/web/src/app/community/[boardCode]/create/PostForm.tsx and .../[postId]/modify/PostModifyForm.tsx). That is a functional downgrade because post detail rendering still supports multiple images (PostImage branches on images.length and maps all images in apps/web/src/app/community/[boardCode]/[postId]/Content.tsx).
Useful? React with 👍 / 👎.
Summary
Validation