side-notes/sidepanel/sidepanel.html
Fabio Montefuscolo 4365b7687b feat: implement Side Notes Chrome extension
- Manifest V3 with sidePanel, tabs, webNavigation, unlimitedStorage permissions
- Background service worker: sidePanel setup + SPA navigation detection
- Shared modules: URL key derivation (buildNoteKey) and IndexedDB storage
- Side panel: per-tab markdown editor with debounced autosave, in-panel find
- Cross-panel consistency via BroadcastChannel with focus-aware refresh
- Notes-list page: day-grouped entries, click-to-focus/navigate behavior
- Dark theme by default
2026-08-03 19:51:34 +02:00

32 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Side Notes</title>
<link rel="stylesheet" href="sidepanel.css">
</head>
<body>
<div id="header">
<div id="page-info">
<img id="favicon" src="" alt="" width="16" height="16" hidden>
<span id="page-title">Loading…</span>
</div>
<button id="open-list" title="View all notes" aria-label="View all notes">☰</button>
</div>
<textarea id="editor" placeholder="Write your note…" spellcheck="true"></textarea>
<div id="find-bar" hidden>
<input type="search" id="find-input" placeholder="Find in note…">
<span id="find-count"></span>
<button id="find-prev" title="Previous match" aria-label="Previous match">▲</button>
<button id="find-next" title="Next match" aria-label="Next match">▼</button>
<button id="find-close" title="Close find bar" aria-label="Close find bar">✕</button>
</div>
<div id="status">Saved</div>
<script type="module" src="sidepanel.js"></script>
</body>
</html>