react-component / react-component/upload
How to update the progress bar / success
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 323
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
Hi.
I am using customRequest + transformFile to handle an uploaded XLS file, without any server processing.
How do I update the progress bar and set the status of the upload as being complete?
The docs are not clear on this. I would like to do something like this:
customRequest(req) {
let array = [1,2,3,4,5]
array.map((a, index) => {
doSomethingWith(a)
updateProgressTo({ percent: index/array.length*100 })
})
}
And also set the status to completed. I am unable to find how this is done.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the customRequest and transformFile documentation and any related upload examples. Determine how client-side XLS processing should report progress and mark the upload complete, then update the documentation so both steps are explicit and verifiable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100