diff --git a/src/App.vue b/src/App.vue index 9e7d3e4..dc0682c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -14,6 +14,7 @@ import TabProvider from "./providers/TabProvider"; import DialogProvider from "./providers/DialogProvider"; import DialogHandler from "./components/DialogHandler.vue"; import UpdateHandler from "./components/UpdateHandler.vue"; +import WhatsNew from "./components/WhatsNew.vue"; import { type as getOsType } from "@tauri-apps/api/os"; const osType = ref(""); @@ -45,6 +46,7 @@ onMounted(() => { + diff --git a/src/assets/whats-new/port-forwarding.gif b/src/assets/whats-new/port-forwarding.gif new file mode 100644 index 0000000..ffd6ca7 Binary files /dev/null and b/src/assets/whats-new/port-forwarding.gif differ diff --git a/src/components/PortForwardingManager.vue b/src/components/PortForwardingManager.vue index 7bcb770..c0d8e83 100644 --- a/src/components/PortForwardingManager.vue +++ b/src/components/PortForwardingManager.vue @@ -34,7 +34,7 @@ const openInBrowser = (portForwarding: ActivePortForwarding) => { {{ activePortForwardings.length }} Active Port Forwarding{{ diff --git a/src/components/WhatsNew.vue b/src/components/WhatsNew.vue new file mode 100644 index 0000000..5dc8ba3 --- /dev/null +++ b/src/components/WhatsNew.vue @@ -0,0 +1,57 @@ + + + + + + What's new in JET Pilot {{ currentVersion }} + + + + + diff --git a/src/components/ui/dialog/Dialog.vue b/src/components/ui/dialog/Dialog.vue index cb0322a..539365e 100644 --- a/src/components/ui/dialog/Dialog.vue +++ b/src/components/ui/dialog/Dialog.vue @@ -1,11 +1,9 @@ - + diff --git a/src/components/whats-new/1-29-0.vue b/src/components/whats-new/1-29-0.vue new file mode 100644 index 0000000..3572fb0 --- /dev/null +++ b/src/components/whats-new/1-29-0.vue @@ -0,0 +1,14 @@ + + + + Port Forwarding + + You can now forward ports from Pods, Deployments and Services to your + local machine. + + + diff --git a/src/components/whats-new/metadata.json b/src/components/whats-new/metadata.json new file mode 100644 index 0000000..6400ddf --- /dev/null +++ b/src/components/whats-new/metadata.json @@ -0,0 +1,3 @@ +{ + "1.29.0": "1-29-0" +} diff --git a/src/providers/SettingsContextProvider.ts b/src/providers/SettingsContextProvider.ts index b7593f1..7f1027d 100644 --- a/src/providers/SettingsContextProvider.ts +++ b/src/providers/SettingsContextProvider.ts @@ -37,6 +37,7 @@ export interface SettingsContextState { }; updates: { checkOnStartup: boolean; + whatsNew: string | null; }; }; } @@ -66,6 +67,7 @@ export default { }, updates: { checkOnStartup: true, + whatsNew: null, }, }, });
+ You can now forward ports from Pods, Deployments and Services to your + local machine. +