Refactor Program.cs to use async Run method for improved performance. Update index.html to specify language attribute for accessibility. Enhance BumperTemplateEditor and ScheduleGrid components by replacing divs with buttons for better keyboard accessibility. Improve TemplatePreview sorting logic and optimize episode regex handling. Add close button to ToastItem for better user interaction. Update localization files to include 'close' translations. Refactor CardTitle to ensure screen reader compatibility by explicitly rendering children.
ci / build-backend (push) Successful in 1m34s
ci / build-frontend (push) Successful in 1m0s
ci / tests (push) Successful in 1m58s
ci / sonar (push) Successful in 4m13s

This commit is contained in:
Leonid Pershin
2026-07-26 22:35:36 +03:00
parent b0740503bb
commit 0f0657e523
14 changed files with 75 additions and 26 deletions
+3 -1
View File
@@ -88,6 +88,7 @@ function RootLayout() {
{user.userName}
</Link>
<button
type="button"
className="hidden rounded-sm border border-border px-3 py-1 text-xs uppercase tracking-wide hover:bg-muted md:block"
onClick={() => void handleLogout()}
>
@@ -104,6 +105,7 @@ function RootLayout() {
)}
<button
type="button"
className="rounded-sm border border-border p-1.5 md:hidden"
onClick={() => setMenuOpen((v) => !v)}
aria-label="Menu"
@@ -133,7 +135,7 @@ function RootLayout() {
>
{user.userName}
</Link>
<button className="py-1 text-left" onClick={() => void handleLogout()}>
<button type="button" className="py-1 text-left" onClick={() => void handleLogout()}>
{t('nav.logout')}
</button>
</>