managarten/packages/shared-auth-ui/src
Till JS 4fb851947e test(auth): add 68 unit tests for auth-ui, shared-auth, and shared-branding
- userAgent utils: parseUserAgent, getDeviceType, formatUserAgent (17 tests)
- guestWelcome utils: shouldShow, markSeen, reset (8 tests)
- jwtUtils: decodeToken, isTokenValid, getUserFromToken, B2B (27 tests)
- mana-apps: hasAppAccess, getTierLevel, getAccessibleManaApps (16 tests)

Also fixes iOS detection bug in userAgent parser (iPhone UA contains
"Mac OS X" — mobile check must come before desktop OS check).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 16:35:16 +02:00
..
components fix(auth-ui): add focus traps to modals + aria-disabled on all buttons 2026-03-31 14:22:25 +02:00
pages fix(auth-ui): add focus traps to modals + aria-disabled on all buttons 2026-03-31 14:22:25 +02:00
utils test(auth): add 68 unit tests for auth-ui, shared-auth, and shared-branding 2026-03-31 16:35:16 +02:00
index.ts refactor(auth-ui): SessionManager i18n, shared userAgent util, a11y fixes 2026-03-31 14:14:16 +02:00
types.ts refactor(auth): remove all Google/Apple social login code 2026-03-26 09:12:30 +01:00