From 5672ebedc6fd7ee45e22a34770e750ee4edf83a7 Mon Sep 17 00:00:00 2001 From: abose Date: Wed, 2 Sep 2026 15:21:25 +0530 Subject: [PATCH 1/2] chore: point every phcode.io link at phcode.dev The marketing site now lives on phcode.dev, so every outbound link, config URL and user facing mention moves with it: homepage, purchase and update download URLs in config.json, the download page, the live preview splash, the main nav link, the README, the bundled feature notes, and the update failure, ESLint and Safari notices in strings.js. The appUpdater fallbacks used when homepage_url is missing move too, so a stale config cannot send a user to the old host. robots.txt drops the sitemaps.phcode.io sitemap and sitemap-phcode.xml points its remaining phcode.io URL at phcode.dev, along with the note asking for the two to be kept in sync. The #phcode-io-main-nav element id is deliberately left alone. It is the selector shared with brackets.less and with phoenix-pro's profile menu, off hours offer and their tests, so renaming it would need a synchronised change across both repos for nothing the user can see. Only nls/root/strings.js is edited; the other locales are regenerated by the translation workflow. --- README.md | 2 +- src/assets/default-project/en/Newly_added_features.md | 4 ++-- src/assets/new-project/assets/js/code-editor.js | 2 +- src/assets/phoenix-splash/live-preview-error.html | 8 ++++---- src/config.json | 6 +++--- src/download/index.html | 6 +++--- src/extensionsIntegrated/appUpdater/main.js | 4 ++-- src/extensionsIntegrated/appUpdater/update-electron.js | 2 +- src/index.html | 2 +- src/nls/root/strings.js | 6 +++--- src/robots.txt | 3 +-- src/sitemap-phcode.xml | 3 +-- src/utils/Metrics.js | 2 +- 13 files changed, 24 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 2424bb4750..674679ef2b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Welcome to Phoenix! -**Website: https://phcode.io** +**Website: https://phcode.dev** Phoenix is a modern open-source and [free software](https://www.gnu.org/philosophy/free-sw.en.html) text editor designed to make coding as simple and fun as playing a video game. diff --git a/src/assets/default-project/en/Newly_added_features.md b/src/assets/default-project/en/Newly_added_features.md index 12b16ef3e1..4fca55f8b9 100644 --- a/src/assets/default-project/en/Newly_added_features.md +++ b/src/assets/default-project/en/Newly_added_features.md @@ -235,7 +235,7 @@ Automatically rename paired HTML/XML/SVG tags as you type at the start or end of All new native ChromeOS app is now available on the Google Play Store. The ChromeOS app is a highly requested feature and is specially made for education and student use. -[![Get phcode.io on google play](https://github.com/user-attachments/assets/0a7f20ce-653c-43a8-ac3e-3875ea74df5b)](https://play.google.com/store/apps/details?id=prod.phcode.twa) +[![Get Phoenix Code on google play](https://github.com/user-attachments/assets/0a7f20ce-653c-43a8-ac3e-3875ea74df5b)](https://play.google.com/store/apps/details?id=prod.phcode.twa) ## Drag and Drop Files and Folders in Desktop Apps - Experimental @@ -315,7 +315,7 @@ All new search filters to find exactly what you want. `Search in files` or `Excl Brand new Native Desktop Apps for Mac (M1 and Intel), Linux, and Windows, a milestone release that addresses one of our most requested features. Built from the ground up with the latest Tauri/Rust technology, this update modernizes the core platform with enhanced performance, security, and a seamless cross-platform experience. -Download your copy from [phcode.io](https://phcode.io) +Download your copy from [phcode.dev](https://phcode.dev) ![Desktop apps](https://github.com/phcode-dev/phoenix/assets/5336369/9ea4f9cc-5ebd-4d67-bf36-0a6ae7611767) diff --git a/src/assets/new-project/assets/js/code-editor.js b/src/assets/new-project/assets/js/code-editor.js index 5eea795ef6..e6031c24cd 100644 --- a/src/assets/new-project/assets/js/code-editor.js +++ b/src/assets/new-project/assets/js/code-editor.js @@ -260,7 +260,7 @@ function initCodeEditor() { const banner = document.getElementById("download-phcode-banner"); banner.onclick = function() { Metrics.countEvent(Metrics.EVENT_TYPE.NEW_PROJECT, "getApp.Click", window.top.Phoenix.platform); - window.top.Phoenix.app.openURLInDefaultBrowser("https://phcode.io"); + window.top.Phoenix.app.openURLInDefaultBrowser("https://phcode.dev"); }; if(!window.top.Phoenix.isNativeApp && !window.top.Phoenix.browser.isChromeOS && window.top.Phoenix.browser.isDeskTop) { banner.classList.remove("forced-hidden"); diff --git a/src/assets/phoenix-splash/live-preview-error.html b/src/assets/phoenix-splash/live-preview-error.html index eed67140e5..d35bce94e7 100644 --- a/src/assets/phoenix-splash/live-preview-error.html +++ b/src/assets/phoenix-splash/live-preview-error.html @@ -9,7 +9,7 @@ // innerHTML — that would be reflected XSS. Build the DOM with // textContent and createElement only. The strings are plain text: // mainHeading uses "\n" for line breaks, mainSpan uses "{0}" as - // the placeholder for the phcode.io link. + // the placeholder for the phcode.dev link. function applyTranslations() { const params = Object.fromEntries( new URLSearchParams(window.location.search).entries() @@ -32,9 +32,9 @@ parts.forEach(function(part, i) { if (i > 0) { const a = document.createElement("a"); - a.href = "https://phcode.io"; + a.href = "https://phcode.dev"; a.style.color = "white"; - a.textContent = "phcode.io"; + a.textContent = "phcode.dev"; el.appendChild(a); } el.appendChild(document.createTextNode(part)); @@ -51,7 +51,7 @@

Uh Oh!
Your current browser doesn't support live preview.

- Get the best live preview experience by downloading our native apps for Windows, Mac, and Linux from phcode.io. + Get the best live preview experience by downloading our native apps for Windows, Mac, and Linux from phcode.dev.
diff --git a/src/config.json b/src/config.json index 3c1abc1b27..bf6202c647 100644 --- a/src/config.json +++ b/src/config.json @@ -8,7 +8,7 @@ "about_icon": "styles/images/phoenix-icon.svg", "account_url": "https://account.phcode.dev/", "promotions_url": "https://promotions.phcode.dev/dev/", - "purchase_url": "https://phcode.io/pricing", + "purchase_url": "https://phcode.dev/pricing", "license_url": "https://www.gnu.org/licenses/agpl-3.0.en.html", "how_to_use_url": "https://github.com/adobe/brackets/wiki/How-to-Use-Brackets", "docs_url": "https://docs.phcode.dev/", @@ -17,8 +17,8 @@ "report_issue_url": "https://github.com/phcode-dev/phoenix/issues/new/choose", "get_involved_url": "https://github.com/phcode-dev/phoenix/discussions/77", "release_notes_url": "https://github.com/adobe/brackets/wiki/Release-Notes", - "homepage_url": "https://phcode.io", - "update_download_page": "https://phcode.io/", + "homepage_url": "https://phcode.dev", + "update_download_page": "https://phcode.dev/", "twitter_url": "https://twitter.com/phcodedev", "youtube_url": "https://www.youtube.com/channel/UCNK2a8DKqPQQe3GlfTk-RHg", "troubleshoot_url": "https://github.com/adobe/brackets/wiki/Troubleshooting#wiki-livedev", diff --git a/src/download/index.html b/src/download/index.html index 223e81f5c9..98bc60eca9 100644 --- a/src/download/index.html +++ b/src/download/index.html @@ -14,16 +14,16 @@

Download Phoenix Code

Phoenix Code is a text editor designed to make coding as intuitive and fun as playing a video game - specially crafted for web developers, designers, and students.

- +

- + diff --git a/src/extensionsIntegrated/appUpdater/main.js b/src/extensionsIntegrated/appUpdater/main.js index fbc45a686a..2e6ca8c999 100644 --- a/src/extensionsIntegrated/appUpdater/main.js +++ b/src/extensionsIntegrated/appUpdater/main.js @@ -249,8 +249,8 @@ define(function (require, exports, module) { return; } if(!isUpgradableLoc) { - // user installed linux as binary without installer, we just open phcode.io - const downloadPage = brackets.config.homepage_url || "https://phcode.io"; + // user installed linux as binary without installer, we just open phcode.dev + const downloadPage = brackets.config.homepage_url || "https://phcode.dev"; NativeApp.openURLInDefaultBrowser(downloadPage); Metrics.countEvent(Metrics.EVENT_TYPE.UPDATES, 'dialog', "nonUpgradable"+Phoenix.platform); return; diff --git a/src/extensionsIntegrated/appUpdater/update-electron.js b/src/extensionsIntegrated/appUpdater/update-electron.js index 0c57fdf89c..61f9cb275f 100644 --- a/src/extensionsIntegrated/appUpdater/update-electron.js +++ b/src/extensionsIntegrated/appUpdater/update-electron.js @@ -216,7 +216,7 @@ define(function (require, exports, module) { return; } if(!isUpgradableLoc) { - const downloadPage = brackets.config.homepage_url || "https://phcode.io"; + const downloadPage = brackets.config.homepage_url || "https://phcode.dev"; NativeApp.openURLInDefaultBrowser(downloadPage); Metrics.countEvent(Metrics.EVENT_TYPE.UPDATES, 'dialog', "nonUpgradable"+Phoenix.platform); return; diff --git a/src/index.html b/src/index.html index ffe4788f56..afa8e67f58 100644 --- a/src/index.html +++ b/src/index.html @@ -922,7 +922,7 @@
- phcode.io + phcode.dev