* fix: pass maxFileSizeBytes to child components in FileUploader
FileUploader had a 100MB default for maxFileSizeBytes but wasn't passing
it to FileDropzone and FileUpload child components. This caused the
validateFile function's 10MB default to be used instead.
Changes:
- Pass maxFileSizeBytes to FileDropzone in multi-file mode
- Pass maxFileSizeBytes to FileUpload in single-file mode
- Update validateFile and createFileTypeValidator defaults from 10MB to
100MB for consistency
Slack thread: https://llama-index.slack.com/archives/C078MCV1VF1/p1770406441562149?thread_ts=1770402394.899169&cid=C078MCV1VF1https://claude.ai/code/session_01PkeX39guEDiA4s18Co23mD
* Update default max file size to 100MB
Increase the default maximum file size limit to 100MB and ensure this change is reflected in all relevant components.
---------
Co-authored-by: Claude <noreply@anthropic.com>
* Add configurable purpose prop to file upload components
The file upload previously hardcoded purpose as "user_data". This adds
a configurable `purpose` prop (defaulting to "user_data") that supports
all valid API values
* fix: allow Enter key to submit form after file is selected in upload modal
Previously, pressing Enter in the file dropzone would always reopen
the file picker dialog. Now, Enter only opens the file picker when
no file is selected; when a file is already selected, Enter allows
the form submission to proceed.
* fix(ui): increase asyncUtilTimeout to handle CI timing variability
The sorting test in use-item-grid-data.test.ts was failing in CI
because it took 3047ms, just exceeding the 3000ms asyncUtilTimeout.
Increased timeout to 10000ms to provide sufficient buffer for CI
environment variability.
https://claude.ai/code/session_01QXRxBfHcreqggj64rMtBkt
* fix(ui): increase vitest testTimeout for CI environment variability
The use-item-grid-data tests were timing out in CI due to the default
5000ms test timeout. Increased testTimeout to 30000ms for unit tests
to handle CI environment variability.
https://claude.ai/code/session_01QXRxBfHcreqggj64rMtBkt
---------
Co-authored-by: Claude <noreply@anthropic.com>