Selaa lähdekoodia

blog: Change RestoreFiles references to GoldenRetriever.

Renée Kooi 7 vuotta sitten
vanhempi
commit
7b2a2105a9
2 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 1 1
      website/src/_posts/2017-08-0.18.md
  2. 4 4
      website/src/_posts/2017-10-0.20.md

+ 1 - 1
website/src/_posts/2017-08-0.18.md

@@ -16,7 +16,7 @@ Documentation for Uppy has been re-written, and now features chapters on Uppy’
 
 
 ## The Golden Retriever
 ## The Golden Retriever
 
 
-Golden Retriever, also known as `RestoreFiles` plugin, has been released as a public beta. For details, please refer to the previous post, [The Golden Retriever: Making uploads survive browser crashes](https://uppy.io/blog/2017/07/golden-retriever/), but the gist is: when enabled, this plugin will save uppy-state to localStorage on every change, and then if your browser crashes, or you accidentaly navigate away from a tab,later when you return, your uploads will resume like nothing happened. Spoiler: it uses Service Workers and IndexedDB.
+The Golden Retriever has been released as a public beta. For details, please refer to the previous post, [The Golden Retriever: Making uploads survive browser crashes](https://uppy.io/blog/2017/07/golden-retriever/), but the gist is: when enabled, this plugin will save uppy-state to localStorage on every change, and then if your browser crashes, or you accidentaly navigate away from a tab,later when you return, your uploads will resume like nothing happened. Spoiler: it uses Service Workers and IndexedDB.
 
 
 <img class="border" src="/images/blog/0.18/golden-retriever.jpg">
 <img class="border" src="/images/blog/0.18/golden-retriever.jpg">
 
 

+ 4 - 4
website/src/_posts/2017-10-0.20.md

@@ -6,7 +6,7 @@ author: renee
 published: true
 published: true
 ---
 ---
 
 
-We are proud to present Uppy `0.20`. This one focuses on React and Redux support, adding storage expirations to `RestoreFiles` (The Golden Retriever) and upload retries. Enjoy!
+We are proud to present Uppy `0.20`. This one focuses on React and Redux support, adding storage expirations to `GoldenRetriever` and upload retries. Enjoy!
 
 
 ## Uppy React components
 ## Uppy React components
 
 
@@ -119,11 +119,11 @@ uppy.use(DragDrop, {
 
 
 ## The Golden Retriever cleans up after itself
 ## The Golden Retriever cleans up after itself
 
 
-We recently released the `RestoreFiles` plugin, codenamed "Golden Retriever", which stores selected files on the client so that it can recover them after a browser crash. Previously, these stored files would stay around forever, and clog up the user's disk space. As of 0.20.0, files will be removed from client-side storage when they have been uploaded. Files that have had nothing happen to them for longer than 24 hours will be cleaned up automatically. This timeframe can be configured using the new `expires` option:
+We recently released the `GoldenRetriever` plugin, which stores selected files on the client so that it can recover them after a browser crash. Previously, these stored files would stay around forever, and clog up the user's disk space. As of 0.20.0, files will be removed from client-side storage when they have been uploaded. Files that have had nothing happen to them for longer than 24 hours will be cleaned up automatically. This timeframe can be configured using the new `expires` option:
 
 
 ```js
 ```js
 const ms = require('ms')
 const ms = require('ms')
-uppy.use(RestoreFiles, {
+uppy.use(GoldenRetriever, {
   expires: ms('4 hours')
   expires: ms('4 hours')
 })
 })
 ```
 ```
@@ -133,7 +133,7 @@ uppy.use(RestoreFiles, {
 This will clean up files when Uppy runs, but perhaps not every page of your app uses Uppy. If a user selected some files, but then never came back to that same page, files could still hang around for a long time. To aid this, there's a new module that you can call to clean up Uppy's cache without needing an Uppy instance:
 This will clean up files when Uppy runs, but perhaps not every page of your app uses Uppy. If a user selected some files, but then never came back to that same page, files could still hang around for a long time. To aid this, there's a new module that you can call to clean up Uppy's cache without needing an Uppy instance:
 
 
 ```js
 ```js
-const cleanup = require('uppy/lib/plugins/RestoreFiles/cleanup')
+const cleanup = require('uppy/lib/plugins/GoldenRetriever/cleanup')
 cleanup()
 cleanup()
 ```
 ```