浏览代码

tweak post

Artur Paikin 7 年之前
父节点
当前提交
10ff2e248c
共有 2 个文件被更改,包括 8 次插入3 次删除
  1. 8 3
      website/src/_posts/2018-02-0.24.md
  2. 二进制
      website/src/images/blog/0.24/uppy-screenshot.jpg

+ 8 - 3
website/src/_posts/2018-02-0.24.md

@@ -1,11 +1,11 @@
 ---
-title: "Uppy 0.24: Refreshed UI, Simplified StatusBar"
-date: 2018-04-16
+title: "Uppy 0.24: Refreshed Dashboard, StatusBar and Provider UI, revamped XHR Response Handling"
+date: 2018-04-17
 author: arturi
 published: false
 ---
 
-Uppy `0.24.0` brings a refreshed UI in Dashboard and StatusBar, synchronous `addFile()`, cancel button, style protections, documentation on writing your own Uppy plugins, revamped XHR response handling and tons of fixes.
+Uppy `0.24.1` brings a refreshed UI in Dashboard and StatusBar, synchronous `addFile()`, cancel button, style protections, documentation on writing your own Uppy plugins, revamped XHR response handling and tons of fixes.
 
 <!--more-->
 
@@ -13,6 +13,8 @@ Uppy `0.24.0` brings a refreshed UI in Dashboard and StatusBar, synchronous `add
 
 As always, we are trying to simplify and improve the UI of Uppy plugins. In this release, Dashboard’s design has been refreshed, check this out:
 
+<img class="border" src="/images/blog/0.24/uppy-screenshot.jpg">
+
 <img class="border" src="/images/blog/0.24/dashboard-main.jpg">
 
 Meta editing screen:
@@ -27,6 +29,8 @@ Import from URL (Link):
 
 <img class="border" src="/images/blog/0.24/import-from-url.jpg">
 
+And more, check out the Dashboard example page: https://uppy.io/examples/dashboard/. 
+
 ## Better StatusBar
 
 StatusBar used to always show a lot of (unnecessary) progress details. This has been improved, by default it will now only show percentage:
@@ -75,6 +79,7 @@ This is entirely optional of course, just set `proudlyDisplayPoweredByUppy: fals
 - ⚠️ **breaking** `addFile()`, `onBeforeFileAdded()` and `onBeforeUpload()` are now synchronous, please see check out the update docs: [onBeforeFileAdded()](https://uppy.io/docs/uppy/#onBeforeFileAdded) and [onBeforeUpload()](https://uppy.io/docs/uppy/#onBeforeUpload).
 - ⚠️ **breaking** most event now emit the whole file object instead of a fileId.
 - ⚠️ **breaking** We’ve added `postcss-safe-important` to out style build step, so now 90% of rules got `!important` declaration added to them. This is done to prevent page styles (especially global like Bootstrap) from leaking into the Uppy widget. There are other solutions we are looking into, like iFrames and WebComponents, this is an experiment. Keep in mind that to override Uppy styles, you now have to also use `!important`.
+- dashboard: ⚠️ **breaking** `maxWidth`, `maxHeight` --> `width` and `height`; update docs and React props too; regardless of what we call those internally, this makes more sense, I think (@arturi)
 - There’s now an option `showLinkToFileUploadResult: true` to disable linking to the upload result in Dashboard UI.
 - We are now using the image time and date as a file name in Instagram.
 - URL plugin checks for http(s) protocol, and add http by default if no protocol is present.

二进制
website/src/images/blog/0.24/uppy-screenshot.jpg