From c943a06918452e33454ab8f28e4199bd22973f64 Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sun, 24 May 2026 13:31:08 -0400 Subject: [PATCH] feat(extension): add history/revoke/restore glyph constants --- extension/src/shared/__tests__/glyphs.test.ts | 14 ++++++++++++++ extension/src/shared/glyphs.ts | 3 +++ 2 files changed, 17 insertions(+) diff --git a/extension/src/shared/__tests__/glyphs.test.ts b/extension/src/shared/__tests__/glyphs.test.ts index 847cfe4..6b7b8cf 100644 --- a/extension/src/shared/__tests__/glyphs.test.ts +++ b/extension/src/shared/__tests__/glyphs.test.ts @@ -68,3 +68,17 @@ describe('Stream A glyphs (vault tab + type icons)', () => { } }); }); + +describe('management-surface glyphs', () => { + it('exposes a history glyph', () => { + expect(glyphs.GLYPH_HISTORY).toBe('◷'); + }); + + it('exposes a revoke glyph distinct from reveal/hide semantics', () => { + expect(glyphs.GLYPH_REVOKE).toBe('⊘'); + }); + + it('exposes a restore glyph for trash actions', () => { + expect(glyphs.GLYPH_RESTORE).toBe('⤺'); + }); +}); diff --git a/extension/src/shared/glyphs.ts b/extension/src/shared/glyphs.ts index 66f09a1..1a4c6b9 100644 --- a/extension/src/shared/glyphs.ts +++ b/extension/src/shared/glyphs.ts @@ -22,6 +22,9 @@ export const GLYPH_SYNC = '⇅'; // sync / upload export const GLYPH_PREVIEW = '⊕'; // preview / expand export const GLYPH_VAULT_TAB = '⧉'; // U+29C9 pop-out to fullscreen vault tab +export const GLYPH_HISTORY = '◷'; // sidebar history nav (clock-quadrant — distinct from clock emoji) +export const GLYPH_REVOKE = '⊘'; // revoke device / autofill-origin ack (same shape as HIDE; kept distinct for semantic clarity) +export const GLYPH_RESTORE = '⤺'; // restore from trash export const GLYPH_TYPE_LOGIN = '◉'; // login export const GLYPH_TYPE_SECURE_NOTE = '◫'; // secure note