feat(ext/vault): scaffold vault.html tab with sidebar+pane layout and hash routing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
adlee-was-taken
2026-04-27 15:53:53 -04:00
parent 7e0950e364
commit 6c8ebb3548
6 changed files with 2182 additions and 0 deletions

View File

@@ -64,6 +64,12 @@ chrome.storage.local.get('session_timeout').then((r) => {
}
}).catch(() => {});
chrome.commands.onCommand.addListener((command) => {
if (command === 'open-vault') {
chrome.tabs.create({ url: chrome.runtime.getURL('vault.html') });
}
});
chrome.runtime.onMessage.addListener(
(request: Request, sender: chrome.runtime.MessageSender, sendResponse: (r: Response) => void) => {
(async () => {