AnyBot/docs
王性驊 c8aa522d8b fix: 頁面圖表的數據表不再把頁面視窗撐出畫面;折線離 0 很遠時看得出起伏;長數據表收起
- 數據表原本是 egui Grid,數字欄用「靠右」排版,會拿走那一列剩下的所有寬度:條紋只蓋到第一欄、名稱置中、數字被推到卡片最右邊;有兩欄以上數字(圓餅的「佔比」、多系列)時下一欄從邊外開始,頁面視窗越撐越寬、跑出畫面。改成自己畫的一塊:灰字表頭、每列一條細線、名稱靠左、數字靠右、每欄只有內容那麼寬(和頁面的表格同樣子),太窄先把名稱切成 …,再不夠就在卡片裡左右捲動。
- 超過 6 列的數據表收成「▸ 數據 · N 筆」,點了展開(電腦和手機一樣)。
- 折線的 y 軸不再一律從 0 開始:最小值比資料的高低差還大時照資料範圍畫(1,649–1,796 W 原本是一條貼在頂端的平線);長條一定從 0。規則在 pages::chart_from_zero,手機 chartFromZero 同一條。
- 截圖用的 ANYBOT_SHOT_PAGE_BODY:頁面範例換成檔案裡的 Markdown。

已驗證:cargo test --bin anybot 526 通過(新增 a_line_far_from_zero_fits_its_data_and_bars_start_at_zero);深色截圖 24 小時用電折線(1600–1800 看得出起伏、數據收起、展開後視窗不變寬)、多系列與長條數據表;手機圖表測試 65/65(改成直接讀 index.html)+新規則 8/8;Brave 390 寬深色截圖:折線範圍、收起/展開、沒有橫向溢出。
未驗證:使用者原本那一頁(沒有那份資料)。
2026-11-17 00:02:22 +08:00
..
demo One computer-and-phone still, and the README stops advertising its style guide 2026-11-10 14:21:06 +08:00
en version_0_1_1-alpha 2026-11-11 16:19:06 +08:00
feature-map fix: 頁面圖表的數據表不再把頁面視窗撐出畫面;折線離 0 很遠時看得出起伏;長數據表收起 2026-11-17 00:02:22 +08:00
specs Rewrite decompilation comments as behaviour specs; move reverse-engineering docs out of the repo; drop third-party marks from UI strings (i18n tables synced) 2026-11-09 16:37:33 +08:00
architecture.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
install.md design: Bot 的電腦的桌面也換成思源黑體(第 14 版),拿掉粉圓 2026-11-16 22:18:32 +08:00
memory.md 記憶: each bot keeps its own, remembers like a person, and decides for itself 2026-11-11 09:35:59 +08:00
multi-device.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
plan-2026-11-computer-use.md Plan: smoother computer use and box logins that survive a rebuild 2026-11-06 22:06:49 +08:00
plan-2026-11-improvements.md 記憶: a page to see it, a few lines picked while typing, a local model 2026-11-11 07:46:50 +08:00
protocol.md 傳送: a file or a few words from any device of the account to any other 2026-11-11 10:04:13 +08:00
readme-style.md Readmes: the shape top-starred projects use, and no more overflow 2026-11-10 14:14:27 +08:00
release.md make, README and docs: build and install from source 2026-11-04 22:16:45 +08:00
skills.md version_0_1_1-alpha 2026-11-11 16:19:06 +08:00