From 4308cd8a9ff6c36131349910d8b56f9123126006 Mon Sep 17 00:00:00 2001
From: Alec Rippberger <127791530+alec-livefront@users.noreply.github.com>
Date: Wed, 12 Mar 2025 14:36:05 -0500
Subject: [PATCH] refactor(auth): [PM-9678] remove deprecated login components
Removes the V1 Login components and related UnauthenticatedExtensionUIRefresh
feature flag functions. Part of the authentication UI modernization efforts.
Closes PM-9678
---
.../src/auth/popup/home.component.html | 36 --
apps/browser/src/auth/popup/home.component.ts | 130 ------
.../src/auth/popup/login-v1.component.html | 81 ----
.../src/auth/popup/login-v1.component.ts | 142 -------
apps/browser/src/popup/app.module.ts | 4 -
.../src/auth/login/login-v1.component.html | 157 -------
.../src/auth/login/login-v1.component.ts | 266 ------------
apps/desktop/src/auth/login/login.module.ts | 4 +-
.../app/auth/login/login-v1.component.html | 129 ------
.../src/app/auth/login/login-v1.component.ts | 224 ----------
apps/web/src/app/auth/login/login.module.ts | 3 -
.../environment-selector.component.ts | 33 +-
.../src/auth/components/login-v1.component.ts | 401 ------------------
.../unauth-ui-refresh-redirect.spec.ts | 66 ---
.../functions/unauth-ui-refresh-redirect.ts | 29 --
15 files changed, 12 insertions(+), 1693 deletions(-)
delete mode 100644 apps/browser/src/auth/popup/home.component.html
delete mode 100644 apps/browser/src/auth/popup/home.component.ts
delete mode 100644 apps/browser/src/auth/popup/login-v1.component.html
delete mode 100644 apps/browser/src/auth/popup/login-v1.component.ts
delete mode 100644 apps/desktop/src/auth/login/login-v1.component.html
delete mode 100644 apps/desktop/src/auth/login/login-v1.component.ts
delete mode 100644 apps/web/src/app/auth/login/login-v1.component.html
delete mode 100644 apps/web/src/app/auth/login/login-v1.component.ts
delete mode 100644 libs/angular/src/auth/components/login-v1.component.ts
delete mode 100644 libs/angular/src/auth/functions/unauth-ui-refresh-redirect.spec.ts
delete mode 100644 libs/angular/src/auth/functions/unauth-ui-refresh-redirect.ts
diff --git a/apps/browser/src/auth/popup/home.component.html b/apps/browser/src/auth/popup/home.component.html
deleted file mode 100644
index 08043cf88bb..00000000000
--- a/apps/browser/src/auth/popup/home.component.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
{{ "loginOrCreateNewAccount" | i18n }}
- -- {{ "newAroundHere" | i18n }} - {{ "createAccount" | i18n }} -
-