Repository navigation
Conversation
ibutakova
requested review from
nineteen88
and
a balanced review from Copilot
November 19, 2026 20:21
There was a problem hiding this comment.
🟡 Changes recommended
The story overrides the error and uploadStatus controls and exposes a multiple option that its single-file handler and state do not support.
2 open issues
1 file not reviewed
skills/carbon-react/components/file-input.md: Excluded by your content exclusion settings
What changed in this PR
This PR updates File Input’s Storybook documentation to support Controls and make upload-status migration guidance easier to find and follow.
Changes:
- Converts the default story to an args-based object and updates its story type.
- Adds status-specific callback mappings and before/after migration examples.
- Clarifies Preview behavior and deletion differences between single-file and multiple-file modes.
| File | Description |
|---|---|
src/components/file-input/file-input.stories.tsx |
Converts the default story to an args-driven render configuration. |
src/components/file-input/file-input.mdx |
Expands migration guidance and adds a contents link. |
Review effort: Balanced
…us migration guidance
ibutakova
force-pushed
the
FE-7878-file-input-docs-fix
branch
from
November 19, 2026 20:38
2517366 to
27d436d
Compare
kaitlyn-owen
self-requested a review
December 1, 2026 13:43
kaitlyn-owen
reviewed
Dec 1, 2026
kaitlyn-owen
self-requested a review
December 2, 2026 13:35
kaitlyn-owen
previously approved these changes
Dec 2, 2026
ibutakova
dismissed stale reviews from nineteen88 and kaitlyn-owen
via
December 4, 2026 13:31
16908c8
nineteen88
approved these changes
Dec 4, 2026
nineteen88
left a comment
Contributor
There was a problem hiding this comment.
Thanks for addressing those Iryna. Good work!
kaitlyn-owen
approved these changes
Dec 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed behaviour
File Input docs auto-generate ArgTypes/Controls correctly in Storybook docs, and migration guidance for uploadStatus entries is clearer and more actionable (status-to-callback mapping, before/after examples, and explicit single vs multiple delete behaviour).
Current behaviour
ArgTypes/Controls inference fails on the File Input docs entry and we do not see migration guide.
Checklist
d.tsfile added or updated if requiredQA
Additional context
Testing instructions