diff --git a/docs-release-notes.md b/docs-release-notes.md index 09cb219684..9f9f597816 100644 --- a/docs-release-notes.md +++ b/docs-release-notes.md @@ -1627,7 +1627,7 @@ Prepare docs for C++ GA release, including: - Model Data - Define an Object Model: Update info for C# nullable reference types and nullable-aware context, add a Bluehawked code example - Data Binding: Move a section about data binding and MVVM from Define an Object Model to Data Binding page -- React to Changes: Add a callout with info about binding data to the UI and a link to the the Data Binding page +- React to Changes: Add a callout with info about binding data to the UI and a link to the Data Binding page ## Node.js SDK diff --git a/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/java/ClientResetTest.java b/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/java/ClientResetTest.java index e9b9272fbc..c3b529ce44 100644 --- a/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/java/ClientResetTest.java +++ b/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/java/ClientResetTest.java @@ -238,7 +238,7 @@ public void handleManualReset(App app, SyncSession session, ClientResetRequiredE Log.w("EXAMPLE", "Opened a fresh instance of the realm."); - // Open the the realm backup -- as a dynamic realm + // Open the realm backup -- as a dynamic realm // (no formal schema; access all data through field lookups) DynamicRealm backupRealm = DynamicRealm.getInstance(error.getBackupRealmConfiguration()); Log.w("EXAMPLE", "Opened the backup realm."); diff --git a/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/kotlin/ClientResetTest.kt b/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/kotlin/ClientResetTest.kt index 7ce7d1e76c..99166eca80 100644 --- a/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/kotlin/ClientResetTest.kt +++ b/examples/java/sync/app/src/androidTest/java/com/mongodb/realm/examples/kotlin/ClientResetTest.kt @@ -265,7 +265,7 @@ class ClientResetTest : RealmTest() { } Log.w("EXAMPLE", "Opened a fresh instance of the realm.") - // Open the the realm backup -- as a dynamic realm + // Open the realm backup -- as a dynamic realm // (no formal schema; access all data through field lookups) val backupRealm = DynamicRealm.getInstance(error.backupRealmConfiguration) diff --git a/examples/react-native/legacy/__tests__/js/CRUD/update.test.jsx b/examples/react-native/legacy/__tests__/js/CRUD/update.test.jsx index 4209b0317c..605b716363 100644 --- a/examples/react-native/legacy/__tests__/js/CRUD/update.test.jsx +++ b/examples/react-native/legacy/__tests__/js/CRUD/update.test.jsx @@ -175,7 +175,7 @@ describe('Update Data Tests', () => { ); const carWashTask = assertionRealm.objectForPrimaryKey(Task, 1234); - // Test that the the 'Wash the car' task was upserted, and progressMinutesText is now displaying 5 minutes progressed + // Test that the 'Wash the car' task was upserted, and progressMinutesText is now displaying 5 minutes progressed expect(progressMinutesText.children.toString()).toBe('5'); expect(carWashTask.progressMinutes).toBe(5); }); diff --git a/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.java b/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.java index d5c380d07c..660e86a0a1 100644 --- a/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.java +++ b/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.java @@ -40,7 +40,7 @@ public void handleManualReset(App app, SyncSession session, ClientResetRequiredE Log.w("EXAMPLE", "Opened a fresh instance of the realm."); - // Open the the realm backup -- as a dynamic realm + // Open the realm backup -- as a dynamic realm // (no formal schema; access all data through field lookups) DynamicRealm backupRealm = DynamicRealm.getInstance(error.getBackupRealmConfiguration()); Log.w("EXAMPLE", "Opened the backup realm."); diff --git a/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.kt b/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.kt index 872cd89cf9..c683e47afe 100644 --- a/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.kt +++ b/source/examples/generated/java/sync/ClientResetTest.snippet.handle-manual-reset.kt @@ -39,7 +39,7 @@ fun handleManualReset(app: App, session: SyncSession?, error: ClientResetRequire } Log.w("EXAMPLE", "Opened a fresh instance of the realm.") - // Open the the realm backup -- as a dynamic realm + // Open the realm backup -- as a dynamic realm // (no formal schema; access all data through field lookups) val backupRealm = DynamicRealm.getInstance(error.backupRealmConfiguration) diff --git a/source/includes/aggregation-stages.rst b/source/includes/aggregation-stages.rst index 48daa2a6e6..6c0c59d798 100644 --- a/source/includes/aggregation-stages.rst +++ b/source/includes/aggregation-stages.rst @@ -208,7 +208,7 @@ but replaces the array value with the array element in each copy. #. Use ``$group`` stage with ``$addToSet`` to create new documents for each ``type`` with a new field ``colors`` that contains an array - of all the the colors for that flower type that occur in the collection. + of all the colors for that flower type that occur in the collection. #. Use ``$unwind`` stage to create separate documents for each combination of type and color. #. Use ``$sort`` stage to sort the results in alphabetical order. diff --git a/temp/cpp/users/custom-user-data.txt b/temp/cpp/users/custom-user-data.txt index 7662db5354..3564fa28fe 100644 --- a/temp/cpp/users/custom-user-data.txt +++ b/temp/cpp/users/custom-user-data.txt @@ -4,6 +4,12 @@ Custom User Data - C++ SDK ========================== +.. meta:: + :description: Learn how to create custom user data using the Atlas Device SDK for C++. +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -52,7 +58,7 @@ Create a User's Custom Data Document To create custom user data for a user, create a MongoDB document in the custom user data collection. The user ID field of the document should -contain the the user's user ID. +contain the user's user ID. .. tip:: diff --git a/temp/dotnet/app-services/call-a-function.txt b/temp/dotnet/app-services/call-a-function.txt index 3916be2939..fb21731190 100644 --- a/temp/dotnet/app-services/call-a-function.txt +++ b/temp/dotnet/app-services/call-a-function.txt @@ -4,6 +4,13 @@ Call a Function - .NET SDK ========================== +.. meta:: + :description: Learn how to call a function using the Atlas Device SDK for .NET. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -45,7 +52,7 @@ parameter and the arguments as the remaining parameters: .. note:: The ``CallAsync()`` method returns a single ``BsonValue`` object, which you can - deserialize after calling the function or by using the the generic + deserialize after calling the function or by using the generic overload. Both of these approaches to deserialization are shown in the code above. diff --git a/temp/dotnet/manage-users/custom-user-data.txt b/temp/dotnet/manage-users/custom-user-data.txt index 851a28bb91..2b508c4758 100644 --- a/temp/dotnet/manage-users/custom-user-data.txt +++ b/temp/dotnet/manage-users/custom-user-data.txt @@ -5,6 +5,13 @@ Custom User Data - .NET SDK =========================== +.. meta:: + :description: Learn how to create custom user data using the Atlas Device SDK for .NET. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -66,7 +73,7 @@ Create a User's Custom User Data Document To create custom user data for a user, create a MongoDB document in the custom user data collection. The user ID field of the document must -contain the the user's user ID. The following example uses +contain the user's user ID. The following example uses :ref:`MongoDB Data Access ` to insert a document containing the user ID of the currently logged in user and several custom properties into the custom user data collection: diff --git a/temp/flutter/sync/write-to-synced-realm.txt b/temp/flutter/sync/write-to-synced-realm.txt index e40ce55eb1..c198f915fc 100644 --- a/temp/flutter/sync/write-to-synced-realm.txt +++ b/temp/flutter/sync/write-to-synced-realm.txt @@ -4,6 +4,13 @@ Write Data to a Synced Realm - Flutter SDK ========================================== +.. meta:: + :description: Learn how to write data to a synced realm database using the Atlas Device SDK for Flutter. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -261,7 +268,7 @@ App Services Error The error message in the App Services logs provides some additional information to help you determine that it is a permissions issue, and not a query subscription issue. In this example, the error message shows -that the the object does not match the user's role: +that the object does not match the user's role: .. code-block:: console diff --git a/temp/flutter/users/custom-user-data.txt b/temp/flutter/users/custom-user-data.txt index d217854089..f14ebcbf4a 100644 --- a/temp/flutter/users/custom-user-data.txt +++ b/temp/flutter/users/custom-user-data.txt @@ -4,6 +4,13 @@ Custom User Data - Flutter SDK ============================== +.. meta:: + :description: Learn how to read custom user data using the Atlas Device SDK for Flutter. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -113,7 +120,7 @@ The Realm SDK code to call this Function: .. To create custom user data for a user, create a MongoDB document in the .. custom user data collection. The user ID field of the document must -.. contain the the user's user ID. The following example uses +.. contain the user's user ID. The following example uses .. TODO: update this ref`MongoDB Data Access <>` to insert a .. document containing the user ID of the currently logged in user and several .. custom properties into the custom user data collection: diff --git a/temp/java/quick-starts/livedata.txt b/temp/java/quick-starts/livedata.txt index 1647189ab8..577fd4a83f 100644 --- a/temp/java/quick-starts/livedata.txt +++ b/temp/java/quick-starts/livedata.txt @@ -4,6 +4,13 @@ Quick Start with LiveData - Java SDK ==================================== +.. meta:: + :description: Learn how to quickly integrate the Atlas Device SDK for Java into an Android application using LiveData. + +.. facet:: + :name: genre + :values: reference + .. contents:: On this page :local: :backlinks: none @@ -237,7 +244,7 @@ in the model singleton and the encapsulated LiveData instance. Summary ------- -- Use the the ``LiveRealmObject`` and ``LiveRealmResults`` classes as a template for encapsulating live Realm data in Android LiveData. +- Use the ``LiveRealmObject`` and ``LiveRealmResults`` classes as a template for encapsulating live Realm data in Android LiveData. - Use a ViewModel to separate underlying data from the UI elements that display that data. - DataBinding lets you declare relationships between model data and UI elements without explicitly setting values in an Activity or Fragment. diff --git a/temp/java/users/custom-user-data.txt b/temp/java/users/custom-user-data.txt index ba3a8c6906..3acaf6362e 100644 --- a/temp/java/users/custom-user-data.txt +++ b/temp/java/users/custom-user-data.txt @@ -92,7 +92,7 @@ Create a User's Custom Data Document To create custom user data for a user, create a MongoDB document in the custom user data collection. The user ID field of the document should -contain the the user's user ID. The following example uses +contain the user's user ID. The following example uses :ref:`MongoDB Data Access ` to insert a document containing the user ID of the currently logged in user and a ``favoriteColor`` value into the custom user data collection: @@ -143,7 +143,7 @@ MongoDB document whose user ID field contains the user ID of the user. The following example uses :ref:`MongoDB Data Access ` to update the ``favoriteColor`` field of -the the document containing the user ID of the currently logged in user +the document containing the user ID of the currently logged in user in the custom user data collection: .. tabs-realm-languages:: diff --git a/temp/kotlin/users/custom-user-data.txt b/temp/kotlin/users/custom-user-data.txt index c240caae1f..57b5680d0b 100644 --- a/temp/kotlin/users/custom-user-data.txt +++ b/temp/kotlin/users/custom-user-data.txt @@ -4,6 +4,13 @@ Manage Custom User Data - Kotlin SDK ==================================== +.. meta:: + :description: Learn how to read custom user data in an App Services App using the Atlas Device SDK for Kotlin. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -112,7 +119,7 @@ The Kotlin SDK code to call this Function: .. To create custom user data for a user, create a MongoDB document in the .. custom user data collection. The user ID field of the document must -.. contain the the user's user ID. The following example uses +.. contain the user's user ID. The following example uses .. MongoDB Data Access (INSERT LINK) to insert a .. document containing the user ID of the currently logged in user and several .. custom properties into the custom user data collection: diff --git a/temp/node/users/authenticate-users.txt b/temp/node/users/authenticate-users.txt index 28ecef3a23..f19948bd26 100644 --- a/temp/node/users/authenticate-users.txt +++ b/temp/node/users/authenticate-users.txt @@ -4,6 +4,13 @@ Authenticate Users - Node.js SDK ================================ +.. meta:: + :description: Authenticate users in an Atlas App Services App using the Atlas Device SDK for Node.js. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -234,7 +241,7 @@ to handle the user authentication and redirect flow from a Node.js client applic :language: javascript -#. Process the request from the the Google authentication server, which includes +#. Process the request from the Google authentication server, which includes an access code in the query string using the Google OAuth 2.0 client's ``getToken()`` method. In the callback function, sign in to your App using the ``id_token``. diff --git a/temp/swift/swiftui/swiftui-previews.txt b/temp/swift/swiftui/swiftui-previews.txt index 26ab6a08c4..035cc9028d 100644 --- a/temp/swift/swiftui/swiftui-previews.txt +++ b/temp/swift/swiftui/swiftui-previews.txt @@ -4,6 +4,13 @@ Use Realm with SwiftUI Previews =============================== +.. meta:: + :description: Use and debug SwiftUI Previews while developing with the Atlas Device SDK for Swift. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -231,7 +238,7 @@ configuration property when you initialize the realm. .. note:: - Do not use the the :swift-sdk:`deleteRealmIfMigrationNeeded + Do not use the :swift-sdk:`deleteRealmIfMigrationNeeded ` configuration property when you initialize a realm for SwiftUI Previews. Due to the way Apple has implemented SwiftUI Previews, using this property diff --git a/temp/swift/sync/write-to-synced-realm.txt b/temp/swift/sync/write-to-synced-realm.txt index 5adb045b44..554ad548e3 100644 --- a/temp/swift/sync/write-to-synced-realm.txt +++ b/temp/swift/sync/write-to-synced-realm.txt @@ -4,6 +4,13 @@ Write Data to a Synced Realm - Swift SDK ======================================== +.. meta:: + :description: Learn how to write to a synced database using the Atlas Device SDK for Swift. + +.. facet:: + :name: genre + :values: reference + .. contents:: On this page :local: :backlinks: none @@ -313,7 +320,7 @@ App Services Error The error message in the App Services logs provides some additional information to help you determine that it is a permissions issue, and not a query subscription issue. In this example, the error message shows -that the the object does not match the user's role: +that the object does not match the user's role: .. code-block:: console diff --git a/temp/swift/users/custom-user-data.txt b/temp/swift/users/custom-user-data.txt index 3808058b99..b314ef7bb8 100644 --- a/temp/swift/users/custom-user-data.txt +++ b/temp/swift/users/custom-user-data.txt @@ -4,6 +4,13 @@ Custom User Data - Swift SDK ============================ +.. meta:: + :description: Learn how to work with custom user data using the Atlas Device SDK for Swift. + +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -62,7 +69,7 @@ Create a User's Custom Data Document To create custom user data for a user, create a MongoDB document in the custom user data collection. The user ID field of the document should -contain the the user's user ID. +contain the user's user ID. .. tip::