Commit graph

22 commits

Author SHA1 Message Date
Artur Paikin
5079d98584
dashboard: 2020 redesign 🍿 (#2015)
* ProviderViews: Improve Instagram’s “video thumbnail”

* Update all provider icons to nicer round ones

* Change “drop files” copy depending on number of acquirers and Dashboard width

* Translator: support multiple components in options

When the source contains multiple placeholders for interpolation, we should ignore chunks that are not strings, because those can be JSX objects and will be otherwise incorrectly turned into strings.

Without this condition we’d get this: [object Object] hello [object Object] my <button>

* Remove unused locale strings

* Rever renderSingleInlineProvider, use Browse button instead of link, tweak styles

* Try “Browse My Device” button

* Introduce “Dark Mode“: new Dashboard option 'theme': 'light', 'dark' or 'auto'

* Refactor to also add uninstall/removeListener for the darkModeMediaQuery; remove all bindings in favor of class properties

* More dark mode styles: Providers, FileCard, tweaking focus, inputs, etc

* My Device: mobile and desktop icons

* add isMobileDevice capability, very simple detection

* More dark mode styles

* refactor

* switch back to single simple my device icon

* chrome 78 for android doesn’t support document.querySelector 👌

* nobr --> span white-space: nowrap

* Major style tweaks for mobile provider list, show dashed borders only when DnD is supported

* Add color after “import from”

just for Russian for now, because I’m thinking if this should be a part of the language string or html? @goto-bus-stop @kvz, what do you think?

* improve isMobileDevice, add tests

* don’t set the isMobileDevice capability in core for now

* add checks for typeof window !== 'undefined', otherwise fails in Node/RN

* update locales

* refactor renderDropFilesSubtitle
2020-03-24 18:05:11 +01:00
ifedapoolarewaju
83ec63efb2
providers: remove redundant use of options 2020-01-31 14:54:13 +01:00
Renée Kooi
d6d4b05425
companion-client: rename serverHeaders to companionHeaders (#1861) 2019-10-09 14:34:52 +02:00
Evgenia Karunus
7ce63fcb7e Accessibility follow-up PR: make all svgs not focusable in IE11 (#1662)
* /examples/dev - added polyfills for easy development in IE11

* @uppy/dashboard - made all svgs not focusable in IE11

* /examples/dev - started sharing serviceWorker registration code

* /examples/dev - added polyfills for IE11 to dev bundle
2019-06-17 17:08:05 +03:00
Renée Kooi
980210f76c
Add VERSION properties to all plugins.
And remove the proposal-object-rest-spread plugin because it is built
into preset-env now.
2019-05-27 16:53:47 +02:00
Ifedapo Olarewaju
f4e558bf94 rename serverUrl to companionUrl
and serverPattern to companionAllowedHosts
2019-04-14 13:53:50 +01:00
Alexander Zaytsev
5668b6c7d7 Update Dropbox icon 2019-04-08 10:51:47 +03:00
Ifedapo Olarewaju
700b557c3b provier-views,companion-client: handle 401 response for companion 2019-03-28 01:42:46 +01:00
Ifedapo Olarewaju
8cf0455c31 companion-client: store auth token via plugins 2019-02-20 08:28:28 +01:00
Ifedapo Olarewaju
eabf6f6576 companion-client: use platform agnositc storage to store auth token 2019-02-10 13:05:42 +01:00
Renée Kooi
66de14cacc
Store Provider instances on this.provider instead of this[this.id]. 2018-11-26 15:01:33 +01:00
Ifedapo Olarewaju
1b59a6f4fb refactor: migrate provide data formatting to backend 2018-10-08 13:40:58 +01:00
Artur Paikin
c3a1be2c62
Merge branch 'master' into feature/dashboard-ui-notabs 2018-07-27 22:50:35 -04:00
Artur Paikin
99a4c724ca refactor provider icons: move icons to provider-views from providers themselves
//cc @ifedapoolarewaju not saying this is the most optimal solution, but I wanted to move towards “pure data” in provder plugins
2018-07-27 22:38:41 -04:00
Artur Paikin
66a7457c52 Allow setting custom names for plugins
Closes #920
2018-07-26 02:04:40 -04:00
Ifedapo Olarewaju
f2ee127e81 rename 'server-utils' to 'companion-client' 2018-07-22 18:53:57 +01:00
Ifedapo Olarewaju
c6ba46d6e2 refactor: use plugin id in error message 2018-07-14 09:17:05 +01:00
Ifedapo Olarewaju
ef95ef2441 refactor: allow Array, RegExp, and String for serverPattern 2018-07-01 12:43:40 +01:00
Ifedapo .A. Olarewaju
561e290926
Merge pull request #925 from transloadit/customheaders-uppyserver
feature: add support for custom headers sent to uppy-server
2018-06-30 12:16:17 +01:00
Ifedapo Olarewaju
c8132ba546 feature: add support for custom headers sent to uppy-server 2018-06-30 11:34:58 +01:00
Renée Kooi
72689d01ac
Export Plugin class from @uppy/core. 2018-06-28 12:20:21 +02:00
Artur Paikin
9885dd296f Move Dropbox plugin to @uppy/dropbox 2018-06-14 21:29:13 -04:00