From 5ee3aef879c763ce61bbeb25168a92a8f4343c10 Mon Sep 17 00:00:00 2001 From: Muawiya Amir Date: Wed, 4 Nov 2026 07:35:36 +0500 Subject: [PATCH] fix: use official Coding Moves domain in app and email links --- README.md | 2 +- backend/app/templates/editorial_review.html | 2 +- backend/email-templates/confirm-signup.html | 2 +- backend/email-templates/invite-reviewer.html | 2 +- backend/email-templates/password-changed.html | 2 +- backend/email-templates/reset-password.html | 2 +- backend/tests/test_auth_email_templates.py | 2 +- backend/tests/test_editorial_email_template.py | 2 +- docs/EMAIL_TEMPLATES.md | 2 +- supabase/functions/worker/editorial_mail.test.mjs | 4 ++-- supabase/functions/worker/editorial_mail.ts | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e7ff1d62..cf1a0af4 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Learn one new concept every day.** -One Concept is a [Coding Moves Product](https://codingmoves.netlify.app/products/). +One Concept is a [Coding Moves Product](https://codingmoves.com/products/). > One day. One concept. One small step forward. diff --git a/backend/app/templates/editorial_review.html b/backend/app/templates/editorial_review.html index 13893312..4985fafe 100644 --- a/backend/app/templates/editorial_review.html +++ b/backend/app/templates/editorial_review.html @@ -6,7 +6,7 @@
One Concept

ONE CONCEPT ยท REVIEW

-

by Coding Moves

+

by Coding Moves

Lessons ready for your review

$content

Assignments can change after this email is sent. The review workspace always shows their current status.

diff --git a/backend/email-templates/confirm-signup.html b/backend/email-templates/confirm-signup.html index 1f0ae4f5..abf38126 100644 --- a/backend/email-templates/confirm-signup.html +++ b/backend/email-templates/confirm-signup.html @@ -17,7 +17,7 @@
One Concept

One Concept.

-

by Coding Moves

+

by Coding Moves

diff --git a/backend/email-templates/invite-reviewer.html b/backend/email-templates/invite-reviewer.html index fd256bfa..bfc9d225 100644 --- a/backend/email-templates/invite-reviewer.html +++ b/backend/email-templates/invite-reviewer.html @@ -17,7 +17,7 @@ One Concept

One Concept.

-

by Coding Moves

+

by Coding Moves

diff --git a/backend/email-templates/password-changed.html b/backend/email-templates/password-changed.html index 3f0e1557..a1249511 100644 --- a/backend/email-templates/password-changed.html +++ b/backend/email-templates/password-changed.html @@ -17,7 +17,7 @@ One Concept

One Concept.

-

by Coding Moves

+

by Coding Moves

diff --git a/backend/email-templates/reset-password.html b/backend/email-templates/reset-password.html index b60f2fe9..60e18ff8 100644 --- a/backend/email-templates/reset-password.html +++ b/backend/email-templates/reset-password.html @@ -17,7 +17,7 @@ One Concept

One Concept.

-

by Coding Moves

+

by Coding Moves

diff --git a/backend/tests/test_auth_email_templates.py b/backend/tests/test_auth_email_templates.py index 4ebecb26..ed1985d3 100644 --- a/backend/tests/test_auth_email_templates.py +++ b/backend/tests/test_auth_email_templates.py @@ -8,7 +8,7 @@ ROOT = Path(__file__).resolve().parents[1] / "email-templates" REPO = Path(__file__).resolve().parents[2] LOGO = "https://coding-moves-one-concept-review.netlify.app/one-concept-icon.png" -CODING_MOVES = "https://codingmoves.netlify.app/products/" +CODING_MOVES = "https://codingmoves.com/products/" class TemplateInspector(HTMLParser): diff --git a/backend/tests/test_editorial_email_template.py b/backend/tests/test_editorial_email_template.py index 6e133230..f931a6a3 100644 --- a/backend/tests/test_editorial_email_template.py +++ b/backend/tests/test_editorial_email_template.py @@ -36,7 +36,7 @@ def test_email_has_plain_fallback_and_safe_accessible_html(): html = received.get_body(preferencelist=("html",)).get_content() assert 'lang="en"' in html and "ONE CONCEPT" in html assert '/); const html = atob(mime.split('Content-Type: text/html; charset=UTF-8')[1].split('\r\n\r\n')[1].split('\r\n')[0]); assert.match(html, /src="https:\/\/review.example.test\/one-concept-icon.png"/); - assert.match(html, /by { @@ -83,6 +83,6 @@ test('staging email identifies itself and has no live review button', async () = const htmlPart = mime.split('Content-Type: text/html; charset=UTF-8')[1]; const html = atob(htmlPart.split('\r\n\r\n')[1].split('\r\n')[0]); assert.match(html, /STAGING DELIVERY TEST/); - assert.match(html, /by ` + `
` + `One Concept` + - `

by Coding Moves

` + + `

by Coding Moves

` + `

Lessons ready for your review

${content}` + `

Assignments can change after this email is sent. The review workspace always shows their current status.

` + `
`;