Nav rol görünürlüğü + navigasyon/refresh + tema-grafik düzeltmeleri#41
Merged
Conversation
- Hesabım sidebar'dan çıkarıldı (sağ üst kullanıcı çipi ile erişiliyor) - </> (API rehberi) yalnız admin+developer'a görünür (data-role gating) - Kullanıcı çipine data-action eklendi → güvenilir Hesabım navigasyonu (hash takılması düzeldi)
- navigate() hash'i mevcut sayfaya senkronlar (replaceState) → refresh sonrası aynı sayfada kalır (önceden hep Hesabım'a geliyordu) - sayfa geçişinde scrollTo(0,0) + focus preventScroll → sayfa tepeden açılır - active highlight yalnız .nav-item'lara uygulanır (çip artık 'active' almıyor)
- rethemeCharts(): tema değişince canvas renkleri YERİNDE güncellenir (refresh gerekmez); amber/mavi accent eksenleri korunur - dark grafik yazıları aydınlatıldı (tick #aeb9c9, legend #dbe2ec, açık ızgara) → eskiden koyu zeminde okunmuyordu - main.js: tema toggle'ında rethemeCharts() çağrılır
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Özet
3 mantıksal commit — UI/navigasyon iyileştirmeleri (tema işinden ayrı konu).
nav: rol bazlı görünürlük + Hesabım (6d3b5b9)
</>(API rehberi) yalnız admin + developer'a görünür (data-role)data-actioneklendi → güvenilir Hesabım navigasyonu (hash takılması düzeldi)navigasyon: refresh + scroll (4fc1eaa)
navigate()hash'i mevcut sayfaya senkronlar → refresh aynı sayfada kalır (önceden hep Hesabım'a geliyordu)tema: toggle grafik renkleri (d8aed62)
rethemeCharts(): tema değişince grafik canvas'ı yerinde güncellenir (refresh gerekmez); amber/mavi accent eksenleri korunurTest (manuel, preview)
</>/Hesabım görmez; admin</>görür; çip→Hesabım çalışıyor ✓🤖 Generated with Claude Code