Skip to content

Commit e88be90

Browse files
committed
deploy: 8a905e4
1 parent 110890b commit e88be90

27 files changed

Lines changed: 180 additions & 70 deletions

‎appConfig.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ window.AppConfig = {
2323
"extension_store_url": "https://store.core.ai/src/",
2424
"app_notification_url": "assets/notifications/dev/",
2525
"linting.enabled_by_default": true,
26-
"build_timestamp": "2024-01-17T09:50:03.005Z",
26+
"build_timestamp": "2024-01-17T16:16:27.659Z",
2727
"googleAnalyticsID": "G-P4HJFPDB76",
2828
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
2929
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -34,7 +34,7 @@ window.AppConfig = {
3434
"bugsnagEnv": "development"
3535
},
3636
"name": "Phoenix",
37-
"version": "3.2.19-19724",
37+
"version": "3.2.19-19727",
3838
"apiVersion": "3.2.19",
3939
"homepage": "https://core.ai",
4040
"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 & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111398,10 +111398,12 @@ define("project/ProjectManager", function (require, exports, module) {
111398111398
OPERATION_COPY = 'copy';
111399111399

111400111400
function _registerPathWithClipboard(path, operation) {
111401-
Phoenix.app.copyToClipboard(window.path.basename(path));
111401+
const clipboardText = window.path.basename(path);
111402+
Phoenix.app.copyToClipboard(clipboardText);
111402111403
PhStore.setItem(CLIPBOARD_SYNC_KEY, {
111403111404
operation: operation,
111404-
path: path
111405+
path: path,
111406+
clipboardText: clipboardText
111405111407
});
111406111408
}
111407111409

@@ -111486,13 +111488,16 @@ define("project/ProjectManager", function (require, exports, module) {
111486111488
});
111487111489
}
111488111490

111489-
function _isSubPathOf(dir, subDir) {
111491+
function _isSameOrSubPathOf(dir, subDir) {
111492+
if(dir === subDir){
111493+
return true;
111494+
}
111490111495
const relative = window.path.relative(dir, subDir);
111491111496
return relative && !relative.startsWith('..') && !window.path.isAbsolute(relative);
111492111497
}
111493111498

111494111499
async function _validatePasteTarget(srcEntry, targetEntry) {
111495-
if(_isSubPathOf(srcEntry.fullPath, targetEntry.fullPath)){
111500+
if(_isSameOrSubPathOf(srcEntry.fullPath, targetEntry.fullPath)){
111496111501
_showErrorDialog(ERR_TYPE_PASTE_FAILED, srcEntry.isDirectory, "err",
111497111502
_getProjectDisplayNameOrPath(srcEntry.fullPath),
111498111503
_getProjectDisplayNameOrPath(targetEntry.fullPath));
@@ -111551,19 +111556,31 @@ define("project/ProjectManager", function (require, exports, module) {
111551111556
}
111552111557
}
111553111558

111554-
function _pasteFileCMD() {
111559+
async function _pasteFileCMD() {
111555111560
let targetPath = getProjectRoot().fullPath;
111556111561
let context = getContext();
111557111562
if(context){
111558111563
targetPath = context.fullPath;
111559111564
}
111565+
111566+
const copiedFiles = await Phoenix.app.clipboardReadFiles();
111567+
if(copiedFiles) {
111568+
// there were some files the user copied external, eg. from os file explorer. This takes precedence
111569+
for(let copiedFileOrFolderPath of copiedFiles){
111570+
_performCopy(copiedFileOrFolderPath, targetPath);
111571+
}
111572+
return;
111573+
}
111574+
111575+
const clipboardText = await Phoenix.app.clipboardReadText();
111560111576
const clipboard = PhStore.getItem(CLIPBOARD_SYNC_KEY);
111561-
if(!clipboard){
111577+
if(!clipboard || clipboard.clipboardText !== clipboardText){
111578+
// either no copied file, or user copied something outside the app.
111562111579
return;
111563111580
}
111564111581
switch (clipboard.operation) {
111565-
case OPERATION_CUT: _performCut(clipboard.path, targetPath); break;
111566-
case OPERATION_COPY: _performCopy(clipboard.path, targetPath); break;
111582+
case OPERATION_CUT: await _performCut(clipboard.path, targetPath); break;
111583+
case OPERATION_COPY: await _performCopy(clipboard.path, targetPath); break;
111567111584
default: console.error("Clipboard unknown Operation: ", clipboard, targetPath);
111568111585
}
111569111586
}

‎cacheManifest.json‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"appConfig.js": "1dc42b2f90ce517371d9d945a3ae6541",
3-
"assets/default-project/en.zip": "abc70c6c753aa405436572cf2d705266",
2+
"appConfig.js": "1f4225b6ad088462056b173d51fdd3b5",
3+
"assets/default-project/en.zip": "be4f39b2494bf72fe731d7c0a3f007bb",
44
"assets/default-project/en/images/cloud1.svg": "aca7bba84a2237f1c1988caea54a67a9",
55
"assets/default-project/en/images/cloud2.svg": "02880216ac461f1578ac8a18f158ce28",
66
"assets/default-project/en/images/cloud3.svg": "7a78bb29bd895ead8c171001244d9b7d",
@@ -120,7 +120,7 @@
120120
"assets/phoenix-splash/live-preview-error.html": "98b11e5ae0c9341ab1450e029065ac7b",
121121
"assets/phoenix-splash/no-preview.html": "2c51d14109552b59976145fe9ac33236",
122122
"assets/phoenix-splash/styles.css": "6809a039001526eeec64eeef1f0ad807",
123-
"assets/sample-projects/bootstrap-blog.zip": "09ee1d0e95a77f06de12cbbe57a5c010",
123+
"assets/sample-projects/bootstrap-blog.zip": "b37f48c673b1668f68ec9f86bfdd547b",
124124
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo-white.svg": "2e642df55357162ad28519305c8fd4fe",
125125
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo.svg": "88eef7f3c2bcf988457a0e6d123c3f1d",
126126
"assets/sample-projects/bootstrap-blog/assets/dist/css/bootstrap.min.css": "6d9c6fda1e7087224431cc8068bb998f",
@@ -130,7 +130,7 @@
130130
"assets/sample-projects/bootstrap-blog/blog.rtl.css": "c6c275bf0b804d3dec264ec7fb3d7677",
131131
"assets/sample-projects/bootstrap-blog/index-rtl.html": "506e2d3fd1c4bb3651377144a62d5e82",
132132
"assets/sample-projects/bootstrap-blog/index.html": "dd8824ad3c9520dc0a825176d20eb694",
133-
"assets/sample-projects/dashboard.zip": "04e6a3c8c82fc9e59066b5e497db1cd5",
133+
"assets/sample-projects/dashboard.zip": "f09229c793b51b03c49146010095b86b",
134134
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo-white.svg": "2e642df55357162ad28519305c8fd4fe",
135135
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo.svg": "88eef7f3c2bcf988457a0e6d123c3f1d",
136136
"assets/sample-projects/dashboard/assets/dist/css/bootstrap.min.css": "6d9c6fda1e7087224431cc8068bb998f",
@@ -142,7 +142,7 @@
142142
"assets/sample-projects/dashboard/index.html": "ddfda6ea9dfc8e12a8dcbbf065c804de",
143143
"assets/sample-projects/dashboard/signin.css": "a71ff2b493f230e0d6585793c2115809",
144144
"assets/sample-projects/dashboard/signin.html": "b108c183dfa7e2da3d88ec79bee79509",
145-
"assets/sample-projects/explore.zip": "6b7fe7d52e6009d89d65350b7f369d86",
145+
"assets/sample-projects/explore.zip": "72144bfcc3b38aa37074fe7ebab368ec",
146146
"assets/sample-projects/explore/A-tribute-page.html": "007699e85177db3d1cd87d0d47440b36",
147147
"assets/sample-projects/explore/adjustable-fireworks.html": "706a0995d00d8ae009b5426cf7ee69be",
148148
"assets/sample-projects/explore/ant_colony.html": "d0885229e57caecc83049b50ee98560c",
@@ -232,7 +232,7 @@
232232
"assets/sample-projects/explore/watermelon-pixel.html": "6f6754e8073436bb823807a10a0446ea",
233233
"assets/sample-projects/explore/webmine.html": "9879458a48c757dc6671d408e940da4d",
234234
"assets/sample-projects/explore/whack-a-mole.html": "827f15c53657350b9c898fa27ecf15ac",
235-
"assets/sample-projects/home-pages.zip": "2b0622a178f9c31783c0d52269075600",
235+
"assets/sample-projects/home-pages.zip": "e2ab902d2696d72a142776ffee9254c1",
236236
"assets/sample-projects/home-pages/album/index.html": "df20e4a479659463ab9d3f6b4ca4dbd1",
237237
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo-white.svg": "2e642df55357162ad28519305c8fd4fe",
238238
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo.svg": "88eef7f3c2bcf988457a0e6d123c3f1d",
@@ -244,24 +244,24 @@
244244
"assets/sample-projects/home-pages/carousel/index.html": "fc5bf7b2d8640a2c393f465294210e7c",
245245
"assets/sample-projects/home-pages/cover/cover.css": "3738586a82dd90263617020e7f1db82e",
246246
"assets/sample-projects/home-pages/cover/index.html": "a0ae1a11224672532b3466df93ce0821",
247-
"assets/sample-projects/HTML5.zip": "da39fe7a1cc23088f472fa413e064965",
247+
"assets/sample-projects/HTML5.zip": "d61ee8ae15fa45b30ee5bf5bd1e76a46",
248248
"assets/sample-projects/HTML5/index.html": "ca318e370d63b3e083d3bd63052b8252",
249249
"assets/sample-projects/HTML5/script.js": "47de56d88cd6d866c4f77027128c0dd7",
250250
"assets/sample-projects/HTML5/styles.css": "8c798c8b3bba7e4d49dfe99b4deccd47",
251251
"assets/sample-projects/new-project-list.json": "52493b6373285d18a51a7e0319d812c2",
252252
"assets/sample-projects/zips/bootstrap.zip": "47b3132b5dbf324d6396188cf68ecae1",
253253
"base-config/keyboard.json": "fe78beab83ea31263c340439e97d4867",
254-
"brackets-min.js": "87ea6cbc7679c233cd9208050c8e4edc",
254+
"brackets-min.js": "e9b035349999ce363d82b3632dc4a26b",
255255
"brackets.config.dist.json": "65a7ad178b006a23115433cead0e3dc4",
256256
"brackets.config.staging.json": "64d4ae88ab3bf0a0841ee76ef036991d",
257257
"brackets.js": "ec2ae12d8f29444312817b05ddf0c10e",
258-
"cacheManifest.json": "f36c0d7052f380067f4f82d2108e97d7",
258+
"cacheManifest.json": "50ae6a25e16edeec2b9dd71385fc37b9",
259259
"command/CommandManager.js": "8763fce16883bbef252604330ac3bf49",
260260
"command/Commands.js": "15ae60b455ceef44d09dbfbdebf05567",
261261
"command/DefaultMenus.js": "95ac6ecc14fc1a5f5681d8535df92964",
262262
"command/KeyBindingManager.js": "fef7621c53af1cec6e070b4be6b82a5f",
263263
"command/Menus.js": "1dc0ebdbebf8815667452d61ae63728e",
264-
"config.json": "6b39e50489838d9878b2118dbb3a7d30",
264+
"config.json": "d86e8e246746819667b0f1144cb2cc20",
265265
"devEnable.html": "5c494d5e246bdb4260557c03b73eea32",
266266
"document/ChangedDocumentTracker.js": "8763dbbd784b9e8a3614a8ee723d5273",
267267
"document/Document.js": "311174e3df23c37caf5d1783a6377f40",
@@ -883,8 +883,8 @@
883883
"node-loader.js": "6ab5daf03bac6d25065bb38217dce3f6",
884884
"NodeConnector.js": "019a124dc5b402116d971932b714e0a6",
885885
"phoenix/errno.js": "6ca6e445e77fc2060df5ba36d88a8846",
886-
"phoenix/init_vfs.js": "31d0174a992cd7c7ae16d4931d6d1ff3",
887-
"phoenix/shell.js": "f1ee46ca6309c5bdabd765d762002abc",
886+
"phoenix/init_vfs.js": "1bea8bee86ebe940609f2339a72b11f8",
887+
"phoenix/shell.js": "b35470a439843b8a01f47af62e8f73c4",
888888
"phoenix/tauriShell.js": "6cb8aba882a54e13db38a3f74106f837",
889889
"phoenix/virtual-server-loader.js": "b357c2a0f5f0fba5db7002a5b83b25ef",
890890
"phoenix/virtualfs.js": "111d6f4f4299db4d55c47e16693a23e4",
@@ -903,7 +903,7 @@
903903
"project/FileTreeView.js": "fe84143b4e9e74012757e7d6078fb4c8",
904904
"project/FileTreeViewModel.js": "dccfbb087eb6de5017aaf1902c0c8899",
905905
"project/FileViewController.js": "882954f85e6fcc370eba7fb6cd0eeb83",
906-
"project/ProjectManager.js": "4cdb37adc4f13d7a70f50d05f9058d56",
906+
"project/ProjectManager.js": "63feee7936557e4fab4b0750adb871c9",
907907
"project/ProjectModel.js": "a0813bd4f38fcb5325938c68482a9d81",
908908
"project/SidebarView.js": "904ec1205dff6901725f2e0b0be117c1",
909909
"project/WorkingSetSort.js": "6afc1815ba2fea6def8cac4e9254c23f",

‎config.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"extension_store_url": "https://store.core.ai/src/",
2323
"app_notification_url": "assets/notifications/dev/",
2424
"linting.enabled_by_default": true,
25-
"build_timestamp": "2024-01-17T09:50:03.005Z",
25+
"build_timestamp": "2024-01-17T16:16:27.659Z",
2626
"googleAnalyticsID": "G-P4HJFPDB76",
2727
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
2828
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -33,7 +33,7 @@
3333
"bugsnagEnv": "development"
3434
},
3535
"name": "Phoenix",
36-
"version": "3.2.19-19724",
36+
"version": "3.2.19-19727",
3737
"apiVersion": "3.2.19",
3838
"homepage": "https://core.ai",
3939
"issues": {

0 commit comments

Comments
 (0)