Skip to content

Commit fb2fb5b

Browse files
committed
deploy: 0b2f639
1 parent 48dfbb3 commit fb2fb5b

File tree

21 files changed

+46
-42
lines changed

21 files changed

+46
-42
lines changed

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.

cacheManifest.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"assets/default-project/en.zip": "29d98a5be4dfce1543e2a1733a59fb0f",
2+
"assets/default-project/en.zip": "aab37916872d477933e6ae79169fd553",
33
"assets/default-project/en/images/cloud1.svg": "aca7bba84a2237f1c1988caea54a67a9",
44
"assets/default-project/en/images/cloud2.svg": "02880216ac461f1578ac8a18f158ce28",
55
"assets/default-project/en/images/cloud3.svg": "7a78bb29bd895ead8c171001244d9b7d",
@@ -114,7 +114,7 @@
114114
"assets/phoenix-splash/no-preview.html": "e62c3e83f0dfa1abb595e8e4ad67ff92",
115115
"assets/phoenix-splash/safari.html": "dbe3e156bb436b14f4c41888b5d1f2cf",
116116
"assets/phoenix-splash/styles.css": "6779a4e26a1f27a64035c8b67f9ce729",
117-
"assets/sample-projects/bootstrap-blog.zip": "0afdd69f10db7dcb58ce623dd4559e0b",
117+
"assets/sample-projects/bootstrap-blog.zip": "4eef76a6a7c6ea01d16f1a379e2f8566",
118118
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo-white.svg": "2e642df55357162ad28519305c8fd4fe",
119119
"assets/sample-projects/bootstrap-blog/assets/brand/bootstrap-logo.svg": "88eef7f3c2bcf988457a0e6d123c3f1d",
120120
"assets/sample-projects/bootstrap-blog/assets/dist/css/bootstrap.min.css": "6d9c6fda1e7087224431cc8068bb998f",
@@ -124,7 +124,7 @@
124124
"assets/sample-projects/bootstrap-blog/blog.rtl.css": "c6c275bf0b804d3dec264ec7fb3d7677",
125125
"assets/sample-projects/bootstrap-blog/index-rtl.html": "506e2d3fd1c4bb3651377144a62d5e82",
126126
"assets/sample-projects/bootstrap-blog/index.html": "dd8824ad3c9520dc0a825176d20eb694",
127-
"assets/sample-projects/dashboard.zip": "c3dae6311754ff284d37466926b6f557",
127+
"assets/sample-projects/dashboard.zip": "b57a76d7687a1777c72f536bf7ab2144",
128128
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo-white.svg": "2e642df55357162ad28519305c8fd4fe",
129129
"assets/sample-projects/dashboard/assets/brand/bootstrap-logo.svg": "88eef7f3c2bcf988457a0e6d123c3f1d",
130130
"assets/sample-projects/dashboard/assets/dist/css/bootstrap.min.css": "6d9c6fda1e7087224431cc8068bb998f",
@@ -136,7 +136,7 @@
136136
"assets/sample-projects/dashboard/index.html": "ddfda6ea9dfc8e12a8dcbbf065c804de",
137137
"assets/sample-projects/dashboard/signin.css": "a71ff2b493f230e0d6585793c2115809",
138138
"assets/sample-projects/dashboard/signin.html": "b108c183dfa7e2da3d88ec79bee79509",
139-
"assets/sample-projects/explore.zip": "571077b22444a7a49d35c66ab5d1df4f",
139+
"assets/sample-projects/explore.zip": "00d5004fadcabe6d09a47e467bcb2d62",
140140
"assets/sample-projects/explore/A-tribute-page.html": "007699e85177db3d1cd87d0d47440b36",
141141
"assets/sample-projects/explore/adjustable-fireworks.html": "706a0995d00d8ae009b5426cf7ee69be",
142142
"assets/sample-projects/explore/ant_colony.html": "d0885229e57caecc83049b50ee98560c",
@@ -226,7 +226,7 @@
226226
"assets/sample-projects/explore/watermelon-pixel.html": "6f6754e8073436bb823807a10a0446ea",
227227
"assets/sample-projects/explore/webmine.html": "9879458a48c757dc6671d408e940da4d",
228228
"assets/sample-projects/explore/whack-a-mole.html": "827f15c53657350b9c898fa27ecf15ac",
229-
"assets/sample-projects/home-pages.zip": "3188490c3fac754c432a88af78adbc8f",
229+
"assets/sample-projects/home-pages.zip": "ab03b676cff7297d2e9f9e3e4924666a",
230230
"assets/sample-projects/home-pages/album/index.html": "df20e4a479659463ab9d3f6b4ca4dbd1",
231231
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo-white.svg": "2e642df55357162ad28519305c8fd4fe",
232232
"assets/sample-projects/home-pages/assets/brand/bootstrap-logo.svg": "88eef7f3c2bcf988457a0e6d123c3f1d",
@@ -238,7 +238,7 @@
238238
"assets/sample-projects/home-pages/carousel/index.html": "fc5bf7b2d8640a2c393f465294210e7c",
239239
"assets/sample-projects/home-pages/cover/cover.css": "3738586a82dd90263617020e7f1db82e",
240240
"assets/sample-projects/home-pages/cover/index.html": "a0ae1a11224672532b3466df93ce0821",
241-
"assets/sample-projects/HTML5.zip": "258828c2a233af2707ccfeb68a56b32b",
241+
"assets/sample-projects/HTML5.zip": "ad68f71f6d959dfc97be1d6a551c76ba",
242242
"assets/sample-projects/HTML5/index.html": "ca318e370d63b3e083d3bd63052b8252",
243243
"assets/sample-projects/HTML5/script.js": "47de56d88cd6d866c4f77027128c0dd7",
244244
"assets/sample-projects/HTML5/styles.css": "8c798c8b3bba7e4d49dfe99b4deccd47",
@@ -248,13 +248,13 @@
248248
"brackets.config.dist.json": "4f77dd581944e20353b2b23cc824cc4a",
249249
"brackets.config.staging.json": "a1d92e1354fbb3ac701a7c2e7c8007e4",
250250
"brackets.js": "474dfa12725ff8b674be85d5d64f8735",
251-
"cacheManifest.json": "22ea466b1e1529b93265217aa399faaf",
251+
"cacheManifest.json": "7445cd51b69218b420661c9f8575dbea",
252252
"command/CommandManager.js": "ebbc15626600575d2dfe2a97da2993a0",
253253
"command/Commands.js": "d1b78cbe3e6272c06e442d8c3441838c",
254254
"command/DefaultMenus.js": "082f4dc2fb1cfc6212195e651bd58d0e",
255255
"command/KeyBindingManager.js": "217d8614e1fb33918dbca0c452fa319a",
256256
"command/Menus.js": "7c0cfc8ef89ea0ea52317c57b155f6a9",
257-
"config.json": "4da721db5ce93be8a436c2a8f3db3589",
257+
"config.json": "a73b768e920ef4aebb02bb3d82417f34",
258258
"devEnable.html": "afb2596268ea108f48121765e8244518",
259259
"document/ChangedDocumentTracker.js": "8763dbbd784b9e8a3614a8ee723d5273",
260260
"document/Document.js": "e54a90c638153d50fe7d23ffeeb0076c",
@@ -739,8 +739,8 @@
739739
"LiveDevelopment/Servers/BaseServer.js": "5afd87e6bcf72121d37828d813703553",
740740
"LiveDevelopment/Servers/FileServer.js": "e92c4a3be90ca87af1fc1c0aa478bb23",
741741
"LiveDevelopment/Servers/UserServer.js": "2906f178bfc889ba3ba9df93ff7cf365",
742-
"logger.js": "3735338c8654f241c494b9e3bc3c28c8",
743-
"loggerConfig.js": "589e750dac06343248efda07ec7b3360",
742+
"logger.js": "2bfd06eadc7b006cbde6694e0db8aca0",
743+
"loggerConfig.js": "9cefcd40fcc924a9d553b4ef9b820aaf",
744744
"main.js": "b27f270dc31fe8a427112e55bfe15cda",
745745
"manifest.json": "39d9f9d7ed3a00371ea51814f0d9e922",
746746
"nls/ar/expertTranslations.json": "8a80554c91d9fca8acb82f023de02f11",

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"extension_url": "https://s3.amazonaws.com/extend.brackets/{0}/{0}-{1}.zip",
2020
"extension_store_url": "https://store.core.ai/src/",
2121
"linting.enabled_by_default": true,
22-
"build_timestamp": "2023-01-03T14:45:14.391Z",
22+
"build_timestamp": "2023-01-04T04:26:20.695Z",
2323
"googleAnalyticsID": "G-P4HJFPDB76",
2424
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
2525
"coreAnalyticsID": "phoenix",
@@ -29,7 +29,7 @@
2929
"bugsnagEnv": "development"
3030
},
3131
"name": "Phoenix",
32-
"version": "3.0.6-19027",
32+
"version": "3.0.6-19028",
3333
"apiVersion": "3.0.6",
3434
"homepage": "https://core.ai",
3535
"issues": {

logger.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const savedLoggingFn = console.log;
3030
const savedInfoFn = console.info;
3131

3232
window.setupLogging = function () {
33-
const urlParams = new URLSearchParams(window.location.search);
33+
const urlParams = new URLSearchParams(window.location.search || "");
3434
const logToConsoleOverride = urlParams.get('logToConsole');
3535
const logToConsolePref = localStorage.getItem("logToConsole");
3636
window.testEnvironment = (urlParams.get('testEnvironment') === 'true');
@@ -48,6 +48,7 @@ window.setupLogging = function () {
4848
return false;
4949
}
5050
};
51+
window.setupLogging();
5152

5253
window.isLoggingEnabled = function (key) {
5354
let loggingEnabled = localStorage.getItem(key) || "false";
@@ -86,8 +87,6 @@ window.loggingOptions = {
8687
window.loggingOptions.logLivePreview = window.isLoggingEnabled(
8788
window.loggingOptions.LOCAL_STORAGE_KEYS.LOG_LIVE_PREVIEW);
8889

89-
window.setupLogging();
90-
9190
function onError(event) {
9291
// for mroe info https://docs.bugsnag.com/platforms/javascript/customizing-error-reports
9392
// change health logger popup string before changing the below line to anything other than "Caught Critical error"
@@ -103,21 +102,24 @@ function onError(event) {
103102
}
104103
}
105104

106-
const isTestWindow = (new window.URLSearchParams(window.location.search || "")).get("testEnvironment");
105+
let isLocalHost = (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1');
107106

108-
if(!isTestWindow) {
107+
if(!window.testEnvironment && !isLocalHost) {
109108
Bugsnag.start({
110109
apiKey: 'a899c29d251bfdf30c3222016a2a7ea7',
111110
appType: window.__TAURI__ ? "tauri" : "browser",
112111
collectUserIp: false,
113112
appVersion: AppConfig.version,
114-
enabledReleaseStages: [ 'development', 'production', 'staging' ],
115-
releaseStage: AppConfig.config.bugsnagEnv,
113+
enabledReleaseStages: [ 'development', 'production', 'staging',
114+
'tauri-development', 'tauri-production', 'tauri-staging'],
115+
releaseStage: window.__TAURI__ ? "tauri-" + AppConfig.config.bugsnagEnv : AppConfig.config.bugsnagEnv,
116116
// https://docs.bugsnag.com/platforms/javascript/#logging-breadcrumbs
117117
// breadcrumbs is disabled as it seems a bit intrusive in Pheonix even-though it might help with debugging.
118118
enabledBreadcrumbTypes: [],
119119
// https://docs.bugsnag.com/platforms/javascript/configuration-options/#maxevents
120120
maxEvents: 10,
121121
onError
122122
});
123+
} else {
124+
console.warn("Logging to Bugsnag is disabled as current environment is localhost.");
123125
}

loggerConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const AppConfig = {
2020
"extension_url": "https://s3.amazonaws.com/extend.brackets/{0}/{0}-{1}.zip",
2121
"extension_store_url": "https://store.core.ai/src/",
2222
"linting.enabled_by_default": true,
23-
"build_timestamp": "2023-01-03T14:45:14.391Z",
23+
"build_timestamp": "2023-01-04T04:26:20.695Z",
2424
"googleAnalyticsID": "G-P4HJFPDB76",
2525
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
2626
"coreAnalyticsID": "phoenix",
@@ -30,7 +30,7 @@ const AppConfig = {
3030
"bugsnagEnv": "development"
3131
},
3232
"name": "Phoenix",
33-
"version": "3.0.6-19027",
33+
"version": "3.0.6-19028",
3434
"apiVersion": "3.0.6",
3535
"homepage": "https://core.ai",
3636
"issues": {

0 commit comments

Comments
 (0)