1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-08 19:43:45 +00:00

feat(web): [PM-1214] add device management screen

Adds a device management tab under settings -> security that allows users to:
- View and manage their account's connected devices
- Remove/deactivate devices
- See device details like platform, last login, and trust status
- Sort and filter device list with virtual scrolling

Resolves PM-1214
This commit is contained in:
Alec Rippberger
2025-01-07 13:29:36 -06:00
committed by GitHub
parent 02556c1416
commit f99a3c4162
17 changed files with 549 additions and 27 deletions

View File

@@ -1,6 +1,7 @@
import { Component, OnInit } from "@angular/core";
import { UserVerificationService } from "@bitwarden/common/auth/abstractions/user-verification/user-verification.service.abstraction";
import { ConfigService } from "@bitwarden/common/platform/abstractions/config/config.service";
@Component({
selector: "app-security",
@@ -9,7 +10,10 @@ import { UserVerificationService } from "@bitwarden/common/auth/abstractions/use
export class SecurityComponent implements OnInit {
showChangePassword = true;
constructor(private userVerificationService: UserVerificationService) {}
constructor(
private userVerificationService: UserVerificationService,
private configService: ConfigService,
) {}
async ngOnInit() {
this.showChangePassword = await this.userVerificationService.hasMasterPassword();