Enhance dialogs and configuration handling in the admin interface
CI / Backend (build + test) (push) Successful in 1m14s
CI / Frontend (lint + typecheck + build) (push) Successful in 31s

- Updated `EditNodeDialog` and `RegisterNodeDialog` to prevent interaction outside the dialog, improving user experience.
- Added data attributes to password fields in both dialogs for better password management.
- Refactored `CreateConfigDialog` to accept inbounds as a prop, improving data handling and user feedback when no inbounds are available.
- Introduced a warning banner in the root layout to inform users about the necessity of linking their Telegram account for notifications and password recovery.
- Updated translations for improved clarity regarding available inbounds and Telegram linking requirements.
This commit is contained in:
Leonid Pershin
2026-07-02 17:06:53 +03:00
parent 0d0fc2c86b
commit 7dcc8889a0
7 changed files with 72 additions and 16 deletions
+3
View File
@@ -7,6 +7,7 @@ import { Toaster } from '@/shared/ui/toaster'
import { Button } from '@/shared/ui/button'
import { useAuthStore } from '@/features/auth/store'
import { bootstrapSession, clearSession, logout } from '@/features/auth/api'
import { TelegramLinkWarningBanner } from '@/features/telegram/TelegramLinkWarningBanner'
export const Route = createRootRoute({ component: RootLayout })
@@ -87,6 +88,8 @@ function RootLayout() {
</nav>
</header>
<TelegramLinkWarningBanner />
<main className="flex flex-1 flex-col">
<Outlet />
</main>