Renée Kooi
1768a82640
statusbar: Account for processing in newFiles prop
...
This will make sure the upload button is also hidden when files are
still processing, but not uploading any bytes.
2018-01-15 12:13:12 +01:00
Artur Boryś
2233deeeb8
Remove uppy--hidden class
...
This commit removes uppy--hidden and makes use of aria-hidden instead
2018-01-04 22:55:57 +01:00
Artur Boryś
5a0ffc3d20
Change StatusBar class
...
This commit changes the class that hides StatusBar after upload finish
2018-01-04 10:25:43 +01:00
Artur Boryś
d8958264a8
Set hideAfterFinish to true by default
2018-01-04 09:56:35 +01:00
Artur Boryś
817e594fee
Add option to hide progress bar after upload finish
2018-01-01 22:35:09 +01:00
Artur Paikin
83d604c859
Merge branch 'master' into feature/meta-result-form
2017-12-21 14:42:04 -05:00
Artur Paikin
578d8ebe31
fix quotes, use custom components instead of functions in some places
2017-12-20 18:33:52 -05:00
Artur Paikin
7d696e6984
use template string
2017-12-20 18:03:42 -05:00
Artur Paikin
8e6694fbc1
Dashboard --> DashboardUI --> Dashboard
2017-12-20 00:32:37 -05:00
Artur Paikin
276e730a85
🚨 convert all remaining hyperx strings to JSX
...
things might be broken! tested to the best of my abilities, fixed multiple issues on the way
2017-12-20 00:11:30 -05:00
Artur Paikin
b062ba4236
Update html to use hyperx; use Component where lifecycle needed, refs;
...
also fix bugs here and there
2017-12-12 23:32:09 -05:00
Artur Paikin
ed9aa1a537
🚨 this.core to this.uppy everywhere
...
danger again
2017-12-08 17:34:33 -05:00
Artur Paikin
6f510f4679
Merge branch 'master' into chore/refactors
2017-12-07 17:03:55 -05:00
Artur Paikin
b132041229
use inline conditional attribute
2017-12-05 14:52:41 -05:00
Artur Paikin
a833784872
remove valuemin/valuemax from ProgressBarProcessing, keep it on the parent
2017-12-04 21:22:28 -05:00
Artur Paikin
72da793099
only add aria-valuenow if progressMode === 'determinate'
2017-12-04 21:04:04 -05:00
Artur Paikin
a26c2e4dd5
add hideUploadButton option to StatusBar, pass the option from Dashboard
2017-12-02 20:46:11 -05:00
Artur Paikin
1bd1e410d9
move plugins/Plugin.js to core/Plugin.js
...
to better separate concerns and later split into packages
2017-11-27 22:03:38 -05:00
Artur Paikin
2b1b2d6949
StatusBar refinements: move Upload button here, show upload + 1 when in progress, retry button (with Alex’s suggestions and mockups)
2017-11-27 10:11:01 -05:00
Artur Paikin
cb6c1aeff0
add this.opts.id || [name] to this.id for all UI plugins
2017-11-10 20:15:59 -05:00
Artur Paikin
84a3f8cebe
Large refactor: move pauseAll, resumeAll, retryAll to Core
2017-10-02 23:14:49 -04:00
Artur Paikin
0fa1ec4df9
Alter “retry” link
2017-10-02 17:07:33 -04:00
Artur Paikin
67dfcdff16
i18n all the things, error details balloon
2017-09-29 15:35:57 -04:00
Artur Paikin
6b708bbebf
show error StatusBar only when all errored, add isAllErrored, offer retry
2017-09-29 00:42:05 -04:00
Renée Kooi
d330c26813
react: Different way to do React components
...
This is a different approach to React components suggested by @arturi.
Instead of the components adding and removing plugins when mounting and
unmounting, plugins are configured at the start, and the components act
as slots for the plugins to actually mount in. Because all plugins are
still being configured up front here, we don't have to change how the
provider `target:` options work, they can install themselves into eg.
the Dashboard plugin immediately.
The core of this approach is the `UppyWrapper` component, which takes an
Uppy instance and a plugin ID, and mounts the plugin inside itself. The
other components only provide a default plugin ID.
The one change required in Uppy itself for this to work is to the
`mount()` functions: now, `mount()` configures `this.target` on the
plugins. If plugins do not have a `target:` option, they do not mount on
install. Some DOM code also had to be moved into the `mount()` function
for the DragDrop component instead of staying in `install()`, but I
think it makes sense.
(Still have to work out how to make the `DashboardModal` component's
`onRequestClose` option work.)
2017-09-18 14:40:32 +02:00
Artur Paikin
4e808ca3d2
add aria-hidden to all icons for accessibility, remove console.log
2017-09-14 12:01:19 -04:00
Artur Paikin
c77c6a103d
hideModal/showModal --> show/hide, isOpen, DashboardUI --> Dashboard
2017-09-08 15:24:30 -04:00
Artur Paikin
c9077582b8
merge Some refactoring: emitter, informer
2017-07-24 18:25:57 +02:00
Renée Kooi
293991672d
statusbar: Fix progress bar width during determinate processing.
2017-06-23 15:12:58 +02:00
Renée Kooi
c16907b01e
statusbar: Fix reporting determinate processing progress.
2017-06-23 15:12:48 +02:00
Renée Kooi
f7074e3f2e
statusbar: Pull the dashboard status bar into its own plugin.
2017-06-13 14:03:40 +02:00