File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,16 @@ jobs:
164164 with :
165165 name : MasterDnsWeb-linux-amd64
166166
167+ - name : Delete existing release (if re-tagging)
168+ run : gh release delete "${{ github.ref_name }}" --yes --cleanup-tag || true
169+ env :
170+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
171+
172+ - name : Recreate tag
173+ run : |
174+ git tag -f "${{ github.ref_name }}"
175+ git push origin "${{ github.ref_name }}" --force
176+
167177 - name : Create GitHub Release
168178 uses : softprops/action-gh-release@v2
169179 with :
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ async function handleLogout() {
8686 <div class =" border-t border-neutral-200/80 p-3 dark:border-neutral-800/80" >
8787 <div class =" rounded-xl bg-linear-to-br from-neutral-100 to-neutral-50 px-3 py-2.5 dark:from-neutral-800/50 dark:to-neutral-800/30" >
8888 <p class =" text-[10px] font-medium tracking-wider text-neutral-400 uppercase dark:text-neutral-500" >Version</p >
89- <p class =" mt-0.5 text-xs font-semibold text-neutral-600 dark:text-neutral-300" >v0.1.0-mock </p >
89+ <p class =" mt-0.5 text-xs font-semibold text-neutral-600 dark:text-neutral-300" >v1.0.0 </p >
9090 </div >
9191 </div >
9292 </div >
@@ -117,7 +117,7 @@ async function handleLogout() {
117117 <div class =" border-t border-neutral-200/80 p-3 dark:border-neutral-800/80" >
118118 <div class =" rounded-xl bg-linear-to-br from-neutral-100 to-neutral-50 px-3 py-2.5 dark:from-neutral-800/50 dark:to-neutral-800/30" >
119119 <p class =" text-[10px] font-medium tracking-wider text-neutral-400 uppercase dark:text-neutral-500" >Version</p >
120- <p class =" mt-0.5 text-xs font-semibold text-neutral-600 dark:text-neutral-300" >v0.1.0-mock </p >
120+ <p class =" mt-0.5 text-xs font-semibold text-neutral-600 dark:text-neutral-300" >v1.0.0 </p >
121121 </div >
122122 </div >
123123 </aside >
Original file line number Diff line number Diff line change @@ -44,6 +44,41 @@ watch(
4444 { immediate: true }
4545)
4646
47+ // Auto-refresh logs every 5 seconds for the selected instance
48+ let logPollTimer: ReturnType <typeof setInterval > | null = null
49+
50+ function startLogPolling() {
51+ stopLogPolling ()
52+ logPollTimer = setInterval (async () => {
53+ if (selectedInstanceId .value ) {
54+ await fetchInstanceLogs (selectedInstanceId .value ).catch (() => {})
55+ }
56+ }, 5000 )
57+ }
58+
59+ function stopLogPolling() {
60+ if (logPollTimer ) {
61+ clearInterval (logPollTimer )
62+ logPollTimer = null
63+ }
64+ }
65+
66+ watch (
67+ () => selectedInstanceId .value ,
68+ (id ) => {
69+ if (id ) {
70+ startLogPolling ()
71+ } else {
72+ stopLogPolling ()
73+ }
74+ },
75+ { immediate: true }
76+ )
77+
78+ onUnmounted (() => {
79+ stopLogPolling ()
80+ })
81+
4782async function handleCreateInstance() {
4883 if (! newInstanceName .value .trim ()) return
4984
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ export default defineNuxtConfig({
1010 ui : {
1111 fonts : false
1212 } ,
13+ icon : {
14+ clientBundle : {
15+ scan : true ,
16+ } ,
17+ } ,
1318 css : [ '~/assets/css/main.css' ] ,
1419 runtimeConfig : {
1520 public : {
Original file line number Diff line number Diff line change 1818 "tailwindcss" : " ^4.2.2" ,
1919 "vue" : " ^3.5.32" ,
2020 "vue-router" : " ^5.0.4"
21+ },
22+ "devDependencies" : {
23+ "@iconify-json/lucide" : " ^1.2.102"
2124 }
2225}
You can’t perform that action at this time.
0 commit comments