Explorar o código

blog: iterate on 1.13 post

Renée Kooi %!s(int64=5) %!d(string=hai) anos
pai
achega
7231b91920
Modificáronse 1 ficheiros con 22 adicións e 20 borrados
  1. 22 20
      website/src/_posts/2020-04-1.13.md

+ 22 - 20
website/src/_posts/2020-04-1.13.md

@@ -6,11 +6,11 @@ image: "https://uppy.io/images/blog/1.13/uppy-dashboard-dark-mar-2020.png"
 published: false
 ---
 
-Let’s dive right in:
+Releases 1.11 through 1.13 introduced a bunch of major new features and bugfixes. Let's go through the main ones!
 
 ## Dark mode
 
-A little while ago we’ve [announced work in progress](https://mobile.twitter.com/uppy_io/status/1221070643543838721) on Dashboard’s Dark Mode. Happy to tell you it’s live now! You can try it on [the Dashboard example page](http://localhost:4000/examples/dashboard/).
+A little while ago we’ve [announced work in progress](https://mobile.twitter.com/uppy_io/status/1221070643543838721) on Dark Mode for the Dashboard. We're happy to tell you it’s live now! You can try it out on [the Dashboard example page](/examples/dashboard/).
 
 <video alt="Demo video showing Uppy Dark Mode" muted autoplay loop>
   <source src="/images/blog/1.13/dark-mode-auto.webm" type="video/webm">
@@ -31,14 +31,14 @@ uppy.use(Dashboard, {
 
 ![](/images/blog/1.13/uppy-dashboard-dark-mar-2020.png)
 
-<!--more--->
+<!--more-->
 
 ## Custom meta fields
 
-This is big one! Thanks to @galli-leo, you can now add custom input fields, such as `<input type="telephone">`, `<select>` or `checkbox`, like this:
+This is big one! Thanks to @galli-leo, you can now add custom fields to the Dashboard meta editor, such as `<input type="telephone">`, `<select>` or `checkbox`, like this:
 
 ```js
-.use(Dashboard, {
+uppy.use(Dashboard, {
   trigger: '#pick-files',
   metaFields: [
     { id: 'caption', name: 'Caption', placeholder: 'describe what the image is about' },
@@ -46,13 +46,11 @@ This is big one! Thanks to @galli-leo, you can now add custom input fields, such
       id: 'public',
       name: 'Public',
       render: ({ value, onChange }, h) => {
-        return h(
-          'input',
-          {
-            type: 'checkbox',
-            onChange: (ev) => onChange(ev.target.checked ? 'on' : 'off'), defaultChecked: value === 'on'
-          }
-        )
+        return h('input', {
+          type: 'checkbox',
+          onChange: (ev) => onChange(ev.target.checked ? 'on' : 'off'),
+          defaultChecked: value === 'on'
+        })
      }
     }
   ]
@@ -63,7 +61,9 @@ See [the docs](/docs/dashboard/#metaFields) and [PR #2147](https://github.com/tr
 
 ## Google Docs support in Companion
 
-Companion now automagically converts GSuite documents, such as docs, spreadsheets and presentations, to `.docx`, `.xlsx` and `.ppt` files that can be open in various applications. Full list of type-to-extension mappings:
+In the past, Uppy could already import files from Google Drive using Companion. However, files from Google Docs are not _really_ files, and could not be imported. That was confusing for users: some of their files simply didn't appear!
+
+Companion now automagically converts GSuite documents, such as docs, spreadsheets and presentations, to `.docx`, `.xlsx` and `.ppt` files that can be opened in various applications. The current list of conversions is hardcoded to:
 
 ```js
 {
@@ -75,29 +75,31 @@ Companion now automagically converts GSuite documents, such as docs, spreadsheet
 }
 ```
 
+This may be configurable in a future release.
+
 Note that only documents under 10MB are converted. This is a limitation set by the Google Drive API.
 
 ## AWS S3
 
-Aws S3 plugin now handles uploads internally, instead of deferring to XHR Upload. This change fixes many bugs with Aws S3. See [PR #2060](https://github.com/transloadit/uppy/pull/2147) for details.
+The Aws S3 plugin now handles uploads internally, instead of deferring to XHR Upload. This change fixes many bugs with Aws S3. See [PR #2060](https://github.com/transloadit/uppy/pull/2147) for details.
 
 ## Locales
 
-Polish, Croatian and Romanian language pack have been added by @alfatv, @dkisic and akizor :tada:
+Polish, Croatian and Romanian language packs have been added by @alfatv, @dkisic and @akizor :tada:
 
-## Exifr in Thumnail Generator
+## Exifr in Thumbnail Generator
 
-[@MikeKovarik](https://github.com/MikeKovarik) created an awesome library called [Exifr](https://github.com/MikeKovarik/exifr), useful for extracting EXIF image data. He was kind enough to submit a PR that replaces Uppy’s inlined `exif-js` with `exifr`. Our thumnail generation is now faster and more robust! See [PR 2140](https://github.com/transloadit/uppy/pull/2140) for details.
+[@MikeKovarik](https://github.com/MikeKovarik) created an awesome library called [Exifr](https://github.com/MikeKovarik/exifr), useful for extracting EXIF image data. He was kind enough to submit a PR that replaces Uppy’s internal fork of `exif-js` with `exifr`. Our thumbnail generation is now faster and more robust! See [PR 2140](https://github.com/transloadit/uppy/pull/2140) for details.
 
 ## Misc
 
 - @uppy/tus, @uppy/xhr-upload: emit error when companion returns error during upload creation (#2166 / @ifedapoolarewaju)
 - @uppy/transloadit: fix progress with very different Assembly runtimes (#2143 / @agreene-coursera)
-- @uppy/core: Only _startIfAutoProceed if some files were actually added (#2146 / @arturi)
+- @uppy/core: Only `_startIfAutoProceed` if some files were actually added (#2146 / @arturi)
 - @uppy/companion: emit error to client if download fails (#2139 / @ifedapoolarewaju)
 - @uppy/companion: validate all client provided upload data. (#2160 / @ifedapoolarewaju)
 - @uppy/dashboard: Log warning instead of an error when trigger is not found (#2144 / @arturi)
-- @uppy/robodog: Pass hideUploadButton to Dashboard in Robodog too (#2169 / @arturi)
-- @uppy/aws-s3-multipart: emit upload-error when companion returns error during upload instantiation (#2168 / @ifedapoolarewaju)
+- @uppy/robodog: Pass `hideUploadButton` to Dashboard in Robodog too (#2169 / @arturi)
+- @uppy/aws-s3-multipart: emit `upload-error` when companion returns error during upload instantiation (#2168 / @ifedapoolarewaju)
 
 As always, you can find the full list of changes and package versions, as well as future plans, in our [changelog](https://github.com/transloadit/uppy/blob/master/CHANGELOG.md).