Skip to content

Conversation

@gabrielseco
Copy link
Collaborator

This PR fixes issues with file upload functionality by increasing the JSON request size limit and improving button type declaration in the file uploader component.

Found this while trying to debug issues reported by users

Changes

  • Server configuration: Increased express.json() limit from default (100kb) to 50mb in both API server and dev server to support larger file uploads
  • File uploader component: Added explicit type='button' attribute to the remove file button to prevent unintended form submission behavior

@gabrielseco gabrielseco marked this pull request as ready for review December 24, 2025 10:19
@github-actions
Copy link
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 172.04 kB 172.04 kB -1 B (-0.0%) 🟢
Total (raw) 455.41 kB 455.4 kB +14 B (+0.0%) 🔴
CSS (gzip) 16.46 kB 16.46 kB 0 B (0%) 🟢
CSS (raw) 89.35 kB 89.35 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 172.04 kB / 180 kB (95.6%)
  • ✅ Total raw: 455.41 kB / 500 kB (91.1%)
  • ✅ CSS gzipped: 16.46 kB / 25 kB (65.8%)

Largest Files (Top 5)

  1. chunk-CR7AIZKA.js - 12.37 kB (0 B (0%))
  2. styles.css - 8.23 kB (0 B (0%))
  3. index.css - 8.23 kB (0 B (0%))
  4. index.js - 5.6 kB (+2 B (+0.0%))
  5. chunk-T6Q7IALZ.js - 5.25 kB (0 B (0%))
View All Files (267 total)
File Size (gzip) Change
chunk-CR7AIZKA.js 12.37 kB 0 B (0%)
styles.css 8.23 kB 0 B (0%)
index.css 8.23 kB 0 B (0%)
index.js 5.6 kB +2 B (+0.0%)
chunk-T6Q7IALZ.js 5.25 kB 0 B (0%)
chunk-WAG67DRI.js 4.07 kB 0 B (0%)
chunk-542BRW6S.js 3.26 kB new
chunk-TB2AHCII.js 3.26 kB 0 B (0%)
chunk-NIHM3L6R.js 3.21 kB 0 B (0%)
chunk-HRG5MSVG.js 3.2 kB 0 B (0%)

✅ Bundle size check passed

@github-actions
Copy link
Contributor

Deploy preview for remote-flows ready!

✅ Preview
https://remote-flows-gp7vkp5bh-remotecom.vercel.app

Built with commit 83f311f.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

Deploy preview for remote-flows-example-app ready!

✅ Preview
https://remote-flows-example-cory2kbhv-remotecom.vercel.app

Built with commit 83f311f.
This pull request is being automatically deployed with vercel-action

@github-actions
Copy link
Contributor

npm warn exec The following package was not found and will be installed: [email protected]

📊 Coverage Report

⚪ Coverage unchanged

Metric Current Previous Change Status
Lines 87.28% 87.28% 0%
Statements 86.92% 86.92% 0%
Functions 83.26% 83.26% 0%
Branches 78.37% 78.37% 0%

Detailed Breakdown

Lines Coverage
  • Covered: 2739 / 3138
  • Coverage: 87.28%
  • Change: 0% (0 lines)
Statements Coverage
  • Covered: 2791 / 3211
  • Coverage: 86.92%
  • Change: 0% (0 statements)
Functions Coverage
  • Covered: 786 / 944
  • Coverage: 83.26%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 1736 / 2215
  • Coverage: 78.37%
  • Change: 0% (0 branches)

✅ Coverage check 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.

2 participants