tractatus/public
TheFlow 325aaa509b fix(docs): resolve language persistence and duplicate selector issues
Fixed three P0 bugs preventing language selection from persisting:

1. **Removed duplicate language selector** (docs.html:499-508)
   - Page had both navbar flags AND dropdown selector
   - Caused UX confusion (two selectors, no sync)
   - Now uses navbar flags only (consistent with site)

2. **Fixed localStorage key mismatch** (docs-app.js:207)
   - i18n-simple.js used 'tractatus-lang'
   - docs-app.js used 'tractatus_language' (underscore)
   - Unified to 'tractatus-lang' for persistence

3. **Removed dead code** (docs-app.js:836-871)
   - initLanguageSelector() expected removed dropdown
   - Caused potential JS errors
   - Navbar language-selector.js now handles all switching

**Result:**
-  Single language selector (navbar flags)
-  Language persists across page reloads
-  No JavaScript errors
-  Ready for Caixin Global launch (Oct 29)

**Version:** 0.1.2 → 0.1.3 (service worker cache bust)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 10:09:42 +13:00
..
.well-known fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
admin fix(audit): fix timeline chart rendering with pixel heights and count labels 2025-10-25 12:22:55 +13:00
css fix(css): correct justify-center syntax error in loading overlay 2025-10-24 12:41:53 +13:00
demos fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
docs fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
downloads fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
fonts fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
images docs: complete research documentation publication (Phases 1-6) 2025-10-25 20:10:04 +13:00
js fix(docs): resolve language persistence and duplicate selector issues 2025-10-26 10:09:42 +13:00
koha feat(crm): complete Phase 3 multi-project CRM + critical bug fixes 2025-10-24 18:10:14 +13:00
locales fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
about.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
api-reference.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
architecture.html fix(cache): update architecture.html cache version for interactive diagram 2025-10-24 18:28:42 +13:00
blog-post.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
blog.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
case-submission.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
check-version.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
docs-viewer.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
docs.html fix(docs): resolve language persistence and duplicate selector issues 2025-10-26 10:09:42 +13:00
faq.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
favicon-new.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.ico fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
favicon.svg fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
implementer.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
implementer.html.backup fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
index.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
koha.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
leader.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
manifest.json fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
media-inquiry.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
media-triage-transparency.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
privacy.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
researcher.html chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
service-worker.js chore: bump cache version for deployment 2025-10-26 02:21:25 +13:00
test-pressure-chart.html fix(submissions): restructure Economist package and fix article display 2025-10-24 08:47:42 +13:00
version.json fix(docs): resolve language persistence and duplicate selector issues 2025-10-26 10:09:42 +13:00