Skip to content

Commit 02b6a42

Browse files
Merge pull request #360 from FirebasePrivate/rachelsaunders-breaktobullets
PRE/POST - formatting to bullets; light wordsmithing
2 parents bc40e71 + 924ef18 commit 02b6a42

File tree

7 files changed

+27
-13
lines changed

7 files changed

+27
-13
lines changed

firestore-bigquery-export/PREINSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The extension creates and updates a [dataset](https://cloud.google.com/bigquery/
44
+ A [table](https://cloud.google.com/bigquery/docs/tables-intro) of raw data that stores a full change history of the documents within your collection. This table includes a number of metadata fields so that BigQuery can display the current state of your data. The principle metadata fields are `timestamp`, `document_name`, and the `operation` for the document change.
55
+ A [view](https://cloud.google.com/bigquery/docs/views-intro) which represents the current state of the data within your collection. It also shows a log of the latest `operation` for each document (`CREATE`, `UPDATE`, or `IMPORT`).
66

7-
Whenever a document is created, updated, deleted, or imported in the specified collection, this extension sends that update to BigQuery. You can then run queries on this mirrored dataset.
7+
If you create, update, delete, or import a document in the specified collection, this extension sends that update to BigQuery. You can then run queries on this mirrored dataset.
88

99
Note that this extension only listens for _document_ changes in the collection, but not changes in any _subcollection_. You can, though, install additional instances of this extension to specifically listen to a subcollection or other collections in your database. Or if you have the same subcollection across documents in a given collection, you can use `{wildcard}` notation to listen to all those subcollections (for example: `chats/{chatid}/posts`).
1010

firestore-shorten-urls/POSTINSTALL.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ You can test out this extension right away:
1212

1313
### Using the extension
1414

15-
This extension listens to the Cloud Firestore collection `${param:COLLECTION_PATH}`, then shortens any URL added to the field `${param:URL_FIELD_NAME}` in any document within that collection.
16-
17-
This extension saves the shortened URL in the `${param:SHORT_URL_FIELD_NAME}` field of the same document like so:
15+
This extension listens to the Cloud Firestore collection `${param:COLLECTION_PATH}`. If you add a URL to the field `${param:URL_FIELD_NAME}` in any document within that collection, this extension:
16+
- Shortens the URL.
17+
- Saves the shortened URL in the `${param:SHORT_URL_FIELD_NAME}` field of the same document like so:
1818

1919
```
2020
{

firestore-shorten-urls/PREINSTALL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Use this extension to create shortened URLs from URLs written to Cloud Firestore. These shortened URLs are useful as display URLs.
22

3-
This extension listens to your specified Cloud Firestore collection, then shortens any URL added to a specified field in any document within that collection. This extension saves the shortened URL in a new field in the same document.
3+
This extension listens to your specified Cloud Firestore collection. If you add a URL to a specified field in any document within that collection, this extension:
4+
- Shortens the URL.
5+
- Saves the shortened URL in a new specified field in the same document.
46

57
If the original URL in a document is updated, then the shortened URL will be automatically updated, too.
68

firestore-translate-text/POSTINSTALL.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
22

33
To test out this extension, follow these steps:
44

5-
1. Go to the [Cloud Firestore tab](https://console.firebase.google.com/project/${param:PROJECT_ID}/database/firestore/data).
5+
1. Go to your [Cloud Firestore dashboard](https://console.firebase.google.com/project/${param:PROJECT_ID}/database/firestore/data).
66

77
1. If it doesn't exist already, create a collection called `${param:COLLECTION_PATH}`.
88

9-
1. Create a document with a field named `${param:INPUT_FIELD_NAME}` and make its value a word or phrase that you want to translate.
9+
1. Create a document with a field named `${param:INPUT_FIELD_NAME}`, then make its value a word or phrase that you want to translate.
1010

11-
1. In a few seconds, you'll see a new field called `${param:OUTPUT_FIELD_NAME}` pop up in the same document you just created; it will contain the translations for each language specified.
11+
1. In a few seconds, you'll see a new field called `${param:OUTPUT_FIELD_NAME}` pop up in the same document you just created. It will contain the translations for each language you specified during installation.
1212

1313
### Using the extension
1414

15-
Whenever a string is written to the field `${param:INPUT_FIELD_NAME}` in `${param:COLLECTION_PATH}`, this extension translates the string into your specified target language(s). The source language of the string is automatically detected. This extension adds the translated string to `${param:OUTPUT_FIELD_NAME}` in the same document using the following format:
15+
Whenever you write a string to the field `${param:INPUT_FIELD_NAME}` in `${param:COLLECTION_PATH}`, this extension:
16+
- Translates the string into your specified target language(s); the source language of the string is automatically detected.
17+
- Adds the translated string to `${param:OUTPUT_FIELD_NAME}` in the same document using the following format:
1618

1719
```
1820
{

firestore-translate-text/PREINSTALL.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Use this extension to translate strings (for example, text messages) written to a Cloud Firestore collection.
22

3-
This extension listens to your specified Cloud Firestore collection. If a string is added to a specified field in any document with that collection, this extension translates the string into your specified target language(s). The source language of the string is automatically detected. This extension adds the translation(s) of the string to a separate specified field in the same document.
3+
This extension listens to your specified Cloud Firestore collection. If you add a string to a specified field in any document within that collection, this extension:
4+
- Translates the string into your specified target language(s); the source language of the string is automatically detected.
5+
- Adds the translation(s) of the string to a separate specified field in the same document.
46

57
You specify the desired target languages using ISO-639-1 codes. You can find a list of valid languages and their corresponding codes in the [Cloud Translate API documentation](https://cloud.google.com/translate/docs/languages).
68

storage-resize-images/POSTINSTALL.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ You can test out this extension right away:
66

77
1. Upload an image file to the bucket: `${param:IMG_BUCKET}`
88

9-
1. In a few seconds, the resized image(s) appear in the same bucket. Note that you might need to refresh the page to see changes.
9+
1. In a few seconds, the resized image(s) appear in the same bucket.
10+
11+
Note that you might need to refresh the page to see changes.
1012

1113
### Using the extension
1214

13-
When you upload an image file to `${param:IMG_BUCKET}`, this extension creates resized image(s) with your specfied dimensions. It stores both the resized image(s) and the original image in the same bucket, `${param:IMG_BUCKET}`. The extension names a resized image using the same name as the original uploaded image, but suffixed with your specified width and height.
15+
When you upload an image file to `${param:IMG_BUCKET}`, this extension:
16+
- Creates resized image(s) with your specfied dimensions.
17+
- Stores the resized image(s) in the bucket `${param:IMG_BUCKET}` (and, if configured, under the path `${param:RESIZED_IMAGES_PATH}`).
18+
- Names resized image(s) using the same name as the original uploaded image, but suffixed with the specified width and height.
1419

1520
You can upload images using the [Cloud Storage for Firebase SDK](https://firebase.google.com/docs/storage/) for your platform (iOS, Android, or Web). Alternatively, you can upload images directly in the Firebase console's Storage dashboard.
1621

storage-resize-images/PREINSTALL.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Use this extension to create resized versions of an image uploaded to a Cloud Storage bucket.
22

3-
When you upload an image file to your specified Cloud Storage bucket, this extension creates a resized image with your specified dimensions. It stores both the resized image and the original image in the same Storage bucket. The extension names the resized image using the same name as the original uploaded image, but suffixed with your specified width and height.
3+
When you upload an image file to your specified Cloud Storage bucket, this extension:
4+
- Creates a resized image with your specified dimensions.
5+
- Stores the resized image in the same Storage bucket as the original uploaded image.
6+
- Names the resized image using the same name as the original uploaded image, but suffixed with your specified width and height.
47

58
You can even configure the extension to create resized images of different dimensions for each original image upload. For example, you might want images that are 200x200, 400x400, and 680x680 - this extension can create these three resized images then store them in your bucket.
69

0 commit comments

Comments
 (0)