chore: update version and enhance dashboard components
- Add a warning message for Windows users in AntigravityToolCard to run the terminal as Administrator for MITM functionality. - Refactor model testing logic in ProviderDetailPage to improve state management and user experience. - Introduce new version notification in Sidebar for available updates.
This commit is contained in:
1 parent
2f4b813c5b
commit
a84477e815
5 files changed
+104
-30
No files matched your search
@@ -351,6 +351,14 @@ export default function AntigravityToolCard({
|
||||
</>
|
||||
)}
|
||||
|
||||
{/* Windows admin warning */}
|
||||
{!isRunning && isWindows && (
|
||||
<div className="flex items-center gap-2 px-2 py-1.5 rounded text-xs bg-yellow-500/10 text-yellow-600 border border-yellow-500/20">
|
||||
<span className="material-symbols-outlined text-[14px]">warning</span>
|
||||
<span>Windows: Run terminal (9Router) as Administrator to enable MITM</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* When stopped: how it works */}
|
||||
{!isRunning && (
|
||||
<div className="flex flex-col gap-1.5 px-1">
|
||||
|
||||
Reference in new issue
Block a user