Skip to content

Commit 47826a8

Browse files
committed
deploy: 606b7d0
1 parent 633b3d0 commit 47826a8

Some content is hidden

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

53 files changed

+268
-92
lines changed

appConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ window.AppConfig = {
2424
"app_notification_url": "assets/notifications/dev/",
2525
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
2626
"linting.enabled_by_default": true,
27-
"build_timestamp": "2024-04-12T08:15:09.823Z",
27+
"build_timestamp": "2024-04-12T10:19:32.401Z",
2828
"googleAnalyticsID": "G-P4HJFPDB76",
2929
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3030
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -36,7 +36,7 @@ window.AppConfig = {
3636
"bugsnagEnv": "development"
3737
},
3838
"name": "Phoenix Code",
39-
"version": "3.6.1-20132",
39+
"version": "3.6.1-20133",
4040
"apiVersion": "3.6.1",
4141
"homepage": "https://core.ai",
4242
"issues": {

assets/default-project/en.zip

0 Bytes
Binary file not shown.

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 Bytes
Binary file not shown.

brackets-min.js

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13727,10 +13727,10 @@ define("document/DocumentCommandHandlers", function (require, exports, module) {
1372713727
if(filePath && filePath.startsWith(projectRootPath)){
1372813728
const relativePath = path.relative(projectRootPath, filePath);
1372913729
if(DEFAULT_PROJECT_FILES[relativePath] || relativePath.startsWith("images")){
13730-
return `${eventCategory}.D`;
13730+
return eventCategory === METRIC_FILE_SAVE ? "defaultFileSave" : "defaultFileOp";
1373113731
}
1373213732
}
13733-
return `${eventCategory}.+`;
13733+
return `${eventCategory}`;
1373413734
}
1373513735

1373613736
/**
@@ -36554,6 +36554,7 @@ define("extensionsIntegrated/Phoenix-live-preview/LivePreviewSettings", function
3655436554
ProjectManager = require("project/ProjectManager"),
3655536555
Strings = require("strings"),
3655636556
utils = require('./utils'),
36557+
Metrics = require("utils/Metrics"),
3655736558
FileSystem = require("filesystem/FileSystem"),
3655836559
PreferencesManager = require("preferences/PreferencesManager"),
3655936560
EventDispatcher = require("utils/EventDispatcher"),
@@ -36676,6 +36677,7 @@ define("extensionsIntegrated/Phoenix-live-preview/LivePreviewSettings", function
3667636677
$livePreviewServerURL.val(PreferencesManager.get(PREFERENCE_PROJECT_SERVER_URL));
3667736678
$serveRoot.val(PreferencesManager.get(PREFERENCE_PROJECT_SERVER_PATH));
3667836679
refreshValues();
36680+
Metrics.countEvent(Metrics.EVENT_TYPE.LIVE_PREVIEW, "settings", "dialog");
3667936681
Dialogs.showModalDialogUsingTemplate($template).done(function (id) {
3668036682
if (id === "save") {
3668136683
PreferencesManager.set(PREFERENCE_SHOW_LIVE_PREVIEW_PANEL, $showLivePreviewAtStartup.is(":checked"));
@@ -36743,6 +36745,10 @@ define("extensionsIntegrated/Phoenix-live-preview/LivePreviewSettings", function
3674336745
return `${customServer.serverURL}${pathRelativeToServeRoot}`;
3674436746
}
3674536747

36748+
function getCustomServerFramework() {
36749+
return PreferencesManager.get(PREFERENCE_PROJECT_PREVIEW_FRAMEWORK);
36750+
}
36751+
3674636752
function isUsingCustomServer() {
3674736753
return !!_resolveServer();
3674836754
}
@@ -36761,6 +36767,7 @@ define("extensionsIntegrated/Phoenix-live-preview/LivePreviewSettings", function
3676136767
exports.showSettingsDialog = showSettingsDialog;
3676236768
exports.getCustomServerConfig = getCustomServerConfig;
3676336769
exports.isUsingCustomServer = isUsingCustomServer;
36770+
exports.getCustomServerFramework = getCustomServerFramework;
3676436771
exports.serverSupportsHotReload = serverSupportsHotReload;
3676536772
exports.shouldShowLivePreviewAtStartup = shouldShowLivePreviewAtStartup;
3676636773
// events
@@ -38491,6 +38498,7 @@ define("extensionsIntegrated/Phoenix-live-preview/main", function (require, expo
3849138498

3849238499
async function _projectOpened(_evt) {
3849338500
_openReadmeMDIfFirstTime();
38501+
_customServerMetrics();
3849438502
if(!LiveDevelopment.isActive()
3849538503
&& (panel.isVisible() || StaticServer.hasActiveLivePreviews())) {
3849638504
// we do this only once after project switch if live preview for a doc is not active.
@@ -38573,6 +38581,17 @@ define("extensionsIntegrated/Phoenix-live-preview/main", function (require, expo
3857338581
});
3857438582
}
3857538583

38584+
function _customServerMetrics() {
38585+
if(LivePreviewSettings.isUsingCustomServer()){
38586+
Metrics.countEvent(Metrics.EVENT_TYPE.LIVE_PREVIEW, "customServ", "yes");
38587+
Metrics.countEvent(Metrics.EVENT_TYPE.LIVE_PREVIEW, "framework",
38588+
LivePreviewSettings.getCustomServerFramework() || "unknown");
38589+
if(LivePreviewSettings.serverSupportsHotReload()) {
38590+
Metrics.countEvent(Metrics.EVENT_TYPE.LIVE_PREVIEW, "hotReload", "yes");
38591+
}
38592+
}
38593+
}
38594+
3857638595
AppInit.appReady(function () {
3857738596
if(Phoenix.isSpecRunnerWindow){
3857838597
return;
@@ -38633,7 +38652,10 @@ define("extensionsIntegrated/Phoenix-live-preview/main", function (require, expo
3863338652
customServerRefreshedOnce = true;
3863438653
refreshPreview();
3863538654
});
38636-
LivePreviewSettings.on(LivePreviewSettings.EVENT_SERVER_CHANGED, refreshPreview);
38655+
LivePreviewSettings.on(LivePreviewSettings.EVENT_SERVER_CHANGED, ()=>{
38656+
refreshPreview();
38657+
_customServerMetrics();
38658+
});
3863738659

3863838660
let consecutiveEmptyClientsCount = 0;
3863938661
setInterval(()=>{

cacheManifest.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appConfig.js": "d37844ed25c67ef4f0b7e2baa323882d4da457ff6a33e8bc3851848de16ac12c",
3-
"assets/default-project/en.zip": "8ed0b3f30ab4b6f2c7b3c9db211e9792d8cc2f339726d2d4da10d985b0a4598c",
2+
"appConfig.js": "89459bcd1d6d714c53c820cb3ad769975fe59a3aa8182a3f333fc3cd7c720a05",
3+
"assets/default-project/en.zip": "1ed2e84a713ac2b42362901cd550b58f775144b814009465392465abfe0c7e6b",
44
"assets/default-project/en/images/cloud1.svg": "527399dadfa3357c3ee1a63d6c1c7dda81ecebb832f7383db26f1aaeaf722a8d",
55
"assets/default-project/en/images/cloud2.svg": "8127c63c0987bc674e2d25f7d24ead017853326c1e43d07706fec46091904418",
66
"assets/default-project/en/images/cloud3.svg": "15de53aa41dea3b0f685292814563f97213a9736c3cec2f8e17b5d9d45b3ae3d",
@@ -125,7 +125,7 @@
125125
"assets/pwa/32x32.png": "4f8f75bfcdb6efbbed1732f49edab4e292274cdeb1841e285ccc8194f4c9d8ac",
126126
"assets/pwa/phoenix.png": "d292bf76d6d61fdece2f97fb4cd71b8b0060d1058e9c1d02c94bfb20da8b7f0d",
127127
"assets/pwa/Square284x284Logo.png": "9887c2967039b4fae1214817925f1fb4f9227cba12d37612457c1c8ee1110c67",
128-
"assets/sample-projects/bootstrap-blog.zip": "96982ccd5b11257590df6e5bc3422f56428711ed3f0de1e0ea800a4448479b26",
128+
"assets/sample-projects/bootstrap-blog.zip": "6169386aeeae278af6bd2180b5e4bb0a45064b301e7d45b77d43e046797d0299",
129129
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
130130
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
131131
"assets/sample-projects/bootstrap-blog/assets/dist/css/bootstrap.min.css": "fb1763b59f9f5764294b5af9fa5250835ae608282fe6f2f2213a5952aacf1fbf",
@@ -135,7 +135,7 @@
135135
"assets/sample-projects/bootstrap-blog/blog.rtl.css": "33f49d02bbcb2e78f019b7582408fad2b5a76a2ecf79fe09d5b3c08c6ee3872b",
136136
"assets/sample-projects/bootstrap-blog/index-rtl.html": "c582278884060098ff51b9d350b0739e1a0396debdc76772c62b6ec375b6efcb",
137137
"assets/sample-projects/bootstrap-blog/index.html": "f4716c2affa299a27ab6f8c74c22fe67564f1b1d36ff2f0b322672bf0479d739",
138-
"assets/sample-projects/dashboard.zip": "4285828d88aa67124fa87988ec731aac846c5ba6df031eaa1d4ab815150fbd39",
138+
"assets/sample-projects/dashboard.zip": "d71473026b8665240b66a7f940a924e3dc7db710fcf94444effabc408cff0dd8",
139139
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
140140
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
141141
"assets/sample-projects/dashboard/assets/dist/css/bootstrap.min.css": "fb1763b59f9f5764294b5af9fa5250835ae608282fe6f2f2213a5952aacf1fbf",
@@ -147,7 +147,7 @@
147147
"assets/sample-projects/dashboard/index.html": "1fb0c934f816d728cad85e180f78369679dc9edb1eca2d5c625b9360e6264235",
148148
"assets/sample-projects/dashboard/signin.css": "083bef710a6170a5112ce257c2ecf8580ca97ce19136d770f10460e5b85862de",
149149
"assets/sample-projects/dashboard/signin.html": "8c602e656631aeee624673397c0dc00c339498914ed930ab177478c4662a8d26",
150-
"assets/sample-projects/explore.zip": "42d699de6d7a00c69053efd43796a51fee7c6b6aec480f3652387176d973743a",
150+
"assets/sample-projects/explore.zip": "cf2fe16e309116c10992d8cf4ea54d4433024ccdf8708eb2cab18a277217b665",
151151
"assets/sample-projects/explore/A-tribute-page.html": "bd510c60f444058b7fcb71d83841f32b1cb5193c1a39421d7739bd6af9fef248",
152152
"assets/sample-projects/explore/adjustable-fireworks.html": "11e69bb2dd8708ed8fbf1acc62b0aaaf88c7ffec859ee958dc1ae51cd53ddac8",
153153
"assets/sample-projects/explore/ant_colony.html": "bc9435ed1b9868f2fbc7212d526f7532c533a5fdf45da988fa5e575bc5f363b7",
@@ -237,7 +237,7 @@
237237
"assets/sample-projects/explore/watermelon-pixel.html": "765a3fbffb5db97910512fbabaa7c55c0b52dc8eedfcc630811be39d0af98663",
238238
"assets/sample-projects/explore/webmine.html": "6b808f52812dc03db28483411500c04daf8ee0226f535c600a36999d6b7837c0",
239239
"assets/sample-projects/explore/whack-a-mole.html": "25be94a3640553b4801f80edd49998bae3a360988e8a26ff3bdfdc2a76b77191",
240-
"assets/sample-projects/home-pages.zip": "a06bd1bc7d9386de91efe690575eaf2ce1e02e022f0f38177a7361a53770a373",
240+
"assets/sample-projects/home-pages.zip": "b7e5525133be8a3c7dcf29ce0168f0b75a6feec021272918800f4143c6912c1e",
241241
"assets/sample-projects/home-pages/album/index.html": "e29a1e96644bc17bab1a7e3724e822d65a479e10df182725ee1afa916efbfdc1",
242242
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
243243
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
@@ -249,19 +249,19 @@
249249
"assets/sample-projects/home-pages/carousel/index.html": "235d650043a09f2954f24e4659f64d99ef3988858567fb2221fb1cf34df057e6",
250250
"assets/sample-projects/home-pages/cover/cover.css": "2fbb596077c570cad7ee9e98fb88f5665e0ecfc11e7085c3e04639ad03f7bc10",
251251
"assets/sample-projects/home-pages/cover/index.html": "759214701ff759432711b3421d80aca692c7a2b4c978c516a0bcd0c81a43f381",
252-
"assets/sample-projects/HTML5.zip": "0d361ca7a33d47a68bee5c1865c7ea152584768dfbf03e0b9054be493ea400d9",
252+
"assets/sample-projects/HTML5.zip": "eb743079d63f762472b61cf58bc562adc5667aadc4d9845ca2736c54217c39cf",
253253
"assets/sample-projects/HTML5/index.html": "2dc94c7d3e33aeeb44ec4f75bc7df86a5fd19f3121f2fd3638636fbf7c476c6a",
254254
"assets/sample-projects/HTML5/script.js": "c49e4b01cded4defbc21f5d5d0102719ce4cccbe1b9cb19f9232c5a05df658da",
255255
"assets/sample-projects/HTML5/styles.css": "744b85a9c31affbb00976694c4b9c9149b31e575ed9efdec386231d062ae93f2",
256256
"assets/sample-projects/new-project-list.json": "be1c907279163610779b000aa9ea6e4b035e07429203f16445a914c7045f2d64",
257257
"assets/sample-projects/zips/bootstrap.zip": "6f10407c00ce5d598e77f890528743dc645bc28014335483992b481e63fd7b97",
258258
"base-config/keyboard.json": "fc032682675e1f7d576374b080b97aaaa48a69ab47f15dab1c7f112853024f3d",
259259
"base-config/readme-keyboard.md": "27e98128176dbd060e93b1f321a4ddcd609571b7b8eb8c9112588f4767d08a03",
260-
"brackets-min.js": "bd6229024cddd3eff3d5103d4cfad746012f66ad7d7b375f5180ba77495de2b3",
260+
"brackets-min.js": "0b17294185f8a33158bf116c32db23c4ce103ab3f4fd530026b94c7c50ccb28d",
261261
"brackets.config.dist.json": "8faa5c0a82bb4f49784e93d1225dbd5e1fd8ec6ab07b95f5f874c7c7bd7bb234",
262262
"brackets.config.staging.json": "c0e1f22c772c80f4f5756ab947e40538bcaf7fb7f8925834cfd4ef57c55e477a",
263263
"brackets.js": "99c6af562437e2e3afa91901dd40b9fbcccb4425a9765b3dac5dd2cfec984e20",
264-
"cacheManifest.json": "ffef62d951da64117e8b65f08b0829f61328aa481ad3c8e90211f37abd71a923",
264+
"cacheManifest.json": "d0e222139a28b632500448239aa24a28540222880438a6681650e0f23d945e39",
265265
"command/ChangeShortcutTemplate.html": "345d682d8bde29380822824778cf09acc79affae6e82b9db00c6205b2b3dd2ee",
266266
"command/CommandManager.js": "0600518322584495bbbfae76ed2bb39e416de3735ee65b12c63a2b3e6b3423ca",
267267
"command/Commands.js": "008f1272f46500c042fc574ba7686f0fa35b4c2885f40b05e27e828aee291eea",
@@ -270,12 +270,12 @@
270270
"command/KeyboardOverlayMode.js": "46a9aee18e36a7861fd0f0ae46d765cb30b079a6a5f00b21fbf1e3acd91dacee",
271271
"command/Keys.js": "31cd87a01ce41de28e56ccbdd4fa14866cccc2b7bcde61c5134095adaa5cb674",
272272
"command/Menus.js": "c31266bdd68f4c83e2aed71a6a89551d51bc63b3ed66e67dec94e1d9ae77859f",
273-
"config.json": "329a06a1ea0edb773e89add7b5c72862e071c57ee0d28cc60fd11ddc97a5bb20",
273+
"config.json": "966b40b518fed5bf08810dbbbc0bc248233d8fb68352458e88a9892d001f7695",
274274
"desktop-metrics.html": "ca46d36aec85f715746d1b90af09664c98e17b8262e5b141eee69bdb9d2b1c89",
275275
"devEnable.html": "44aa1a496a8be413299f651e6b0c3e62ac50cd5d40126ad1bb6b70b9b2b818c4",
276276
"document/ChangedDocumentTracker.js": "03b0eaf0995fee6d27c782a8028a1314f61214e383f5f5e198320b2faac4cf40",
277277
"document/Document.js": "e8d31eb2bdcbc72bf616e0add6f6372ab483a074d6b32c3d268fb431f1f86281",
278-
"document/DocumentCommandHandlers.js": "8a3b53874025557c8921dd69464c6c4cdef393b8e790a79b2008ffc09ceac180",
278+
"document/DocumentCommandHandlers.js": "c9e58dcde0126059b973983d261944f0ad4448d828cc40b5a0a7b213c48f4407",
279279
"document/DocumentManager.js": "d010497d0e190b21fd0c66092e3997331ba58485992d32fd6a913632be8050eb",
280280
"document/InMemoryFile.js": "7ae9dbae506e8cfd8d6db74c3c65bf07e93779e8a5a503cb0031841209c15fda",
281281
"document/TextRange.js": "6e5312ca03ed80864092da7347de08a5db17b659ab08fab72cb4786c07abe157",
@@ -561,8 +561,8 @@
561561
"extensionsIntegrated/Phoenix-live-preview/images/sprites.svg": "557c0e3a7cc3d5fa40f315cec9f2923af936b0caa0671b6c3d9c32d067885625",
562562
"extensionsIntegrated/Phoenix-live-preview/live-preview.css": "1ab53e2209ee05e95288442d752b659172130238c6f12e9b6fee924b3723fb9a",
563563
"extensionsIntegrated/Phoenix-live-preview/livePreviewSettings.html": "8f334e187b63e341bee6e3a54f0488dca718ff90b96089d98f26f2a8f05e8c31",
564-
"extensionsIntegrated/Phoenix-live-preview/LivePreviewSettings.js": "732d30674e980b9ec7a747e4b83dfe308080f2496c6074f05721b82195ea3814",
565-
"extensionsIntegrated/Phoenix-live-preview/main.js": "b2f78a92445b7ba30a0440496221446000dde987a999a1e11c37d80d50979faf",
564+
"extensionsIntegrated/Phoenix-live-preview/LivePreviewSettings.js": "7c537122f2a38812cce56d25410529519889693dc1a44efef164aa38785b1b11",
565+
"extensionsIntegrated/Phoenix-live-preview/main.js": "255d372e44096bf2157e04e3295a2763d35a516bd920af970ddc4d7359ad0b03",
566566
"extensionsIntegrated/Phoenix-live-preview/markdown.html": "cdd4a33b150f1426c44401eebac8965cd7168a022db71a30428e6e549d45c10d",
567567
"extensionsIntegrated/Phoenix-live-preview/NodeStaticServer.js": "e2e0a236ca8b5aa64d9cb4ddbaffce576df3bf6e136488db5d7dacd47bead881",
568568
"extensionsIntegrated/Phoenix-live-preview/panel.html": "7822f5fbba843e4c7bb1eeba3847ed2158f65427c2d99864aa8e33af6c5def90",

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"app_notification_url": "assets/notifications/dev/",
2424
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
2525
"linting.enabled_by_default": true,
26-
"build_timestamp": "2024-04-12T08:15:09.823Z",
26+
"build_timestamp": "2024-04-12T10:19:32.401Z",
2727
"googleAnalyticsID": "G-P4HJFPDB76",
2828
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
2929
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -35,7 +35,7 @@
3535
"bugsnagEnv": "development"
3636
},
3737
"name": "Phoenix Code",
38-
"version": "3.6.1-20132",
38+
"version": "3.6.1-20133",
3939
"apiVersion": "3.6.1",
4040
"homepage": "https://core.ai",
4141
"issues": {

0 commit comments

Comments
 (0)