Skip to content

docs(file-upload): show file names in grid layout - #7472

Open
mateusznarowski wants to merge 2 commits into
nuxt:v4from
mateusznarowski:fix/file-upload-grid-file-name
Open

mateusznarowski wants to merge 2 commits into
nuxt:v4from
mateusznarowski:fix/file-upload-grid-file-name

Conversation

@mateusznarowski

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Related to #6543

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Document how to show file names and sizes in UFileUpload's grid layout by setting ui.fileWrapper to flex. The example uses the default name and size rendering. The #file-name and #file-size slots are available for custom content.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
ui Ready Ready Preview Nov 23, 2026 10:53am UTC
1 Skipped Deployment
Project Deployment Actions Updated
ui-repl Ignored Ignored Preview Nov 23, 2026 10:53am UTC

Request Review

@github-actions github-actions Bot added the v4 #4488 label Nov 23, 2026
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The file upload documentation now explains that grid layout hides file names and sizes by default. It documents how ui.fileWrapper: 'flex' displays them, describes the #file-name and #file-size slots, and adds a Vue example.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: Minimal · up to ec602

This documentation-only change explains how to show file names and sizes in the grid layout of the file upload component. It poses no production risk and is ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the docs change and the feature it covers: documenting how to show file names in the grid layout of UFileUpload. The raw summary and description both confirm the change is a documentat…
Description check Passed The description states the change is a documentation update for showing file names and sizes in the UFileUpload grid layout by setting ui.fileWrapper to flex. It also links related issue #6543 and des…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the docs change and the feature it covers: documenting how to show file names in the grid layout of UFileUpload. The raw summary and description both confirm the change is a documentation update that sets ui.fileWrapper to flex in the grid layout example. The title is specific and matches the main change.

Full details: Description check

Explanation

The description states the change is a documentation update for showing file names and sizes in the UFileUpload grid layout by setting ui.fileWrapper to flex. It also links related issue #6543 and describes the slots for custom content. This matches the changeset described in the raw summary, so the description is related to the change.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b86fc51b-c53c-4290-b630-99f81a0be09e
Commits

Reviewing files that changed from the base of the PR and between 4931b2f and ec60229.

Files selected for processing: 1

  • docs/content/docs/2.components/file-upload.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@codspeed

codspeed Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 41.37%

2 warnings

⚠️ 1 benchmark with a significant change ran on different hardware

Its base and head results were measured on machines with a different CPU, core count or memory, so the change might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚠️ 1 benchmark with a significant change ran in a different software environment

Its base and head results were measured with a different OS or toolchain, such as compiler, runtime or library versions, so the change might come from this difference rather than from the code. Open the benchmark to see what changed.

See affected benchmarks

⚡ 1 improved benchmark
✅ 32 untouched benchmarks
⏩ 10 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ navigation-menu (~31 slots) 1,014 µs 717.2 µs +41.37%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing mateusznarowski:fix/file-upload-grid-file-name (ec60229) with v4 (422d015)

Open in CodSpeed

Footnotes

  1. 10 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@pkg-pr-new

pkg-pr-new Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/@nuxt/ui@7472

commit: ec60229

@benjamincanac benjamincanac changed the title docs(FileUpload): show file names in grid layout docs(file-upload): show file names in grid layout Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview – ui — ec602293 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v4 #4488

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants