AI made playwright tests + add them to the github.

This commit is contained in:
KingKDot
2026-07-15 12:12:13 -05:00
parent 22b0eed5e1
commit 8ad81efdc3
16 changed files with 554 additions and 9 deletions
+6 -4
View File
@@ -268,10 +268,6 @@ html {
scrollbar-gutter: stable;
}
@view-transition {
navigation: auto;
}
body {
margin: 0;
min-height: 100vh;
@@ -4342,6 +4338,9 @@ body.sb-collapsed .sb-collapse-btn i {
position: relative;
transition: background 0.14s, color 0.14s;
}
.sb-link.hidden {
display: none;
}
.sb-link:hover {
background: rgba(255, 255, 255, 0.06);
color: #e2e8f0;
@@ -4826,6 +4825,9 @@ body.topbar-compact #role-badge {
white-space: nowrap;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.nav-dd-group-btn.hidden {
display: none;
}
.nav-dd-group-btn:hover {
background: rgba(51, 65, 85, 0.7);
color: #e2e8f0;
+6 -2
View File
@@ -190,16 +190,20 @@ if (host) {
}
applyAdaptiveNavLayout();
return user;
} catch (err) {
console.error("Failed to load user:", err);
return null;
}
}
let currentUserPromise = Promise.resolve(null);
if (refs.usernameDisplay && refs.roleBadge) {
loadCurrentUser();
currentUserPromise = loadCurrentUser();
}
import("./chat-widget.js").then((chatWidget) => {
Promise.all([currentUserPromise, import("./chat-widget.js")]).then(([user, chatWidget]) => {
if (!user?.permissions?.includes("chat:write")) return;
runWithoutPageTracking(() => {
chatWidget.init();