update about and help menus
This commit is contained in:
parent
c960501a87
commit
de91ae719b
3 changed files with 24 additions and 8 deletions
|
|
@ -1372,6 +1372,10 @@ const api = exports({
|
|||
window.open("https://docs.grid.space/projects/mesh-tool");
|
||||
},
|
||||
|
||||
bugs() {
|
||||
window.open("https://github.com/GridSpace/grid-apps/issues");
|
||||
},
|
||||
|
||||
version() {
|
||||
window.location = "/choose?back";
|
||||
},
|
||||
|
|
|
|||
|
|
@ -200,17 +200,28 @@ api.welcome = function(version = "unknown") {
|
|||
const { prefs } = api;
|
||||
const { map } = prefs;
|
||||
modal.show('About Mesh:Tool', div({ class:"welcome" }, [
|
||||
h.a({
|
||||
target: "site",
|
||||
_: "Grid.Space",
|
||||
href: "https://grid.space/"
|
||||
}),
|
||||
div(`Version: ${version}`),
|
||||
hr({ width: "100%" }),
|
||||
h.a({
|
||||
target: "docs",
|
||||
_: "Guide & Documentation",
|
||||
href: "https://docs.grid.space/projects/mesh-tool"
|
||||
}),
|
||||
h.a({
|
||||
target: "docs",
|
||||
_: "Grid.Space",
|
||||
href: "https://grid.space/"
|
||||
target: "help",
|
||||
_: "Discourse Forums",
|
||||
href: "https://forum.grid.space/"
|
||||
}),
|
||||
h.a({
|
||||
target: "help",
|
||||
_: "Discord Server",
|
||||
href: "https://discord.gg/suyCCgr"
|
||||
}),
|
||||
div(`Version: ${version}`),
|
||||
hr({ width: "100%" }),
|
||||
div({ class: "choice" }, [
|
||||
input({
|
||||
|
|
@ -483,8 +494,8 @@ function ui_build() {
|
|||
div({ class: "menu sketch-off" }, [
|
||||
div('Faces'),
|
||||
div({ class: "menu-items" }, [
|
||||
menu_item('Flip Normals', tool.invert),
|
||||
menu_item('Triangulate', tool.triangulate),
|
||||
menu_item('Flip Normals', tool.invert, ['bi-shift','I']),
|
||||
menu_item('Triangulate', tool.triangulate, ['bi-shift','T']),
|
||||
menu_item('Analyze', tool.analyze),
|
||||
menu_item('Clean', tool.clean),
|
||||
])
|
||||
|
|
@ -510,7 +521,7 @@ function ui_build() {
|
|||
menu_item('About', () => { api.welcome(mesh.version) }),
|
||||
hr(),
|
||||
menu_item('Documentation', api.help),
|
||||
menu_item('Official Site', api.gridspace),
|
||||
menu_item('Report Bugs', api.bugs),
|
||||
menu_item('Donate', api.donate),
|
||||
hr(),
|
||||
menu_item('Versions', api.version),
|
||||
|
|
|
|||
|
|
@ -448,8 +448,9 @@
|
|||
<a target="_rsc" href="https://docs.grid.space/projects/kiri-moto"><i class="fas fa-question-circle"></i>Documentation & APIs</a>
|
||||
<a target="_rsc" href="https://forum.grid.space"><i class="fab fa-discourse"></i> Discourse Forums</a>
|
||||
<a target="_rsc" href="https://discord.gg/suyCCgr"><i class="fab fa-discord"></i> Discord Server</a>
|
||||
<a target="_rsc" href="https://github.com/gridspace/grid-apps/issues"><i class="fas fa-bug"></i> Bug Reports</a>
|
||||
<a target="_rsc" href="https://github.com/gridspace/grid-apps/releases"><i class="fab fa-github"></i> Releases & Binaries</a>
|
||||
<a target="_rsc" href="https://paypal.me/gridspace3d?locale.x=en_US"><i class="fab fa-paypal"></i> Donations are welcome!</a>
|
||||
<a target="_rsc" href="https://paypal.me/gridspace3d?locale.x=en_US"><i class="fab fa-paypal"></i> Support Development</a>
|
||||
<a href="https://youtu.be/08795Sj22QE" target="youtube"><i class="fab fa-youtube"></i>Video Guide (from v2.5)</a>
|
||||
</div>
|
||||
<hr width="100%">
|
||||
|
|
|
|||
Loading…
Reference in a new issue