Răsfoiți Sursa

Ask user to reload page after update completes

Add reload reminder to `dw update` CLI output and update the in-app
update dialog message to match.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tuanchris 4 luni în urmă
părinte
comite
9487a30a95

+ 2 - 0
dw

@@ -180,6 +180,8 @@ cmd_update() {
     fi
 
     echo -e "${GREEN}Update complete!${NC}"
+    echo ""
+    echo -e "${YELLOW}Please reload the web page in your browser to see the changes.${NC}"
 }
 
 cmd_logs() {

+ 1 - 1
frontend/src/components/UpdateDialog.tsx

@@ -122,7 +122,7 @@ export function UpdateDialog({ open, onOpenChange, currentVersion, latestVersion
               <p className="text-sm text-muted-foreground">
                 This usually takes 1-2 minutes.
                 <br />
-                Please reload the page after a couple of minutes.
+                Please reload the page once the update is done.
               </p>
             </div>
           </div>

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
static/dist/assets/index-DiaUgbGH.js


+ 1 - 1
static/dist/index.html

@@ -58,7 +58,7 @@
           .catch(function() {});
       })();
     </script>
-    <script type="module" crossorigin src="/assets/index-C7Snmecn.js"></script>
+    <script type="module" crossorigin src="/assets/index-DiaUgbGH.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-UpWUtbXD.css">
   <script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
   <body>

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
static/dist/sw.js


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff