Case studies
In-depth write-ups of the hard parts: the Lanna editor, live editing, the AI teacher and sign-in.
Case study · 6 minJaan EditorA contenteditable editor that mixes Thai, English and Lanna script, with its own keyboard, IME-safe repair, its own undo history and a headless typing test suite.Case study · 5 minLive editingParagraph locks, presence, adaptive polling and versioned writes, with no websockets, on ordinary shared hosting.Case study · 7 minAI teacherRetrieval from the dictionary, cited answers, no generated Lanna spellings, caching, limits and human review.Case study · 6 minQA automation166 automated tests across the editor, boards, live editing, sign-in, the AI and search visibility, run in Chrome and real Safari against the live site without touching real data — and the rule that every fixed bug becomes a test.Case study · 7 minSign-inOne IDUnify account for the site, the blog and other sites; a token exchanged once for our own session, display vs session cookies, the "signed in here, not there" bug, and staying signed in for 30 days from the last visit.