Left Click and Drag this region to move this window
-
+
-
-
Right Click on This Region to Go To Settings
-
Press Escape To Close Window
-
-
+
+
+
diff --git a/extensions/git-skyline/src/SettingPage.vue b/extensions/git-skyline/src/SettingPage.vue
index 5c39b6f..af22d74 100644
--- a/extensions/git-skyline/src/SettingPage.vue
+++ b/extensions/git-skyline/src/SettingPage.vue
@@ -84,6 +84,9 @@ function updateUrl() {
enter your Username. A 3D model will be generated. Click on
Embed Page button in the top right corner to generate a embed
URL, and paste it here.
+
+ Or use this url with your GitHub username: `https://git-skyline.huakun.tech/contribution/github/{githubUsername}/embed?enableZoom=true&autoRotate=true`
+
diff --git a/extensions/git-skyline/src/components/context-menu.vue b/extensions/git-skyline/src/components/context-menu.vue
index 46af5ab..3858912 100644
--- a/extensions/git-skyline/src/components/context-menu.vue
+++ b/extensions/git-skyline/src/components/context-menu.vue
@@ -8,24 +8,31 @@ import {
import { HTMLAttributes } from "vue";
import { cn } from "@/lib/utils";
import { router } from "@/lib/router";
+import { window } from "jarvis-api/ui";
-const props = defineProps<{ class?: HTMLAttributes["class"] }>();
+const props = defineProps<{ class?: HTMLAttributes["class"]; showInstructions: boolean }>();
function selectSetting() {
- console.log("setting");
router.push({ path: "/setting" });
}
+
+function close() {
+ window.closeWindow();
+}
-
-
+
+