Skip to content

Conversation

@1batu
Copy link

@1batu 1batu commented Oct 30, 2025

Yapılan Değişiklikler

  • Kaydet/Yıldız işlemleri artık default.html içindeki merkezi TinyPine kontrolcüsünde yönetiliyor.
  • script.js dosyasındaki eski yedek yıldız dinleyicisi kaldırıldı, böylece aynı işlem iki kez tetiklenmeyecek.
  • Prompt kartına tıklanınca modal açılıyordu; yıldız butonundan gelen tıklamalar artık modalı tetiklemiyor (event yayılımı durduruldu).
  • Kaydedilen prompt’lar localStorage’a yazılıyor, sayfa yenilense bile korunuyor. UI güncellemesi için saved-prompts-changed eventi gönderiliyor.

Doğrulama (İsteğe Bağlı - Hızlı Kontroller)

Tarayıcı Konsolu

// Kayıtlı prompt'ları incele
localStorage.getItem('saved-prompts')

// TinyPine kontrolcüsünün aktif olduğunu doğrula
document.body.dataset.tinypineSavedHandler === '1'

1batu added 3 commits October 30, 2025 18:34
Introduces a 'Saved' toggle button to filter prompts by those saved in localStorage, updates prompt filtering logic to support saved-only mode, and adds a star button to prompt cards for saving/removing prompts. Also includes TinyPine CDN initialization for UI reactivity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant