mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-24 11:18:21 +01:00
fix: bugs on new GUI API
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antosdk-apps/pipeline/head This commit looks good
This commit is contained in:
parent
4d03eff031
commit
3b14ff5b9f
@ -5,6 +5,7 @@ the editor that powers VS Code.
|
||||
The editor functionality can be extended by its extension mechanism.
|
||||
Extension can be developed/released/isntalled by the editor itself.
|
||||
### Change logs
|
||||
- 0.2.6-b: Fix resizer bug on new UI API
|
||||
- 0.2.5-b: Fix setting bug with new AntOS setting API
|
||||
- 0.2.3-b: Minor changes to adapt the core UI to the new AntOS 2.0.x
|
||||
- 0.2.3-b: Allow reload current file via context menu in case of external changes
|
||||
|
@ -35,7 +35,7 @@
|
||||
<div data-id="right-editorarea"></div>
|
||||
</afx-vbox>
|
||||
</afx-hbox>
|
||||
<afx-resizer data-height = "3" dir = "ve" attachnext = "true" ></afx-resizer>
|
||||
<afx-resizer data-height = "3" attachnext = "true" ></afx-resizer>
|
||||
<afx-tab-container data-id = "bottombar" data-height="150" min-height="150" tabbarheight= "35">
|
||||
<afx-hbox tabname="__(Output)" iconclass = "fa fa-file-text" class = "bottom-tab-content">
|
||||
<afx-button text = "" data-id="logger-clear" iconclass="fa fa-trash" data-width="21"></afx-button>
|
||||
|
@ -5,6 +5,7 @@ the editor that powers VS Code.
|
||||
The editor functionality can be extended by its extension mechanism.
|
||||
Extension can be developed/released/isntalled by the editor itself.
|
||||
### Change logs
|
||||
- 0.2.6-b: Fix resizer bug on new UI API
|
||||
- 0.2.5-b: Fix setting bug with new AntOS setting API
|
||||
- 0.2.3-b: Minor changes to adapt the core UI to the new AntOS 2.0.x
|
||||
- 0.2.3-b: Allow reload current file via context menu in case of external changes
|
||||
|
@ -7,7 +7,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "mrsang@iohub.dev"
|
||||
},
|
||||
"version": "0.2.5-b",
|
||||
"version": "0.2.6-b",
|
||||
"category": "Development",
|
||||
"iconclass": "bi bi-journal-code",
|
||||
"mimes": [
|
||||
|
@ -35,7 +35,7 @@
|
||||
<div data-id="right-editorarea"></div>
|
||||
</afx-vbox>
|
||||
</afx-hbox>
|
||||
<afx-resizer data-height = "3" dir = "ve" attachnext = "true" ></afx-resizer>
|
||||
<afx-resizer data-height = "3" attachnext = "true" ></afx-resizer>
|
||||
<afx-tab-container data-id = "bottombar" data-height="150" min-height="150" tabbarheight= "35">
|
||||
<afx-hbox tabname="__(Output)" iconclass = "fa fa-file-text" class = "bottom-tab-content">
|
||||
<afx-button text = "" data-id="logger-clear" iconclass="fa fa-trash" data-width="21"></afx-button>
|
||||
|
Binary file not shown.
@ -7,7 +7,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "mrsang@iohub.dev"
|
||||
},
|
||||
"version": "0.2.5-b",
|
||||
"version": "0.2.6-b",
|
||||
"category": "Development",
|
||||
"iconclass": "bi bi-journal-code",
|
||||
"mimes": [
|
||||
|
@ -3,6 +3,7 @@ A simple yet powerful code/text editor.
|
||||
CodePad is a text editor based on the ACE editor.
|
||||
|
||||
## Change logs
|
||||
- v0.1.8-a: fix resizer bug on new UI API
|
||||
- v0.1.7-a: fix setting bug using new AntOS setting API
|
||||
- v0.1.6-a: adapt to new AntOS v2.0.x
|
||||
- v0.1.5-a: CodePad moved out of AntOS based system as regular AntOS package
|
@ -19,7 +19,7 @@
|
||||
<div data-id="right-editorarea"></div>
|
||||
</afx-vbox>
|
||||
</afx-hbox>
|
||||
<afx-resizer data-height = "3" dir = "ve" attachnext = "true" ></afx-resizer>
|
||||
<afx-resizer data-height = "3" attachnext = "true" ></afx-resizer>
|
||||
<afx-tab-container data-id = "bottombar" data-height="150" min-height="150" tabbarheight= "35">
|
||||
<afx-hbox tabname="__(Output)" iconclass = "fa fa-file-text" class = "bottom-tab-content">
|
||||
<afx-button text = "" data-id="logger-clear" iconclass="fa fa-trash" data-width="21"></afx-button>
|
||||
|
@ -3,6 +3,7 @@ A simple yet powerful code/text editor.
|
||||
CodePad is a text editor based on the ACE editor.
|
||||
|
||||
## Change logs
|
||||
- v0.1.8-a: fix resizer bug on new UI API
|
||||
- v0.1.7-a: fix setting bug using new AntOS setting API
|
||||
- v0.1.6-a: adapt to new AntOS v2.0.x
|
||||
- v0.1.5-a: CodePad moved out of AntOS based system as regular AntOS package
|
@ -8,7 +8,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.1.7-b",
|
||||
"version":"0.1.8-b",
|
||||
"category":"Development",
|
||||
"iconclass":"fa fa-pencil-square-o",
|
||||
"dependencies": ["ACECore@1.4.12-r"],
|
||||
|
@ -19,7 +19,7 @@
|
||||
<div data-id="right-editorarea"></div>
|
||||
</afx-vbox>
|
||||
</afx-hbox>
|
||||
<afx-resizer data-height = "3" dir = "ve" attachnext = "true" ></afx-resizer>
|
||||
<afx-resizer data-height = "3" attachnext = "true" ></afx-resizer>
|
||||
<afx-tab-container data-id = "bottombar" data-height="150" min-height="150" tabbarheight= "35">
|
||||
<afx-hbox tabname="__(Output)" iconclass = "fa fa-file-text" class = "bottom-tab-content">
|
||||
<afx-button text = "" data-id="logger-clear" iconclass="fa fa-trash" data-width="21"></afx-button>
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.1.7-b",
|
||||
"version":"0.1.8-b",
|
||||
"category":"Development",
|
||||
"iconclass":"fa fa-pencil-square-o",
|
||||
"dependencies": ["ACECore@1.4.12-r"],
|
||||
|
@ -5,6 +5,7 @@ Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.1.2-a: fix ACE bug + use responsive UI
|
||||
* 0.1.1-a: Minor changes to support mobile devices
|
||||
* 0.1.0-a: Change package dependencies
|
||||
* 0.0.7-a: Change icon and category
|
||||
|
@ -1,7 +1,7 @@
|
||||
<afx-app-window apptitle="Lua Playground" width="500" height="400" data-id="Lua Playground">
|
||||
<afx-vbox >
|
||||
<afx-app-window apptitle="Lua Playground" width="500" height="400" data-id="Lua Playground" responsive="true">
|
||||
<afx-tile dir="row" data-id="wrapper" >
|
||||
<div data-id="editorea"></div>
|
||||
<afx-resizer data-height="4"></afx-resizer>
|
||||
<afx-resizer data-height="4" data-width="4" dir="row" data-id="resizer"></afx-resizer>
|
||||
<afx-vbox>
|
||||
<div data-height="35" data-id="bottom-vbox">
|
||||
<afx-button data-id = "log-clear" iconclass="fa fa-trash"></afx-button>
|
||||
@ -10,5 +10,5 @@
|
||||
</div>
|
||||
<div data-id="output"></div>
|
||||
</afx-vbox>
|
||||
</afx-vbox>
|
||||
</afx-tile>
|
||||
</afx-app-window>
|
@ -78,16 +78,21 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"debug": {
|
||||
"depend": [
|
||||
"init",
|
||||
"coffee",
|
||||
"cat",
|
||||
"copy"
|
||||
]
|
||||
},
|
||||
"release": {
|
||||
"require": [
|
||||
"zip"
|
||||
],
|
||||
"depend": [
|
||||
"init",
|
||||
"coffee",
|
||||
"cat",
|
||||
"uglify",
|
||||
"copy"
|
||||
"debug",
|
||||
"uglify"
|
||||
],
|
||||
"jobs": [
|
||||
{
|
||||
|
@ -5,6 +5,7 @@ Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.1.2-a: fix ACE bug + use responsive UI
|
||||
* 0.1.1-a: Minor changes to support mobile devices
|
||||
* 0.1.0-a: Change package dependencies
|
||||
* 0.0.7-a: Change icon and category
|
||||
|
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.1.1-a",
|
||||
"version":"0.1.2-a",
|
||||
"category":"Development",
|
||||
"iconclass":"bi bi-gear-fill",
|
||||
"dependencies":["ACECore@1.4.12-r"],
|
||||
|
@ -1,7 +1,7 @@
|
||||
<afx-app-window apptitle="Lua Playground" width="500" height="400" data-id="Lua Playground">
|
||||
<afx-vbox >
|
||||
<afx-app-window apptitle="Lua Playground" width="500" height="400" data-id="Lua Playground" responsive="true">
|
||||
<afx-tile dir="row" data-id="wrapper" >
|
||||
<div data-id="editorea"></div>
|
||||
<afx-resizer data-height="4"></afx-resizer>
|
||||
<afx-resizer data-height="4" data-width="4" dir="row" data-id="resizer"></afx-resizer>
|
||||
<afx-vbox>
|
||||
<div data-height="35" data-id="bottom-vbox">
|
||||
<afx-button data-id = "log-clear" iconclass="fa fa-trash"></afx-button>
|
||||
@ -10,5 +10,5 @@
|
||||
</div>
|
||||
<div data-id="output"></div>
|
||||
</afx-vbox>
|
||||
</afx-vbox>
|
||||
</afx-tile>
|
||||
</afx-app-window>
|
Binary file not shown.
@ -175,6 +175,16 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
|
||||
@socket = null
|
||||
@bindKey "CTRL-R", () => @run()
|
||||
|
||||
@morphon OS.GUI.RESPONSIVE.PORTRAIT, (fulfilled) =>
|
||||
console.log fulfilled, "FULL"
|
||||
if fulfilled
|
||||
this.find("wrapper").dir = "column"
|
||||
this.find("resizer").dir = "column"
|
||||
else
|
||||
this.find("wrapper").dir = "row"
|
||||
this.find("resizer").dir = "row"
|
||||
|
||||
menu: () ->
|
||||
menu = [{
|
||||
text: "__(Code)",
|
||||
@ -233,5 +243,8 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
LuaPlayground.dependencies = [
|
||||
"pkg://ACECore/core/ace.js",
|
||||
"pkg://ACECore/path.js",
|
||||
"pkg://ACECore/core/ext-language_tools.js",
|
||||
"pkg://ACECore/core/ext-modelist.js",
|
||||
"pkg://ACECore/core/ext-themelist.js",
|
||||
]
|
||||
this.OS.register "LuaPlayground", LuaPlayground
|
||||
|
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LE",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.1.1-a",
|
||||
"version":"0.1.2-a",
|
||||
"category":"Development",
|
||||
"iconclass":"bi bi-gear-fill",
|
||||
"dependencies":["ACECore@1.4.12-r"],
|
||||
|
@ -1,6 +1,6 @@
|
||||
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500">
|
||||
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500" responsive="true">
|
||||
<afx-vbox>
|
||||
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "100" tabbarheight = "40">
|
||||
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "200" tabbarheight = "40">
|
||||
|
||||
<afx-hbox tabname="Widgets">
|
||||
<afx-vbox data-width="150">
|
||||
@ -19,7 +19,7 @@
|
||||
</afx-hbox>
|
||||
<afx-resizer data-height="5" ></afx-resizer>
|
||||
<afx-hbox>
|
||||
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="horizontal" ></afx-list-view>
|
||||
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="row" ></afx-list-view>
|
||||
</afx-hbox>
|
||||
<afx-hbox data-height="150">
|
||||
<afx-grid-view data-id="grid" multiselect="false" ></afx-grid-view>
|
||||
|
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.7-a",
|
||||
"version":"0.0.8-a",
|
||||
"category":"Utility",
|
||||
"mimes":["none"],
|
||||
"iconclass": "fa fa-delicious",
|
||||
|
@ -1,6 +1,6 @@
|
||||
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500">
|
||||
<afx-app-window data-id="example-show-case" apptitle="AntOS GUI widgets" width="650" height="500" responsive="true">
|
||||
<afx-vbox>
|
||||
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "100" tabbarheight = "40">
|
||||
<afx-tab-container data-id="tabctn" dir = "column" tabbarwidth= "200" tabbarheight = "40">
|
||||
|
||||
<afx-hbox tabname="Widgets">
|
||||
<afx-vbox data-width="150">
|
||||
@ -19,7 +19,7 @@
|
||||
</afx-hbox>
|
||||
<afx-resizer data-height="5" ></afx-resizer>
|
||||
<afx-hbox>
|
||||
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="horizontal" ></afx-list-view>
|
||||
<afx-list-view data-id="list" dropdown="false" multiselect="true" dir="row" ></afx-list-view>
|
||||
</afx-hbox>
|
||||
<afx-hbox data-height="150">
|
||||
<afx-grid-view data-id="grid" multiselect="false" ></afx-grid-view>
|
||||
|
Binary file not shown.
@ -143,6 +143,12 @@ class ShowCase extends this.OS.application.BaseApplication
|
||||
{ text: "Multi-input dialog", id: "minputs" },
|
||||
{ text: "Multi key value dialog", id: "mkv" }
|
||||
]
|
||||
@morphon Ant.OS.GUI.RESPONSIVE.MEDIUM, (fulfilled) =>
|
||||
if fulfilled
|
||||
this.find("tabctn").dir = "row"
|
||||
else
|
||||
this.find("tabctn").dir = "column"
|
||||
|
||||
|
||||
btrun.onbtclick = (e) =>
|
||||
item = dllist.selectedItem
|
||||
|
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.7-a",
|
||||
"version":"0.0.8-a",
|
||||
"category":"Utility",
|
||||
"mimes":["none"],
|
||||
"iconclass": "fa fa-delicious",
|
||||
|
@ -45,7 +45,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Antedit/README.md",
|
||||
"category": "Development",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.2.5-b",
|
||||
"version": "0.2.6-b",
|
||||
"dependencies": ["MonacoCore@0.33.0-r"],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/Antedit/build/release/Antedit.zip"
|
||||
},
|
||||
@ -125,7 +125,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/CodePad/README.md",
|
||||
"category": "Development",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.1.7-b",
|
||||
"version": "0.1.8-b",
|
||||
"dependencies": ["ACECore@1.4.12-r"],"mimes":["text/.*","[^/]*/json.*","[^/]*/.*ml","[^/]*/javascript","dir"],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/CodePad/build/release/CodePad.zip"
|
||||
},
|
||||
@ -305,7 +305,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/LuaPlayground/README.md",
|
||||
"category": "Development",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.1.1-a",
|
||||
"version": "0.1.2-a",
|
||||
"dependencies": ["ACECore@1.4.12-r"],"mimes":["none"],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/LuaPlayground/build/release/LuaPlayground.zip"
|
||||
},
|
||||
@ -405,7 +405,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/ShowCase/README.md",
|
||||
"category": "Utility",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.0.7-a",
|
||||
"version": "0.0.8-a",
|
||||
"dependencies": [],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/2.0.x/ShowCase/build/release/ShowCase.zip"
|
||||
},
|
||||
|
@ -5,6 +5,7 @@ the editor that powers VS Code.
|
||||
The editor functionality can be extended by its extension mechanism.
|
||||
Extension can be developed/released/isntalled by the editor itself.
|
||||
### Change logs
|
||||
- 0.2.6-b: Fix resizer bug on new UI API
|
||||
- 0.2.5-b: Fix setting bug with new AntOS setting API
|
||||
- 0.2.3-b: Minor changes to adapt the core UI to the new AntOS 2.0.x
|
||||
- 0.2.3-b: Allow reload current file via context menu in case of external changes
|
||||
|
Binary file not shown.
@ -3,6 +3,7 @@ A simple yet powerful code/text editor.
|
||||
CodePad is a text editor based on the ACE editor.
|
||||
|
||||
## Change logs
|
||||
- v0.1.8-a: fix resizer bug on new UI API
|
||||
- v0.1.7-a: fix setting bug using new AntOS setting API
|
||||
- v0.1.6-a: adapt to new AntOS v2.0.x
|
||||
- v0.1.5-a: CodePad moved out of AntOS based system as regular AntOS package
|
Binary file not shown.
@ -5,6 +5,7 @@ Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.1.2-a: fix ACE bug + use responsive UI
|
||||
* 0.1.1-a: Minor changes to support mobile devices
|
||||
* 0.1.0-a: Change package dependencies
|
||||
* 0.0.7-a: Change icon and category
|
||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user