@@ -154,17 +118,9 @@ export default function Landing() {
}
// If we have a session, show the main app
+ // Note: First login password change is now handled by the onboarding flow
if (session) {
- return (
- <>
-
-
- >
- );
+ return
;
}
// No session - redirect to login page
diff --git a/frontend/src/proprietary/routes/Login.test.tsx b/frontend/src/proprietary/routes/Login.test.tsx
index f4e5c9faf..62679f22a 100644
--- a/frontend/src/proprietary/routes/Login.test.tsx
+++ b/frontend/src/proprietary/routes/Login.test.tsx
@@ -7,7 +7,6 @@ import Login from '@app/routes/Login';
import { useAuth } from '@app/auth/UseSession';
import { springAuth } from '@app/auth/springAuthClient';
import { PreferencesProvider } from '@app/contexts/PreferencesContext';
-import { OnboardingProvider } from '@app/contexts/OnboardingContext';
// Mock i18n to return fallback text
vi.mock('react-i18next', () => ({
@@ -67,7 +66,7 @@ vi.mock('react-router-dom', async () => {
const TestWrapper = ({ children }: { children: React.ReactNode }) => (
- {children}
+ {children}
);
diff --git a/frontend/src/proprietary/testing/serverExperienceSimulations.ts b/frontend/src/proprietary/testing/serverExperienceSimulations.ts
index 41aec7120..0aa745d54 100644
--- a/frontend/src/proprietary/testing/serverExperienceSimulations.ts
+++ b/frontend/src/proprietary/testing/serverExperienceSimulations.ts
@@ -129,8 +129,12 @@ const SIMULATION_SCENARIOS: SimulationScenario[] = [
...BASE_LOGIN_CONFIG,
isAdmin: false,
},
- adminUsage: {
- totalUsers: 3,
+ // Non-admin users use WAU estimate (not adminUsage)
+ wau: {
+ trackingSince: '2025-11-18T23:20:12.520884200Z',
+ daysOnline: 0,
+ totalUniqueBrowsers: 3,
+ weeklyActiveUsers: 3,
},
licenseInfo: { ...FREE_LICENSE_INFO },
},
@@ -151,8 +155,12 @@ const SIMULATION_SCENARIOS: SimulationScenario[] = [
...BASE_LOGIN_CONFIG,
isAdmin: false,
},
- adminUsage: {
- totalUsers: 12,
+ // Non-admin users use WAU estimate (not adminUsage)
+ wau: {
+ trackingSince: '2025-09-01T00:00:00Z',
+ daysOnline: 30,
+ totalUniqueBrowsers: 12,
+ weeklyActiveUsers: 9,
},
licenseInfo: { ...FREE_LICENSE_INFO },
},