Release v1.0.7 - Move lock button to page headers
- Move lock button from bottom navigation bar to each page header - Add lock button styling to common SCSS with hover effect - Remove logs and info tabs from bottom navigation - Standardize header height to 48px across all pages - Simplify home component by removing lock logic Files modified: - package.json, manifest.json (both browsers) - home.component.html/ts (both browsers) - identities, identity, bookmarks, logs, info, settings components - projects/common/src/lib/styles/_common.scss 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { Component, inject, OnInit } from '@angular/core';
|
||||
import { LoggerService, LogEntry } from '@common';
|
||||
import { Router } from '@angular/router';
|
||||
import { LoggerService, LogEntry, StorageService } from '@common';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
@@ -10,6 +11,8 @@ import { DatePipe } from '@angular/common';
|
||||
})
|
||||
export class LogsComponent implements OnInit {
|
||||
readonly #logger = inject(LoggerService);
|
||||
readonly #storage = inject(StorageService);
|
||||
readonly #router = inject(Router);
|
||||
|
||||
get logs(): LogEntry[] {
|
||||
return this.#logger.logs;
|
||||
@@ -40,4 +43,10 @@ export class LogsComponent implements OnInit {
|
||||
return 'log-info';
|
||||
}
|
||||
}
|
||||
|
||||
async onClickLock() {
|
||||
this.#logger.logVaultLock();
|
||||
await this.#storage.lockVault();
|
||||
this.#router.navigateByUrl('/vault-login');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user