feat: add warning message in help section about local storage data loss

This commit is contained in:
2025-10-16 02:54:12 +03:00
parent 1875ddfe44
commit c85d0604a9
2 changed files with 8 additions and 0 deletions

View File

@@ -408,6 +408,12 @@
<!-- Storage & Limits -->
<section class="help-section">
<h3 class="help-heading">Storage & Limits</h3>
<div class="help-warning">
<strong>⚠️ Important:</strong> All data is stored in your browser's local storage. If you clear your browser cache or site data,
your snippets and datasets will be permanently deleted. Regular exports are recommended as backups.
</div>
<ul class="help-list">
<li><strong>Snippets</strong> — Stored in localStorage with a 5 MB limit (shared across all snippets). The storage monitor shows current usage.</li>
<li><strong>Datasets</strong> — Stored in IndexedDB with effectively unlimited space (browser-dependent, typically 50 MB+).</li>