Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions src/assets/default-project/en/Newly_added_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/assets/new-project/assets/js/code-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
8 changes: 4 additions & 4 deletions src/assets/phoenix-splash/live-preview-error.html
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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));
Expand All @@ -51,7 +51,7 @@
<div id="MainText" class="safari-text">
<h2 id="mainHeading">Uh Oh!<br>Your current browser doesn't support live preview.</h2>
<span id="mainSpan">
Get the best live preview experience by downloading our native apps for Windows, Mac, and Linux from <a href="https://phcode.io" style="color: white">phcode.io</a>.
Get the best live preview experience by downloading our native apps for Windows, Mac, and Linux from <a href="https://phcode.dev" style="color: white">phcode.dev</a>.
</span><br>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/",
Expand All @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions src/download/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ <h1>Download Phoenix Code</h1>
<span>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.</span>
<br><br>
<div style="display: flex; justify-content: center; align-items: center;">
<a href="https://phcode.io" style="cursor:pointer;">
<a href="https://phcode.dev" style="cursor:pointer;">
<img src="../images/microsoft-windows-logo-svg.svg" width="50px" style="margin-right: 20px"/>
<img src="../images/MacOS_logo.svg" width="50px" style="margin-right: 10px"/>
<img src="../images/linux.svg" width="60px"/>
</a>
</div>
<br>
<a href="https://phcode.io" style="cursor:pointer;">
<a href="https://phcode.dev" style="cursor:pointer;">
<button id="load-status-display-btn" class="primary-button">
Download from phcode.io
Download from phcode.dev
</button>
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/extensionsIntegrated/appUpdater/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/extensionsIntegrated/appUpdater/update-electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@
<div id="newProject" class="new-project-btn btn-alt-quiet"></div>
</div>
<div>
<a id="phcode-io-main-nav" href="https://phcode.io" target="_blank" rel="noopener">phcode.io</a>
<a id="phcode-io-main-nav" href="https://phcode.dev" target="_blank" rel="noopener">phcode.dev</a>
</div>
<div id="mainNavBarRight">
<div id="navBackButton" class="nav-back-btn btn-alt-quiet"><i class="fa-solid fa-arrow-left"></i></div>
Expand Down
6 changes: 3 additions & 3 deletions src/nls/root/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,7 @@ define({
"UPDATE_FAILED_TITLE": "Update Failed",
"UPDATE_INSTALLING": "Installing Update\u2026",
"UPDATE_INSTALLING_MESSAGE": "Update Installation in Progress: {APP_NAME} is currently installing the latest updates. The application will automatically close once the installation is complete.",
"UPDATE_FAILED_MESSAGE": "Please close all {APP_NAME} app windows and reopen the application to attempt the update again. <br/> You can also install the update by downloading the installer from <a href='https://phcode.io'>phcode.io</a>",
"UPDATE_FAILED_MESSAGE": "Please close all {APP_NAME} app windows and reopen the application to attempt the update again. <br/> You can also install the update by downloading the installer from <a href='https://phcode.dev'>phcode.dev</a>",
"UPDATE_FAILED_VISIT_SITE_MESSAGE": "To retry, please exit all instances of {APP_NAME} and restart the application. <br>You will be directed to our download page shortly, where you can manually download the latest version.",
"UPDATE_MESSAGE": "Hey, there's a new build of {APP_NAME} available. Here are some of the new features:",
"GET_IT_NOW": "Get it now!",
Expand Down Expand Up @@ -1728,7 +1728,7 @@ define({
"DESCRIPTION_HTML_LINT_DISABLE": "true to disable HTML linter in problems panel",
"DESCRIPTION_CODE_INTEL_AUTO_CREATE": "false to stop {APP_NAME} from creating a jsconfig.json/tsconfig.json for code intelligence when opening projects. If you delete a created config, you can re-enable code intelligence from the Problems panel.",
"DESCRIPTION_ESLINT_FAILED": "ESLint Failed ({0}). Make sure the project contains valid <a href='https://eslint.org/docs/latest/use/configure/configuration-files'>Configuration Files</a>",
"DESCRIPTION_ESLINT_USE_NATIVE_APP": "ESLint is only available in the Desktop app. Download it from <a href='https://phcode.io'>phcode.io</a>",
"DESCRIPTION_ESLINT_USE_NATIVE_APP": "ESLint is only available in the Desktop app. Download it from <a href='https://phcode.dev'>phcode.dev</a>",
"DESCRIPTION_ESLINT_LOAD_FAILED": "Failed to load ESLint for this project. {APP_NAME} supports only ESLint versions above 7.",
"DESCRIPTION_ESLINT_DO_NPM_INSTALL": "Please run `npm install` on your project to enable ESLint",
"DESCRIPTION_LANGUAGE": "Language specific settings",
Expand Down Expand Up @@ -1978,7 +1978,7 @@ define({
"UNSUPPORTED_BROWSER_OPEN_FOLDER_TITLE": "Local Folder Access Unsupported by Browser",
"UNSUPPORTED_BROWSER_OPEN_FOLDER": "Sorry, it looks like your current browser doesn't support opening local folders. For this feature, we recommend using Chrome, Edge, or Opera. <br/><br/>Alternatively, we're working on developing native apps for Windows, Mac, Linux, iOS, and Android to provide full support. <a href=\"https://github.com/phcode-dev/phoenix/discussions/1047\" target=\"_blank\">Stay tuned for updates!</a>",
"ATTENTION_SAFARI_USERS": "Attention Safari Users",
"ATTENTION_SAFARI_USERS_MESSAGE": "<span>Safari automatically deletes website data if a site is not revisited within 7 days. {APP_NAME} relies on browser storage to save your projects, which may be removed due to this policy. <br/> <br/>It is recommended to<strong> download the macOS desktop app</strong> from <a href='https://phcode.io' target='_blank' style='color: white'>https://phcode.io</a></span>",
"ATTENTION_SAFARI_USERS_MESSAGE": "<span>Safari automatically deletes website data if a site is not revisited within 7 days. {APP_NAME} relies on browser storage to save your projects, which may be removed due to this policy. <br/> <br/>It is recommended to<strong> download the macOS desktop app</strong> from <a href='https://phcode.dev' target='_blank' style='color: white'>https://phcode.dev</a></span>",
"CANNOT_PUBLISH_LARGE_PROJECT": "Cannot Publish Large Project",
"CANNOT_PUBLISH_LARGE_PROJECT_MESSAGE": "Phoenix is still in experimental alpha. We have not yet enabled sync of projects with greater than 500 files.",
"SHARE_WEBSITE": "Publish and Share Website?",
Expand Down
3 changes: 1 addition & 2 deletions src/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ User-agent: Googlebot
Disallow: /assets/
Disallow: /test/

# XML sitemaps
# XML sitemap
Sitemap: https://web.phcode.dev/sitemap-phcode.xml
Sitemap: https://sitemaps.phcode.io/sitemap-phcode.xml

# more sitemap urls can be given here, but just 1 for now.
3 changes: 1 addition & 2 deletions src/sitemap-phcode.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<!-- Please also modify the file at sitemaps.phcode.io/sitemap-phcode.xml if modifying this file-->
<url>
<loc>https://web.phcode.dev/download/</loc>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://phcode.io/</loc>
<loc>https://phcode.dev/</loc>
<changefreq>daily</changefreq>
</url>
<url>
Expand Down
2 changes: 1 addition & 1 deletion src/utils/Metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ define(function (require, exports, module) {

// GA4 derives campaign attribution by parsing `page_location`. We deliberately
// do not send the real URL (it can carry project paths and file names), so an
// inbound `?utm_source=...` handoff from phcode.io would otherwise be invisible
// inbound `?utm_source=...` handoff from phcode.dev would otherwise be invisible
// and every such session would be reported as direct/none. Allow-list only the
// six standard campaign keys back into `page_location`; everything else in the
// query string is still dropped.
Expand Down
2 changes: 1 addition & 1 deletion tracking-repos.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"phoenixPro": {
"commitID": "0c91e9c172dca8172a76df1977972ea4c5c8272f"
"commitID": "a893a58b16729cb2d123fbbbf6aa8c129dda7c14"
}
}
Loading