Skip to content

Commit 0109b3c

Browse files
committed
deploy: 606b7d0
1 parent 374c760 commit 0109b3c

Some content is hidden

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

58 files changed

+552
-182
lines changed

appConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ window.AppConfig = {
2828
"app_notification_url": "assets/notifications/dev/",
2929
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
3030
"linting.enabled_by_default": true,
31-
"build_timestamp": "2025-07-05T05:33:32.840Z",
31+
"build_timestamp": "2025-07-06T15:11:22.184Z",
3232
"googleAnalyticsID": "G-P4HJFPDB76",
3333
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3434
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -40,7 +40,7 @@ window.AppConfig = {
4040
"bugsnagEnv": "development"
4141
},
4242
"name": "Phoenix Code",
43-
"version": "4.1.2-21117",
43+
"version": "4.1.2-21122",
4444
"apiVersion": "4.1.2",
4545
"homepage": "https://core.ai",
4646
"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: 54 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -153685,26 +153685,69 @@ define("project/WorkingSetView", function (require, exports, module) {
153685153685
};
153686153686

153687153687
/**
153688-
* Adds full directory names to elements representing passed files in working tree
153688+
* adds the directory name to external project files
153689+
* when the directory length is more than 3, we show it in this format: `<root directory>/.../<parent directory>`
153690+
* otherwise the full path
153689153691
* @private
153690-
* @param {Array.<string>} filesPathList - list of fullPath strings
153692+
* @param {Array.<string>} externalProjectFiles - the list of the external project files
153691153693
*/
153692-
WorkingSetView.prototype._addFullDirectoryNamesToWorkingTreeFiles = function (filesPathList) {
153693-
// filesList must have at least two files in it for this to make sense
153694-
if (!filesPathList.length) {
153694+
WorkingSetView.prototype._addDirectoryNameToExternalProjectFiles = function (externalProjectFiles) {
153695+
if(!externalProjectFiles.length) {
153695153696
return;
153696153697
}
153697153698

153698-
// Go through open files and add directories to appropriate entries
153699153699
this.$openFilesContainer.find("ul > li").each(function () {
153700153700
const $li = $(this);
153701153701
let filePath = $li.data(_FILE_KEY).fullPath;
153702-
const io = filesPathList.indexOf(filePath);
153702+
const io = externalProjectFiles.indexOf(filePath);
153703153703
if (io !== -1) {
153704+
const displayPath = Phoenix.app.getDisplayPath(filePath);
153704153705
let dirPath = path.dirname(filePath);
153705-
dirPath = Phoenix.app.getDisplayPath(dirPath);
153706-
const $dir = $(`<span title='${Phoenix.app.getDisplayPath(filePath)}' class='directory'/>`)
153707-
.html(" &mdash; " + dirPath);
153706+
// this will be displayed on hover GetDisplayPath returns
153707+
// windows: C://some/path , linux/mac: /some/path
153708+
// a relative path of the form `folder/file.txt` (no-leading slash) for fs access paths- /mnt/paths
153709+
// or virtual path if its a browser indexed db - backed path like /fs/virtual/path
153710+
const displayDirPath = Phoenix.app.getDisplayPath(dirPath);
153711+
153712+
let sep;
153713+
if (Phoenix.isNativeApp && brackets.platform === "win") {
153714+
sep = "\\";
153715+
} else {
153716+
sep = "/";
153717+
}
153718+
153719+
// Split the path and filter out empty segments
153720+
let dirSplit = displayDirPath.split(sep).filter(segment => segment !== '');
153721+
153722+
let truncatedPath = displayDirPath; // truncatedPath value will be shown in the UI
153723+
if (dirSplit.length > 3) {
153724+
const rootDirName = dirSplit[0];
153725+
const secondLastSegment = dirSplit[dirSplit.length - 2];
153726+
const lastSeg = dirSplit[dirSplit.length - 1];
153727+
153728+
if (Phoenix.isNativeApp && brackets.platform === "win") {
153729+
// Eg: C:\long\path\to\fileDir - > C:\...\to\fileDir -- [rootDirName = c: here]
153730+
truncatedPath = `${rootDirName}${sep}\u2026${sep}${secondLastSegment}${sep}${lastSeg}`;
153731+
} else if (Phoenix.isNativeApp) {
153732+
// an absolute path of the form /abs/path/to/file in linux/mac desktop
153733+
// Eg: /application/path/to/fileDir - > /application/.../to/fileDir
153734+
truncatedPath = `${sep}${rootDirName}${sep}\u2026${sep}${secondLastSegment}${sep}${lastSeg}`;
153735+
} else if (!Phoenix.isNativeApp && !displayDirPath.startsWith('/')){
153736+
// browser fs access path: `folder/fileDir` (no-leading slash) fs access paths- /mnt/paths
153737+
// Eg: opened/folder/path/to/fileDir - > opened/.../to/fileDir (no-leading slash)
153738+
truncatedPath = `${rootDirName}${sep}\u2026${sep}${secondLastSegment}${sep}${lastSeg}`;
153739+
} else {
153740+
//this is an internal indexed db backed virtual path. This can only happen if we allow virtual
153741+
// project locations from one project to be opened in another. So just print the trim path
153742+
// path in this case. In future, when we add this support, the get display path fn should be
153743+
// modified to give somethings like what we do for fs access path.
153744+
// Eg: /application/path/to/fileDir - > /application/.../to/fileDir
153745+
truncatedPath = `${sep}${rootDirName}${sep}\u2026${sep}${secondLastSegment}${sep}${lastSeg}`;
153746+
}
153747+
}
153748+
153749+
const $dir = $(`<span title='${displayPath}' class='directory'/>`)
153750+
.html(" &mdash; " + truncatedPath);
153708153751
$li.children("a").append($dir);
153709153752
}
153710153753
});
@@ -153768,7 +153811,7 @@ define("project/WorkingSetView", function (require, exports, module) {
153768153811
}
153769153812
});
153770153813

153771-
self._addFullDirectoryNamesToWorkingTreeFiles(externalProjectFiles);
153814+
self._addDirectoryNameToExternalProjectFiles(externalProjectFiles);
153772153815

153773153816
// Go through the map and solve the arrays with length over 1. Ignore the rest.
153774153817
_.forEach(map, function (value) {

cacheManifest.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appConfig.js": "3a7abdf649536546624b811f1822e8b1569fe0959f4507c4f3eaa5b380d11519",
3-
"assets/default-project/en.zip": "ce5ab92abbd9c9111cfe03e79086b2c68703bf15d2f6e9ec085c815ca1d13901",
2+
"appConfig.js": "b6a2bc8df2db67be3b01a7eac6a7f78d71a0b9b0638e50c755ab1105f0e4736e",
3+
"assets/default-project/en.zip": "61e6629e5b681356ff7dc0d0f4f702eafdeca743e2770cab0342fe1ed23b40e5",
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",
@@ -126,7 +126,7 @@
126126
"assets/pwa/32x32.png": "4f8f75bfcdb6efbbed1732f49edab4e292274cdeb1841e285ccc8194f4c9d8ac",
127127
"assets/pwa/phoenix.png": "d292bf76d6d61fdece2f97fb4cd71b8b0060d1058e9c1d02c94bfb20da8b7f0d",
128128
"assets/pwa/Square284x284Logo.png": "9887c2967039b4fae1214817925f1fb4f9227cba12d37612457c1c8ee1110c67",
129-
"assets/sample-projects/bootstrap-blog.zip": "a4ec3ed748e9a1212bad4065eea996f03e57fc9642b2cef5ff3f8bfeb6f5303f",
129+
"assets/sample-projects/bootstrap-blog.zip": "2a4ab0ce1dec62595755c8b1c3c06114e34e8e91ecee5b53e90eaa22bf1ec57d",
130130
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
131131
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
132132
"assets/sample-projects/bootstrap-blog/assets/dist/css/bootstrap.min.css": "fb1763b59f9f5764294b5af9fa5250835ae608282fe6f2f2213a5952aacf1fbf",
@@ -136,7 +136,7 @@
136136
"assets/sample-projects/bootstrap-blog/blog.rtl.css": "33f49d02bbcb2e78f019b7582408fad2b5a76a2ecf79fe09d5b3c08c6ee3872b",
137137
"assets/sample-projects/bootstrap-blog/index-rtl.html": "c582278884060098ff51b9d350b0739e1a0396debdc76772c62b6ec375b6efcb",
138138
"assets/sample-projects/bootstrap-blog/index.html": "f4716c2affa299a27ab6f8c74c22fe67564f1b1d36ff2f0b322672bf0479d739",
139-
"assets/sample-projects/dashboard.zip": "133c30afcecec6f809784c6a2f02c8980aa7062af69d107e776084e2064239df",
139+
"assets/sample-projects/dashboard.zip": "6dd31c94613312eae13d9467de385bd95ea2801a49d6f4a156ff963bab2bffc0",
140140
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
141141
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
142142
"assets/sample-projects/dashboard/assets/dist/css/bootstrap.min.css": "fb1763b59f9f5764294b5af9fa5250835ae608282fe6f2f2213a5952aacf1fbf",
@@ -148,7 +148,7 @@
148148
"assets/sample-projects/dashboard/index.html": "1fb0c934f816d728cad85e180f78369679dc9edb1eca2d5c625b9360e6264235",
149149
"assets/sample-projects/dashboard/signin.css": "083bef710a6170a5112ce257c2ecf8580ca97ce19136d770f10460e5b85862de",
150150
"assets/sample-projects/dashboard/signin.html": "8c602e656631aeee624673397c0dc00c339498914ed930ab177478c4662a8d26",
151-
"assets/sample-projects/explore.zip": "840ec887bd7a8d187823906f5c858199bb256bea665ce99f0b6844752f11e130",
151+
"assets/sample-projects/explore.zip": "68f2c91f7a8fba2b2c5c32236948ce10220df89b88bd580d980157241c3e14e7",
152152
"assets/sample-projects/explore/A-tribute-page.html": "bd510c60f444058b7fcb71d83841f32b1cb5193c1a39421d7739bd6af9fef248",
153153
"assets/sample-projects/explore/adjustable-fireworks.html": "11e69bb2dd8708ed8fbf1acc62b0aaaf88c7ffec859ee958dc1ae51cd53ddac8",
154154
"assets/sample-projects/explore/ant_colony.html": "bc9435ed1b9868f2fbc7212d526f7532c533a5fdf45da988fa5e575bc5f363b7",
@@ -236,7 +236,7 @@
236236
"assets/sample-projects/explore/watermelon-pixel.html": "765a3fbffb5db97910512fbabaa7c55c0b52dc8eedfcc630811be39d0af98663",
237237
"assets/sample-projects/explore/webmine.html": "6b808f52812dc03db28483411500c04daf8ee0226f535c600a36999d6b7837c0",
238238
"assets/sample-projects/explore/whack-a-mole.html": "25be94a3640553b4801f80edd49998bae3a360988e8a26ff3bdfdc2a76b77191",
239-
"assets/sample-projects/home-pages.zip": "306699f1a5bae4fb52622d8ba2dfaa29af7fe76c1ac938d43c5488c5e506f0dc",
239+
"assets/sample-projects/home-pages.zip": "3a2f57ca53927ce70a3b099414d012cf80ec24f68f82608c748ff16e54bf4352",
240240
"assets/sample-projects/home-pages/album/index.html": "e29a1e96644bc17bab1a7e3724e822d65a479e10df182725ee1afa916efbfdc1",
241241
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo-white.svg": "203d56e7e5e15d8203e596d4a711cec986f6380064591de21850f4563fb840bf",
242242
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo.svg": "df11d37a123e36a768f2a6064973c4c6ab17d1e3c6501c8bf434ca5c0134c9a2",
@@ -248,19 +248,19 @@
248248
"assets/sample-projects/home-pages/carousel/index.html": "235d650043a09f2954f24e4659f64d99ef3988858567fb2221fb1cf34df057e6",
249249
"assets/sample-projects/home-pages/cover/cover.css": "2fbb596077c570cad7ee9e98fb88f5665e0ecfc11e7085c3e04639ad03f7bc10",
250250
"assets/sample-projects/home-pages/cover/index.html": "759214701ff759432711b3421d80aca692c7a2b4c978c516a0bcd0c81a43f381",
251-
"assets/sample-projects/HTML5.zip": "0445add1284960ed3b3ba809eed8b6afe1c290a5afdb427bf38bba65ba019f91",
251+
"assets/sample-projects/HTML5.zip": "4df43937e3435e81307158525e84f4221f56c745b580b95c32d3d08b49e7645b",
252252
"assets/sample-projects/HTML5/index.html": "2dc94c7d3e33aeeb44ec4f75bc7df86a5fd19f3121f2fd3638636fbf7c476c6a",
253253
"assets/sample-projects/HTML5/script.js": "c49e4b01cded4defbc21f5d5d0102719ce4cccbe1b9cb19f9232c5a05df658da",
254254
"assets/sample-projects/HTML5/styles.css": "744b85a9c31affbb00976694c4b9c9149b31e575ed9efdec386231d062ae93f2",
255255
"assets/sample-projects/new-project-list.json": "be1c907279163610779b000aa9ea6e4b035e07429203f16445a914c7045f2d64",
256256
"assets/sample-projects/zips/bootstrap.zip": "6f10407c00ce5d598e77f890528743dc645bc28014335483992b481e63fd7b97",
257257
"base-config/keyboard.json": "32ab31d6aeda47bab8bcce276209ca017893f572cb4aa97655fb75baf1a9c123",
258258
"base-config/readme-keyboard.md": "27e98128176dbd060e93b1f321a4ddcd609571b7b8eb8c9112588f4767d08a03",
259-
"brackets-min.js": "2464b07b7f2bd5e0a243e6d90a7a471ee2953d13c161758cbecfeb2b99813606",
259+
"brackets-min.js": "23e25fd2a84a76214ceee42ce0f7fcb660e5c2c86eca9a101ddc3d3eb48f731a",
260260
"brackets.config.dist.json": "8faa5c0a82bb4f49784e93d1225dbd5e1fd8ec6ab07b95f5f874c7c7bd7bb234",
261261
"brackets.config.staging.json": "c0e1f22c772c80f4f5756ab947e40538bcaf7fb7f8925834cfd4ef57c55e477a",
262262
"brackets.js": "9b7cd89217bbabaa45a2cde4b5ba0099b86495a19047b649195bf69ffcf670f4",
263-
"cacheManifest.json": "91b693d0cda527fae46e352b4c9058956b004cca89a032229dba96fddcb0061f",
263+
"cacheManifest.json": "63b74aa92e7b053f9b3fab70e2b64a06e9c333b8a6286e87de5a09adfef47e1d",
264264
"command/ChangeShortcutTemplate.html": "345d682d8bde29380822824778cf09acc79affae6e82b9db00c6205b2b3dd2ee",
265265
"command/CommandManager.js": "10181902fc2e55a780981a17b95c7b579427fdfd12c92ed49df35d3b70f64c15",
266266
"command/Commands.js": "166fe466d645d020c71ab770d8b5f3b95a66b3ef9d9a4e81e0c0aae904f34b9d",
@@ -269,7 +269,7 @@
269269
"command/KeyboardOverlayMode.js": "7170dfcfca59b41252146ef8a5ca4f652c666e33b7a4b411e30e72951bd35b49",
270270
"command/Keys.js": "36545bbbca56d2a909779c5873fa860bf737977588ad61a398acb86f6bcbe4ee",
271271
"command/Menus.js": "8f45da169c25f227364a4a2f3d6b2080ed4e333fc9d2ec5fa0ab737d0a075d3a",
272-
"config.json": "bcfabd88d05e4fe5c1a6c173332f11f2729c563e28ea192d4bad789153547d15",
272+
"config.json": "eb15dab163d5d55eb1028836dc23a7d91022771858ca5408d57b8a5592613fcf",
273273
"desktop-metrics.html": "66f87550ddf04f284a6c1e81567b7dfbefb2b8007f48f0bad7d8f7aacdb11bac",
274274
"devEnable.html": "44aa1a496a8be413299f651e6b0c3e62ac50cd5d40126ad1bb6b70b9b2b818c4",
275275
"document/ChangedDocumentTracker.js": "03b0eaf0995fee6d27c782a8028a1314f61214e383f5f5e198320b2faac4cf40",
@@ -577,7 +577,7 @@
577577
"extensions/default/UrlCodeHints/requirejs-config.json": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
578578
"extensions/default/UrlCodeHints/unittests.js": "c60ecbe81555d435437dc5b7294f4e89b3befb7b34d60c44285c6009807c29c2",
579579
"extensions/dev/README.md": "3fd897e55e0e05e503c898555cfa3b20e820b32946fc7c426ea9bb2afbed449f",
580-
"extensions/registry/popularity.json": "448658466d114fc21077f9251817a47e9700824621a640b41159c03e3f6a6871",
580+
"extensions/registry/popularity.json": "3d1bfd16c27b4420095d9c1ea5165443b168b57ec7ecc2cda4f430cd06cf3352",
581581
"extensions/registry/registry_version.json": "f33aa3f8b711ee8e663eaf21c152e2702fe537cb3332f9d5e790443a7b568ff2",
582582
"extensions/samples/BracketsConfigCentral/htmlContent/Config.html": "6ac3ce03e2fb8913ec5da3e8835c0646894f242600c64d95b77c7d7dc0a156f7",
583583
"extensions/samples/BracketsConfigCentral/htmlContent/logo-sm.png": "006f025fecd24c292e87a1eb0e123ee21178ec9c09517a1f16fe362fe2fbcbb5",
@@ -892,7 +892,7 @@
892892
"project/ProjectModel.js": "eb4226a1348508196efbedb30ebc331f2b0b664fad62eb79f7d8c6088b398935",
893893
"project/SidebarView.js": "799f85972cda0e90d0d588f2f26671fb4f960248570cd9af7c3c2a600ae947b5",
894894
"project/WorkingSetSort.js": "49872d4dbc0a7a58ccd70097dd284e19d1e571a6a122b3a880e2af75758e0dee",
895-
"project/WorkingSetView.js": "9273b6763e0ef601d81b1ed7e7ef7adf7c62423d9034722671561ca3012d6e82",
895+
"project/WorkingSetView.js": "eb0b6afb594e4d9b02160a47516e1df0d4b28ed665c61a984bda14a736effcca",
896896
"robots.txt": "6143f094cdd03cc005dc7fdf99427d29c9ff5a88877d383bc7a07eea6b872348",
897897
"search/FileFilters.js": "c0abec261fd3323d520d48d50ce4bda91a065700904bbecc7e30114a62ba772d",
898898
"search/FindBar.js": "dd1078f083e48fb8263c0087debf2e89a3de1413dd99015476e91c6769daa2b5",

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"app_notification_url": "assets/notifications/dev/",
2828
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
2929
"linting.enabled_by_default": true,
30-
"build_timestamp": "2025-07-05T05:33:32.840Z",
30+
"build_timestamp": "2025-07-06T15:11:22.184Z",
3131
"googleAnalyticsID": "G-P4HJFPDB76",
3232
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3333
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -39,7 +39,7 @@
3939
"bugsnagEnv": "development"
4040
},
4141
"name": "Phoenix Code",
42-
"version": "4.1.2-21117",
42+
"version": "4.1.2-21122",
4343
"apiVersion": "4.1.2",
4444
"homepage": "https://core.ai",
4545
"issues": {

0 commit comments

Comments
 (0)