Skip to content

Commit df40bc1

Browse files
committed
deploy: 606b7d0
1 parent 92ec074 commit df40bc1

File tree

124 files changed

+3183
-446
lines changed

Some content is hidden

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

124 files changed

+3183
-446
lines changed

appConfig.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ window.AppConfig = {
33
"config": {
44
"app_title": "Phoenix Code",
55
"app_name_about": "Phoenix Code",
6+
"main_pro_plan": "Phoenix Pro",
67
"about_icon": "styles/images/phoenix-icon.svg",
78
"account_url": "https://account.phcode.dev/",
89
"promotions_url": "https://promotions.phcode.dev/dev/",
@@ -30,7 +31,7 @@ window.AppConfig = {
3031
"app_notification_url": "assets/notifications/dev/",
3132
"app_update_url": "https://updates.phcode.io/tauri/update-latest-experimental-build.json",
3233
"linting.enabled_by_default": true,
33-
"build_timestamp": "2025-09-09T08:03:30.452Z",
34+
"build_timestamp": "2025-09-09T14:10:48.233Z",
3435
"googleAnalyticsID": "G-P4HJFPDB76",
3536
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
3637
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -42,7 +43,7 @@ window.AppConfig = {
4243
"bugsnagEnv": "development"
4344
},
4445
"name": "Phoenix Code",
45-
"version": "4.1.2-21414",
46+
"version": "4.1.2-21424",
4647
"apiVersion": "4.1.2",
4748
"homepage": "https://core.ai",
4849
"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: 347 additions & 35 deletions
Large diffs are not rendered by default.

cacheManifest.json

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

command/CommandManager.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,15 @@ define(function (require, exports, module) {
148148
return this._enabled;
149149
};
150150

151+
/**
152+
* get the command options
153+
*
154+
* @return {object}
155+
*/
156+
Command.prototype.getOptions = function () {
157+
return this._options || {};
158+
};
159+
151160
/**
152161
* Sets enabled state of Command and dispatches "enabledStateChange"
153162
* when the enabled state changes.
@@ -196,11 +205,17 @@ define(function (require, exports, module) {
196205
* use \uXXXX instead of an HTML entity.
197206
*
198207
* @param {string} name
208+
* @param {string} htmlName If set, this will be displayed in ui menus instead of the name given.
209+
* Eg. "Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"
199210
*/
200-
Command.prototype.setName = function (name) {
201-
var changed = this._name !== name;
211+
Command.prototype.setName = function (name, htmlName) {
212+
let changed = this._name !== name;
202213
this._name = name;
203214

215+
if (this._options.htmlName !== htmlName) {
216+
changed = true;
217+
this._options.htmlName = htmlName;
218+
}
204219
if (changed) {
205220
this.trigger("nameChange");
206221
}
@@ -233,6 +248,8 @@ define(function (require, exports, module) {
233248
* @param {boolean} options.eventSource If set to true, the commandFn will be called with the first argument `event`
234249
* with details about the source(invoker) as event.eventSource(one of the `CommandManager.SOURCE_*`) and
235250
* event.sourceType(Eg. Ctrl-K) parameter.
251+
* @param {string} options.htmlName If set, this will be displayed in ui menus instead of the name given.
252+
* Eg. "Phoenix menu<i class='fa fa-car' style='margin-left: 4px;'></i>"
236253
* @return {?Command}
237254
*/
238255
function register(name, id, commandFn, options={}) {

0 commit comments

Comments
 (0)