Skip to content

v1.5.0 — 江山时序 · 移动端体验与舆图寻址 2.0、自适应多语与首屏瘦身、山河标注及 221 幅疆域快照

Latest

Choose a tag to compare

@DeanChensj DeanChensj released this 27 Nov 07:31
· 10 commits to main since this release
c33c6fc

江山时序 · 中国历史交互地图时间轴 v1.5.0 (Chronicles of the Realm v1.5.0)

🌐 在线体验 (简体中文): https://deanchen.me/jiangshan-map/
🌐 在线体验 (繁體中文): https://deanchen.me/jiangshan-map/?lang=zh-tw
🌐 Live Interactive Atlas (English): https://deanchen.me/jiangshan-map/?lang=en
📚 历史专题总览 (Topic Guides): https://deanchen.me/jiangshan-map/topics/
📖 背后的故事 (Author's Story): 从历史课本里的插图,到 GitHub 1k star:「江山时序」背后的故事


✨ v1.5.0 七项主要更新 (What's New in v1.5.0)

1. 移动端体验全链路重构与舆图寻址 2.0

  • 舆图寻址挑战升级(#529, #546, #557, #568, #583, #501, #502):入口提至顶栏,改为 5 轮 / 100 分制平滑计分,确保每轮落点年份与城邑存续期对齐;新增宣纸成绩海报分享卡,并全面重构移动端控件、底部 Dock 操作栏与揭晓镜头框选。
  • 移动端搜索与大事记交互闭环(#561, #563, #571, #572, #582, #590):重构移动端搜索胶囊,消除输入聚焦抖动、软键盘挤压与弹窗重叠,搜索轮播新增事件始末与多元历史人物入口;移动端事件气泡收拢进底部大事记折叠栏(粗衬线标题 + 精修定位脉冲环),隐藏年份输入框原生微调箭头。

2. 出海自动语言识别、localStorage 记忆与多语精修

  • 浏览器语言自适应与记忆(#491, #544):无 ?lang= 参数时按浏览器首选语言自动落点(非中文系统直入英文版、zh-TW/HK/MO 落点繁中、爬虫与嵌入页维持简中),手动切换写入 localStorage 记忆(优先级 ?lang= > 本地记忆 > 浏览器首选);顶栏拆分语言胶囊收拢为紧凑翻译菜单。
  • 英文界面与朗读人声优化(#492, #493, #494, #516, #534):解决英文城邑在默认缩放下重叠、统一英文引号与边缘文案、?lang=en 在 <head> 预载英文字典;语音朗读优先选用 Premium/Enhanced/Siri 与云扬人声。

3. 首屏同步体积大瘦身与国内移动网络专项提速

  • 按需懒加载与运行时加速(#580, #573, #498, #536, #481, #540, #496):将 atlas_trace.js 懒拆为 atlas_person.js 与 atlas_genealogy.js,首屏同步脚本 gzip 体积降至 349.3 KB(7 个同步脚本,11 个懒加载包共延后 1,311.3 KB);直链按朝代分片加载快照、恢复 app.js defer 加载守卫、引入运行时 2D 空间网格与快速搜索索引,并支持脚本加载失败重试。
  • 国内移动网络专项优化(#490, #499):解耦海外阻塞脚本,大陆时区字体自动路由至 fonts.loli.net 镜像,移动端优先加载 97 KB 轻地形后再按需预热高清底图。

4. 山川地理标注体系、设色门禁与自然边界治理

  • 山河形胜标注上线(#576, #578):新增 T0 级边界山脉与大河标注,以及战国、十六国、五代地理分界标注,让山川走势与政权割据一目了然。
  • 相邻政权 Lab ΔE ≥ 15 色差门禁与河道对齐(#564, #558, #560, #569, #477, #479):建立相邻政权 Lab ΔE ≥ 15 自动对比度校验并修复 16 处近色撞色;对齐黄河晋陕峡谷及汾/渭汇口真实河道;战国(巴、楚、越)、南北朝、五代、秦南界全面去除现代省界锯齿,改沿自然山川分水岭。

5. 疆域快照扩容至 221 幅(208 → 221,+13 幅关键节点)

  • 新增 13 幅关键历史阶段快照:包含战国前 223 灭楚 / 前 222 灭燕代 (#566)、西汉前 174 河西 (#518)、三国 220/221/229 三帝建国分期 (#532)、东晋 327 前凉高昌 (#528)、唐 621–624 / 726–755 黑水都督府 / 842 吐蕃崩解 (#487, #524, #577)、1259 宋蒙 (#547)、元 1351/1356 红巾军 (#508)、明 1409 奴儿干都司(羁縻政权渲染,#507, #579)及清 1755 准噶尔 (#518)。
  • 全朝代疆域与政权细节校勘(#511–#567):校订前 403 年战国开篇都城与西部邻邦、胡夏关中长安 (420)、祖逖北伐 (317–319)、刘琨并幽州、隗嚣与窦融、袁术与徐州、晚唐淮南与荆南、阿古柏新疆 (1864–1875)、清中叶阿里/帕米尔及高丽/西突厥邻国名称,并清理政权名冗余括号后缀。

6. 新增「刘裕」精修行迹、全朝代大事记因果脉络与史料出处破 30%

  • 精修行迹增至 7 组(#545):新增南朝宋武帝刘裕精修行迹(?person=liuyu)及 410–418 核心历史事件;历史人物档案增至 144 位。
  • 大事记因果脉络补全与时间轴修复(#575, #581, #584, #585, #588, #591, #586, #506, #515, #519):补齐魏文侯变法、547 侯景叛乱、安庆沿革(桐城派与黄梅戏)及汉、三国、南北朝–隋、唐、宋、元、明清民国大事记因果上下文,时间轴大事增至 544 条、地标事件增至 771 条;消除时间轴 focusYear 死步并同步割据政权年号。
  • 一手正史出处突破 30%(#535, #538, #586, #478, #480, #482–#484, #309):全图 1,534 条记录中已有 479 条(31.2%) 完成正史 / 《资治通鉴》卷次引用(较 v1.4.0 净增 96 条,待补基线由 1,113 降至 1,055),并集中订正 20 余处城邑坐标、名胜与史实疏漏。

7. 视觉预览、四语文档与部署架构轻量化

  • 文档与预览图全面刷新(#551, #552, #497, #556):更新 8 张 README 预览图、2 条中英文 Hero 动图、OG 分享卡片、主页 JSON-LD 及简/繁/英/日四语 README;同步动态 SEO 元数据中的快照与大事记计数。
  • 专题页部署时构建(#504, #505, #537):128 页静态历史专题改为部署时生成,不再将生成 HTML 提交至 Git 仓库,大幅减轻仓库体积。

🌍 English Release Highlights (v1.5.0)

  1. Mobile UX Overhaul & Locate Quiz 2.0 (#529, #546, #557, #561, #563, #568, #571, #583, #590):
    • Promoted Locate Quiz to the top bar with a 5-round / 100-point smooth scoring system, a parchment shareable result poster, and redesigned mobile controls/bottom dock. Rebuilt mobile search (eliminating keyboard squeeze and focus jank), integrated mobile event callouts into the bottom chronicle peek bar, and added storylines & diverse figures to the search showcase rotation.
  2. Automatic Browser Locale Detection & localStorage Persistence (#491, #544, #492–#494, #534):
    • Visiting the root URL without ?lang= now follows the browser's primary language (non-Chinese systems land directly on English) while saving explicit language switches to localStorage (?lang= > stored preference > browser primary). Consolidated the top-bar language toggle into a compact translation menu, fixed English city label overlaps, and improved narrator voice ranking.
  3. First-Paint Slimming & Mainland Mobile Acceleration (#580, #573, #490, #498, #499, #536, #540):
    • Lazy-split atlas_trace.js into atlas_person.js and atlas_genealogy.js, bringing first-paint sync script gzip down to 349.3 KB (7 sync scripts; 1.31 MB deferred across 11 lazy bundles). Added per-dynasty snapshot chunking for deep links, runtime 2D spatial grids, a China-timezone webfont mirror (fonts.loli.net), and a 97 KB mobile relief warmup.
  4. Physical Geography Labels, Lab ΔE Contrast Guard & Natural Borders (#576, #578, #564, #558, #560, #569, #477):
    • Added T0 mountain-range/river labels and period geographic dividers; enforced an automated Lab ΔE ≥ 15 contrast check across adjacent polities (resolving 16 near-duplicate tints); aligned the Yellow River Jin–Shaan canyon with the actual channel; and replaced modern provincial zigzags across Warring States, Northern & Southern Dynasties, and Five Dynasties with natural watersheds.
  5. Expanded Historical Snapshots (208 → 221, +13 key phases):
    • Added Warring States 223/222 BCE (#566), Western Han 174 BCE Hexi (#518), Three Kingdoms 220/221/229 CE imperial foundings (#532), Eastern Jin 327 CE (#528), Tang 621–624, Heishui Command (726–755), & 842 Tibetan collapse (#487, #524, #577), 1259 Song–Mongol (#547), Yuan 1351/1356 Red Turbans (#508), Ming 1409 Nurgan Commission (#507, #579), and Qing 1755 Dzungaria (#518), plus dozens of border and naming refinements.
  6. New Liu Yu Curated Journey, Full-Era Causal Context & >30% Primary Source Coverage (#545, #575, #581, #584, #585, #588, #591, #586, #535):
    • Added Liu Yu as the 7th curated journey (?person=liuyu&lang=en); filled in historical causal context across Han through ROC milestones plus Anqing's administrative genealogy, Tongcheng School, and Huangmei Opera events (544 milestones, 771 landmark events, 144 figures); eliminated timeline focusYear dead steps; and expanded primary source citations from 383 to 479 (31.2%, +96 cited records).
  7. Refreshed Media, 4-Language Docs & Deploy-Time Topic Builds (#551, #552, #504):
    • Refreshed all 8 README previews, 2 animated Hero WebPs, OG card, JSON-LD, and four-language READMEs; moved the 128 generated static topic pages to deploy-time builds so they no longer bloat git history.

🙏 感谢本版贡献者 (Thanks to this release's contributors): @HEOJUNFO, @dajiaohuang, @mathieuwang, and @zongyangbigpolo.

Full Changelog: v1.4.0...v1.5.0