feat: add storage monitor to track localStorage usage

This commit is contained in:
2025-10-13 13:50:12 +03:00
parent ef81df762b
commit eaf14aafdd
6 changed files with 139 additions and 17 deletions

View File

@@ -12,6 +12,9 @@ document.addEventListener('DOMContentLoaded', function () {
renderSnippetList();
// Update storage monitor
updateStorageMonitor();
// Auto-select first snippet on page load
const firstSnippet = SnippetStorage.listSnippets()[0];
if (firstSnippet) {