mirror of
https://github.com/tiennm99/programming-fengshui.git
synced 2026-05-13 22:58:27 +00:00
b8502fd3fc
- Persist source/view/sort toggles via URL query params (?s=…&v=…&o=…). Short keys keep shared URLs readable; defaults are stripped to keep the bare URL clean. history.replaceState (no history pollution). Init seeds toggles from URL with clamp-to-default validation. - View class is applied BEFORE first render so renderGrid sees the correct show-all state on direct deep-link loads. - Add #source-note pill next to the source tag; shows "91 ngôn ngữ — palette riêng so với GitHub" when GitLab selected, hidden otherwise. Plus title attr on the source-toggle group with the full GitHub-vs-GitLab disparity. - In TIOBE view, hide cards with zero TIOBE-ranked langs (currently KIM has 0 of 19) — all-langs view still shows every Ngũ Hành card so the wheel stays intact. - source-tag firstChild text-node overwrite preserves the source-note span sibling. Closes phase-02 of plan 260428-1003-implement-all-remaining (items 2, 3, 4).