fix: eliminate $_SESSION drift in SessionProvider and add notification UI states

Pass AppContainer to SessionProvider::clear() so all module providers use
SessionStoreInterface consistently instead of raw $_SESSION. Also add
loading and error states to the notification bell dropdown (GR-UI-014).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-20 22:49:03 +01:00
parent 5f37562796
commit 975651b183
12 changed files with 121 additions and 46 deletions

View File

@@ -156,4 +156,33 @@
color: var(--app-notification-text);
background: var(--app-notification-border);
}
.app-notification-loading,
.app-notification-error {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 24px 16px;
font-size: 13px;
color: var(--app-notification-muted);
}
.app-notification-error {
color: var(--app-danger, #c0392b);
}
.app-notification-loading__spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid var(--app-notification-border);
border-top-color: var(--app-primary);
border-radius: 50%;
animation: app-notification-spin 0.6s linear infinite;
}
@keyframes app-notification-spin {
to { transform: rotate(360deg); }
}
}