Skip to content

Commit c5e14fd

Browse files
committed
deploy: 23c910a
1 parent e39fa8c commit c5e14fd

File tree

265 files changed

+3484
-334
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

265 files changed

+3484
-334
lines changed

appConfig.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ window.AppConfig = {
2222
"extension_url": "https://extensions.phcode.dev/extensions/",
2323
"extension_store_url": "https://store.core.ai/src/",
2424
"linting.enabled_by_default": true,
25-
"build_timestamp": "2023-02-24T08:01:32.603Z",
25+
"build_timestamp": "2023-03-14T07:49:38.989Z",
2626
"googleAnalyticsID": "G-P4HJFPDB76",
2727
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
2828
"coreAnalyticsID": "phoenix",
@@ -32,8 +32,8 @@ window.AppConfig = {
3232
"bugsnagEnv": "development"
3333
},
3434
"name": "Phoenix",
35-
"version": "3.1.14-19198",
36-
"apiVersion": "3.1.14",
35+
"version": "3.1.15-19223",
36+
"apiVersion": "3.1.15",
3737
"homepage": "https://core.ai",
3838
"issues": {
3939
"url": "https://github.com/phcode-dev/phoenix/issues"

assets/default-project/en.zip

266 Bytes
Binary file not shown.

assets/default-project/en/Newly_added_features.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ We are continuously adding features every week to improve the life of web develo
88

99
List of features added to phoenix:
1010

11+
## Create and Publish extensions
12+
`Added on March,2023`
13+
14+
Creating extensions and themes is now easier than ever with a single click in GitHub. We have added workflows to:
15+
* Create a [Theme](https://github.com/phcode-dev/theme-template) or [Extension](https://github.com/phcode-dev/extension-template) with a single click.
16+
* Load/unload development extensions with new `Debug> Reload With Extensions` menu. ![image](https://user-images.githubusercontent.com/5336369/224746152-0416a862-891a-4fe1-b9dd-09add25a6cc0.png)
17+
* [Publish an extension](https://github.com/phcode-dev/phoenix/wiki/How-To-Write-Extensions-And-Themes#publishing-to-the-extensiontheme-store)
18+
directly from your GitHub repo by creating a GitHub release!
19+
1120
## Extensions and Themes Store
1221
`Added on January,2023`
1322

assets/new-project/assets/js/code-editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function _updateProjectCards() {
9191
if(!showRecentProjects){
9292
$("#recentProjectsContainer").addClass("forced-hidden");
9393
$("#noProjectContainer").removeClass("forced-hidden");
94-
let videoHtml = `<iframe id="noProjectIframe" style="align-items: center" src="https://www.youtube.com/embed/Nqukd9oU060" title="YouTube video player"
94+
let videoHtml = `<iframe id="noProjectIframe" style="align-items: center" src="https://www.youtube.com/embed/vtks0cus0hA" title="YouTube video player"
9595
frameBorder="0"
9696
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
9797
allowFullScreen></iframe>`;

assets/new-project/assets/js/new-project-more.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ let $sampleProjectsList;
2828
function _getIconURL(iconURL) {
2929
if(iconURL === 'bootstrap'){
3030
return 'images/Bootstrap_logo.svg';
31+
} else if(iconURL === 'appLogo'){
32+
return 'images/logo.png';
3133
} else if(iconURL && (iconURL.startsWith("https://") || iconURL.startsWith("http://"))){
3234
return iconURL;
3335
}
@@ -39,13 +41,28 @@ function navigateToURL(url, metricLabel) {
3941
location.href = url;
4042
}
4143

44+
function _openURL(title, url) {
45+
Metrics.countEvent(Metrics.EVENT_TYPE.NEW_PROJECT, "moreProjects.Click", title);
46+
window.parent.brackets.app.openURLInDefaultBrowser(url);
47+
}
48+
4249
function _addProjectEntries($projectList, sampleProjectsList, sectionTag) {
4350
let projects = sampleProjectsList.sections[sectionTag];
4451
for(let project of Object.keys(projects)){
4552
let projectDetails = sampleProjectsList.sections[sectionTag][project];
4653
let licenseDetails = sampleProjectsList.LICENCES[projectDetails.LICENCES];
4754
let translatedTitle = Strings[projectDetails.title] || projectDetails.title || project;
4855
let previewURL = getPhoenixAbsURL(projectDetails.previewURL);
56+
if(projectDetails.externalURL){
57+
$projectList.append(`<li>
58+
<a class="tabable" tabindex="1" href="#"
59+
onclick="_openURL('${projectDetails.title}', '${projectDetails.externalURL}')">
60+
<img alt="image" src="${_getIconURL(projectDetails.iconURL)}">
61+
<span>${translatedTitle}</span>
62+
</a>
63+
</li>`);
64+
continue;
65+
}
4966
let zipURL = getPhoenixAbsURL(projectDetails.zipURL);
5067
let url = getNewProjectFromURL(zipURL, translatedTitle, translatedTitle,
5168
{

assets/new-project/new-project-more.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</div>
5656
<div class="editor-project-content d-flex justify-content-between flex-1-1-auto flex-column-fill">
5757
<div class="project-content-left-full w-100 flex-1-1-auto flex-column-fill">
58-
<div id="sampleProjectsList" class="project-content-inner new-project-content flex-1-1-auto flex-column-fill">
58+
<div id="sampleProjectsList" class="project-content-inner new-project-content" style="height: 80%;">
5959
</div>
6060
</div>
6161
</div>

assets/sample-projects/HTML5.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

assets/sample-projects/explore.zip

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)