fix(ext/popup): auto-popout for attachment types, keep login/note in popup
- Login and secure_note types stay in popup without attachment UI - All other types (identity, card, key, totp, document) auto-redirect to full tab when selected - Attachments only shown for login/secure_note when opened in tab Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -30,6 +30,10 @@ export function escapeHtml(str: string): string {
|
||||
|
||||
// --- Pop out to tab ---
|
||||
|
||||
export function isInTab(): boolean {
|
||||
return window.location.search.length > 0;
|
||||
}
|
||||
|
||||
export function popOutToTab(): void {
|
||||
const state = getState();
|
||||
const params = new URLSearchParams();
|
||||
|
||||
Reference in New Issue
Block a user