From 73683de7081cf10d6902744758b6f23ef336feee Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 8 Feb 2023 19:32:15 -0800 Subject: [PATCH] scratchpad --- package.json | 2 +- packages/client/src/ui/_common_/navbar-for-mobile.vue | 7 ++++++- packages/client/src/ui/_common_/navbar.vue | 7 ++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a05ecf4ace..fb840731ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "calckey", - "version": "13.1.3-beta5", + "version": "13.1.3-beta6", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/ui/_common_/navbar-for-mobile.vue b/packages/client/src/ui/_common_/navbar-for-mobile.vue index a5eb905a21..e0669e7ad8 100644 --- a/packages/client/src/ui/_common_/navbar-for-mobile.vue +++ b/packages/client/src/ui/_common_/navbar-for-mobile.vue @@ -107,10 +107,15 @@ function openHelpMenu(ev: MouseEvent) { icon: 'ph-terminal-window-bold ph-lg', }, { text: i18n.ts.document, - icon: 'ph-plugs-bold ph-lg', + icon: 'ph-file-doc-bold ph-lg', action: () => { window.open('/api-doc', '_blank'); }, + }, { + type: 'link', + to: '/scratchpad', + text: 'AiScript Scratchpad', + icon: 'ph-scribble-loop-bold ph-lg', }] }], ev.currentTarget ?? ev.target, { align: 'left', diff --git a/packages/client/src/ui/_common_/navbar.vue b/packages/client/src/ui/_common_/navbar.vue index 357e86faed..1fa5b2715c 100644 --- a/packages/client/src/ui/_common_/navbar.vue +++ b/packages/client/src/ui/_common_/navbar.vue @@ -165,10 +165,15 @@ function openHelpMenu(ev: MouseEvent) { icon: 'ph-terminal-window-bold ph-lg', }, { text: i18n.ts.document, - icon: 'ph-plugs-bold ph-lg', + icon: 'ph-file-doc-bold ph-lg', action: () => { window.open('/api-doc', '_blank'); }, + }, { + type: 'link', + to: '/scratchpad', + text: 'AiScript Scratchpad', + icon: 'ph-scribble-loop-bold ph-lg', }] }], ev.currentTarget ?? ev.target, { align: 'left',