diff --git a/public/app.js b/public/app.js
index a57f61b..ab955ab 100644
--- a/public/app.js
+++ b/public/app.js
@@ -763,6 +763,18 @@ const initApp = () => {
renderHistory();
});
+ // Alternar (expandir/recolher) as tags
+ const btnToggleSidebarTags = document.getElementById('btnToggleSidebarTags');
+ if (btnToggleSidebarTags && sidebarTags) {
+ btnToggleSidebarTags.addEventListener('click', () => {
+ if (sidebarTags.style.display === 'none') {
+ sidebarTags.style.display = 'flex';
+ } else {
+ sidebarTags.style.display = 'none';
+ }
+ });
+ }
+
// Filtro por tags
sidebarTags.addEventListener('click', (e) => {
const tagBtn = e.target.closest('.tag-filter');
diff --git a/public/index.html b/public/index.html
index a4b020c..7cc6523 100644
--- a/public/index.html
+++ b/public/index.html
@@ -53,6 +53,11 @@
+
diff --git a/public/sw.js b/public/sw.js
index 290395b..2608007 100644
--- a/public/sw.js
+++ b/public/sw.js
@@ -1,4 +1,4 @@
-const CACHE_NAME = 'camila-ai-v7';
+const CACHE_NAME = 'camila-ai-v8';
const urlsToCache = [
'/',
'/index.html',