From 70bddef69e3f76e23f6f7b8e6dad507451a18484 Mon Sep 17 00:00:00 2001 From: ternera Date: Tue, 12 May 2026 14:32:23 -0500 Subject: [PATCH 1/7] fixed minor typo --- docs/guides/migrate/devvit-singleton.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/migrate/devvit-singleton.md b/docs/guides/migrate/devvit-singleton.md index 5c34a769..2b9ae49e 100644 --- a/docs/guides/migrate/devvit-singleton.md +++ b/docs/guides/migrate/devvit-singleton.md @@ -34,7 +34,7 @@ Delete the `devvit.yaml` file from your project root. All configuration is now h ### 3. Handle static assets -If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to define this in update your `devvit.json` to point to these assets: +If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to update your `devvit.json` to point to these assets: ```json { From 59dd78aaacda459b93792c55d22155e3d4e0834a Mon Sep 17 00:00:00 2001 From: ternera Date: Tue, 12 May 2026 14:50:45 -0500 Subject: [PATCH 2/7] fixed some more small issues --- docs/guides/migrate/inline-web-view.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/guides/migrate/inline-web-view.md b/docs/guides/migrate/inline-web-view.md index e1700e0f..1ae3d8f5 100644 --- a/docs/guides/migrate/inline-web-view.md +++ b/docs/guides/migrate/inline-web-view.md @@ -16,7 +16,7 @@ Apps can be partially migrated, you don't need to re-write everything! - No postMessage required - Use web native fetch() to server endpoints directly -- App logic is either on the client, or the server, with clear deliniation +- App logic is either on the client, or the server, with clear delineation - Client effects are available directly from web views ## Setting up devvit.json @@ -161,8 +161,6 @@ server.listen(port, () => console.log(`http://localhost:${port}`)); ### Calling your server endpoints -Now - Instead of using `postMessage`, your client-side code can now directly fetch the initial state from the `/api/init` endpoint we defined in the server. ```ts title=/src/client/app.ts From adb88f2141a156443a024f205eb7d3bed17a9841 Mon Sep 17 00:00:00 2001 From: ternera Date: Tue, 12 May 2026 14:52:45 -0500 Subject: [PATCH 3/7] fixed some more small issues --- versioned_docs/version-0.12/guides/migrate/inline-web-view.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/versioned_docs/version-0.12/guides/migrate/inline-web-view.md b/versioned_docs/version-0.12/guides/migrate/inline-web-view.md index e1700e0f..1ae3d8f5 100644 --- a/versioned_docs/version-0.12/guides/migrate/inline-web-view.md +++ b/versioned_docs/version-0.12/guides/migrate/inline-web-view.md @@ -16,7 +16,7 @@ Apps can be partially migrated, you don't need to re-write everything! - No postMessage required - Use web native fetch() to server endpoints directly -- App logic is either on the client, or the server, with clear deliniation +- App logic is either on the client, or the server, with clear delineation - Client effects are available directly from web views ## Setting up devvit.json @@ -161,8 +161,6 @@ server.listen(port, () => console.log(`http://localhost:${port}`)); ### Calling your server endpoints -Now - Instead of using `postMessage`, your client-side code can now directly fetch the initial state from the `/api/init` endpoint we defined in the server. ```ts title=/src/client/app.ts From 1434a84f9cbebe76e7df0f801108df5528196eae Mon Sep 17 00:00:00 2001 From: ternera Date: Tue, 12 May 2026 14:53:42 -0500 Subject: [PATCH 4/7] fixed minor typo --- versioned_docs/version-0.12/guides/migrate/devvit-singleton.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-0.12/guides/migrate/devvit-singleton.md b/versioned_docs/version-0.12/guides/migrate/devvit-singleton.md index 5c34a769..2b9ae49e 100644 --- a/versioned_docs/version-0.12/guides/migrate/devvit-singleton.md +++ b/versioned_docs/version-0.12/guides/migrate/devvit-singleton.md @@ -34,7 +34,7 @@ Delete the `devvit.yaml` file from your project root. All configuration is now h ### 3. Handle static assets -If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to define this in update your `devvit.json` to point to these assets: +If your app uses static assets (images, fonts, etc.) from an `assets` folder, you'll need to update your `devvit.json` to point to these assets: ```json { From 4989ff35e7237180f59d2b007674ecaeb045021a Mon Sep 17 00:00:00 2001 From: ternera Date: Fri, 19 Jun 2026 15:18:28 -0500 Subject: [PATCH 5/7] docs: typo correction --- docs/capabilities/notifications/pn-best-practices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/capabilities/notifications/pn-best-practices.md b/docs/capabilities/notifications/pn-best-practices.md index b3058275..22b59f48 100644 --- a/docs/capabilities/notifications/pn-best-practices.md +++ b/docs/capabilities/notifications/pn-best-practices.md @@ -7,7 +7,7 @@ Push notifications can help drive engagement, increase player retention, and bui This guide provides instructions for implementing developer-authored push notifications for Reddit games. :::note -This is currently an experimental feature, and you'll need to[apply](../notifications/notifications-overview.md#how-to-apply) for a spot in our beta program to implement push notifications in your app. +This is currently an experimental feature, and you'll need to [apply](../notifications/notifications-overview.md#how-to-apply) for a spot in our beta program to implement push notifications in your app. ::: ## How it works From e2ed059583770d8bcd10230a2a6e39de5ccd3e2c Mon Sep 17 00:00:00 2001 From: ternera Date: Fri, 19 Jun 2026 15:25:32 -0500 Subject: [PATCH 6/7] docs: finished incomplete sentence --- docs/guides/migrate/public-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/migrate/public-api.md b/docs/guides/migrate/public-api.md index 1ae78ab3..6e60f810 100644 --- a/docs/guides/migrate/public-api.md +++ b/docs/guides/migrate/public-api.md @@ -1,7 +1,7 @@ # Migrating from PRAW to Devvit Web [Devvit Web](../../capabilities/devvit-web/devvit_web_overview.mdx) is how -you ship the same kind of automation **on Reddit’s platform**. This guide will outline the basics +you ship the same kind of automation **on Reddit’s platform**. This guide will outline the basics of migrating from PRAW to Devvit Web. :::note This guide assumes you have basic familiarity with Python and PRAW (e.g., `pip`, `requirements.txt`, and From cf5535109b0aeed4aaf832953fc0fe2090c951d2 Mon Sep 17 00:00:00 2001 From: ternera Date: Fri, 19 Jun 2026 15:29:27 -0500 Subject: [PATCH 7/7] docs: removed unnecessary headings and fixed more typos --- docs/capabilities/analytics/journeys-receipts.md | 4 +--- docs/guides/logged-out-users.mdx | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/capabilities/analytics/journeys-receipts.md b/docs/capabilities/analytics/journeys-receipts.md index a71ed2e2..7e9839a2 100644 --- a/docs/capabilities/analytics/journeys-receipts.md +++ b/docs/capabilities/analytics/journeys-receipts.md @@ -47,7 +47,7 @@ Covered calls: ## Upgrade note for existing devs -`startJourney()` changed from returning only the Journey ID information to returning the Journey ID plus a receipt. If you’re upgrading existing code, you may need to update any custom response types, mocks, or destructuring assumptions so they account for the new `receipt` field. +`startJourney()` changed from returning only the Journey ID information to returning the Journey ID plus a receipt. If you’re upgrading existing code, you may need to update any custom response types, mocks, or destructuring assumptions so they account for the new `receipt` field. For example, code that only typed the response as `{ journeyId: string }` should now expect: @@ -72,8 +72,6 @@ For example, code that only typed the response as `{ journeyId: string }` should | `JOURNEY_RECEIPT_INVALID` | Event payload was invalid and was not recorded. | `Invalid: Event payload was not recorded.` | | `JOURNEY_RECEIPT_UNSPECIFIED` | Recording status could not be confirmed. | `Unknown: Telemetry recording status could not be confirmed.` | -## - Example: ```javascript diff --git a/docs/guides/logged-out-users.mdx b/docs/guides/logged-out-users.mdx index 58ec3338..09d5888e 100644 --- a/docs/guides/logged-out-users.mdx +++ b/docs/guides/logged-out-users.mdx @@ -96,8 +96,6 @@ export async function onLoginButtonClick(context: Context) { } ``` -#### - #### Trigger at natural breakpoints The login/sign-up flow reloads the page, so any in-memory game state will be lost unless you s[ave the logged-out game state](#save-the-logged-out-game-state).