diff --git a/packages/client/src/components/MkCheatSheetDialog.vue b/packages/client/src/components/MkCheatSheetDialog.vue
new file mode 100644
index 000000000..35be9d336
--- /dev/null
+++ b/packages/client/src/components/MkCheatSheetDialog.vue
@@ -0,0 +1,80 @@
+
+
+ {{ i18n.ts._tutorial.title }}
+
+
+
+
+
+
+
+
+
diff --git a/packages/client/src/components/MkPostForm.vue b/packages/client/src/components/MkPostForm.vue
index ace079b25..34418f6fc 100644
--- a/packages/client/src/components/MkPostForm.vue
+++ b/packages/client/src/components/MkPostForm.vue
@@ -91,7 +91,7 @@ import { instance } from '@/instance';
import { $i, getAccounts, openAccountMenu as openAccountMenu_ } from '@/account';
import { uploadFile } from '@/scripts/upload';
import { deepClone } from '@/scripts/clone';
-import MfmCheatSheet from '@/pages/mfm-cheat-sheet.vue';
+import XCheatSheet from '@/components/MkCheatSheetDialog.vue';
const modal = inject('modal');
@@ -627,7 +627,7 @@ async function insertEmoji(ev: MouseEvent) {
}
async function openCheatSheet(ev: MouseEvent) {
- window.open(url + '/mfm-cheat-sheet', '_blank');
+ os.popup(XCheatSheet, {}, {}, 'closed');
}
function showActions(ev) {
diff --git a/packages/client/src/components/MkUpdated.vue b/packages/client/src/components/MkUpdated.vue
index 83e3d7ddc..992610381 100644
--- a/packages/client/src/components/MkUpdated.vue
+++ b/packages/client/src/components/MkUpdated.vue
@@ -28,9 +28,12 @@ let newRelease = false;
let data;
os.api('release').then(res => {
data = res;
- console.log(data);
newRelease = (version === data?.version);
});
+console.log(`Version: ${version}`)
+console.log(`Data version: ${data.version}`)
+console.log(newRelease)
+console.log(data);