Repository navigation
docs: 可用性修订(基于 Don't Make Me Think 与写给大家看的设计书) - #1033
Merged
Merged
Conversation
- prometheus: api.flascat.cloud -> api.flashcat.cloud, Promtheus, bold spacing, 测->侧 - fix skipped heading levels (h2->h4) in RUM analytics, cli, blueking/keep/elastalert2 - servicedesk-plus-sync: h6 notes -> <Note> - rename zh/stsatuspage -> zh/statuspage, rum/error-tracking/erro-reporting -> error-reporting (zh/en), update links and add redirects
A '---' right under a heading detaches the heading from its content (proximity) and was used inconsistently. 4302 rules in 744 zh/en pages.
- 152 '展开'/'Expand' accordions -> '查看专属/共享集成的配置步骤' (zh/en) - 129 timestamp/empty image alts -> page + section description
- zh: 你 -> 您 (527 occurrences, 118 pages); skipped compliance/ legal docs, inline code and quoted UI strings - zh/en: '=>', ' > ', '->' between UI path segments -> ' → ' (258 occurrences, 160 pages); statuspage/widgets.mdx kept '>' as it denotes priority order
Replace backend/frontend/component/contract wording with what users see and can do (49 zh + 49 en edits in 24 page pairs: Monitors dashboards, data sources, alert rules, escalation rules, AI SRE sessions/automations/MCP, etc.). API-relevant facts are kept and pointed at the Open API where applicable.
…d integrations - integrations: sidebarTitle = product name only (334 zh/en pairs); fix missing spaces in zh titles; groups sorted alphabetically by slug, with the generic methods (standard alert, email, HTTP pull, DB pull) kept on top - rename conflicts: 状态页 -> Flashduty 服务状态; AI SRE 控制台 -> 控制台对话 (and link texts); 自定义操作 -> 故障自定义操作 / Webhook 自定义操作; OpenAPI Go SDK -> Go SDK 快速上手; MCP -> MCP 外部工具 / Flashduty MCP Server - AI SRE: drop the redundant 了解 prefix in sidebar labels - zh team-members title 组织管理 -> 团队管理 (matches content and en) - add orphan openapi/rate-limits to API nav
- home (zh/en): description lists all four products; task entry cards first; accordions unfolded into short capability lists + links; video moved below products (no autoplay); AI SRE quickstart card now points to ai-sre/quickstart; API count replaced by neutral wording; Monitors name aligned with product page - use-case lists moved from home to on-call/rum/monitors intro pages - new on-call/integration/alert-integration/overview (zh/en): generic methods + all 290 integrations A-Z, first page of the 告警集成 group - integration count: 267 / 100+ -> 290+ (verified: 290 tool guides + 4 generic) - on-call.mdx: card 通知触达 -> 分派策略 (matches target); drop '5 分钟完成接入' - quickstart: 路由规则 card now links to routing-rules; trim 5x bold sentence; channel no longer described as a 作战室 (a separate feature) - FID -> INP where listed as a current Core Web Vital - AI SRE sub-pages: 3-line billing Info callout -> one-line pointer to overview
…lements The page announces six elements and then interrupted them with a secondary operation; it now follows element 6 as its own section, linked from the intro.
…repeat core concepts
…n and billing details to rules and outcomes
… copy and implementation notes
…es in user terms, drop API fields and error strings
…y, field names and form mechanics
…d stream-frame API details into an API section
…drop UI copy and internal API routes
… names and console routes; keep rules
…arnings in user terms
…integrations — replace UI walkthroughs with rules and outcomes
…data sources, query workbench, alert rule guide)
…ts, integration permission notes — state the rule, drop UI copy and field names
Contributor
Author
第二轮精简(按页面逐段判断)针对评审意见「第一轮清理不彻底,多为关键词替换」,这一轮逐页逐段判断:用户完成任务是否需要这段内容。规则和结果保留,实现机制删掉。中英文同步修改,产品事实不变。 范围:29 个页面(中英各 29 篇),按产品域拆成多个 commit:
中文 29 页合计约 59.5 万字节 → 48.3 万字节(−19%)(中英合计 1.41 MB → 1.17 MB)。 主要删减类型
代表性改动
链接
检查: 说明:本轮中途一次提交(1fe823af、5951a819、ef6ff2ca)误删了 3 个页面的几个小节标题和 1 个 Tip,已在 3dbe9b3 中恢复。集成类页面和 changelog 基本没有改动。 |
…into one table, merge pie rules into chart types, drop tooltip copy
…rge duplicate ranking lists into one table; error viewing — condense symbol panel
…allation list; drop duplicate tip and error copy
…se card, move close consequences to Close section, link templates, drop internal permission key
…pdate rules with technical details in an accordion, drop routes and internal fields
…current behavior, not a change note
Contributor
Author
第三批:RUM / AI SRE / On-call 精简 + 集成页模板修复范围: 核心页面精简14 个中文页面合计 258,795 → 237,359 字节,英文页面同步精简。
集成页模板级修复
问题修复
检查以下检查均通过:
待确认
|
…oper/go-sdk with redirects; link error code list
…droid SDK, RUM performance)
…n ids, voice/SMS region card walls as tables, merged pricing/License answers, separate 'not receiving notifications' section, fixed list numbering
…ordion ids, condensed overview cards
…de quoted third-party UI
…ring (一、/I.), merge empty 'In <tool>' headings with their push-config section, fix heading jumps; fix copy-pasted product names (UCloud page said Volcengine RTC, Volcengine event page said CM Metrics, Uptime Kunma); remove duplicated OceanBase status table
…numeric H2 prefixes
…upe permission notes, merge Slack error FAQs
…ered steps so lists no longer break
…s en↔zh; fix copy-pasted 'WeCom bot' text, stale section refs, empty Zabbix heading, zh punctuation and UI-term formatting
…nested tabs), SSO role/team sync (lead with overwrite semantics), engine-lost alert, RUM Explorer overview
…om forms, filter conditions, widgets
…e automations, /init consent, promote Skill format/built-ins to H2
…ondense performance diagnosis, turn non-link best-practice cards into lists
…s in SQL/log alert-rule pages; fix Zabbix parameter list
…ror reporting and distributed tracing pages
…hree repeated default-value warnings into one
…f a wall of paragraphs
Contributor
Author
可用性改造:全部轮次总结(第 1–4 轮)按 Krug(《Don't Make Me Think》)和 Williams(亲密性、对齐、重复、对比)两条原则,对中英文文档做了同步改造。所有改动都只调整结构和措辞,没有新增或改动任何产品事实。 总量
各轮内容
推断措辞(建议复核)
待确认的产品事实(未改动)
未做的事项及原因
|
…ancement API latency < 500ms (zh+en)
…' AI SRE setups into one section matching the product UI (Workspace → Smart Robot → API mode, trusted-domain callback URL)
…of error-reporting/web, not in nav); redirect the bare error-reporting paths to the Web page
Contributor
Author
根据 Bowen 对待确认问题的答复所做的修改
检查结果:mint broken-links、mint validate、api_path_redirects、lint_openapi、integration-docs 和 node test 全部通过,标题锚点失效数为 0。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
以《Don't Make Me Think》(Steve Krug)和《写给大家看的设计书》(Robin Williams)的可用性与版式原则为依据,对 zh/en 全部文档做了一轮可用性修订。中英文同步修改。所有改动只调整表达、结构和导航,不新增产品事实;凡是数字或能力描述存在冲突的地方,都只采用能在仓库里核实的数据或改成中性措辞,无法核实的列在文末「待确认问题」中。
共 8 个提交,910 个文件变更(+2975 / −7022,删除行主要来自去掉标题下的分隔线)。
改动(按原则分组)
1. 页面要不言自明:去掉写给工程师看的实现细节
dashboards.mdx「后端契约已经支持,但前端渲染器尚未落地」→「暂不支持,在类型选择器中不可选」;escalation-rule.mdx「最多 39 个字符(后端限制 40)」→「最多 39 个字符」。2. 首页清晰、任务优先
ai-sre/quickstart。3. 导航:名称唯一、链接文字与目标一致、方便扫读
on-call/integration/alert-integration/overview(zh/en),作为「告警集成」组的第一页:先列 4 种通用接入方式,再按 A–Z 列出全部 290 个集成。platform/team-members的 zh 标题「组织管理」→「团队管理」,与正文和英文一致。routing-rules。on-call.mdx「通知触达」卡片 → 改名「分派策略」,与目标页一致。openapi/rate-limits加入 API 导航。4. 维护信任:修正错误和前后矛盾的说法
api.flascat.cloud→api.flashcat.cloud、Promtheus拼写、加粗多余空格(** Prometheus**)、「测是否」→「侧是否」。docs.json加 redirect:zh/stsatuspage→zh/statuspagerum/error-tracking/erro-reporting/*→error-reporting/*(zh/en,用:slug*通配跳转)5. 视觉层级:对比、亲密性、重复
---分隔线:4302 处、744 个页面。分隔线会把标题和它的内容隔开,而且只有部分页面这样写。<Note>。2025-09-18-15-05-10)→ 用「页面标题:章节」生成的描述。6. 写作一致性
compliance/下的法律文本、代码、行内代码和「」“”引号里的界面原文。=>/>/->共 258 处,160 个页面(zh/en)。statuspage/widgets中表示优先级顺序的>保留不改。有意没有改的内容
<div className="hide">:integration-docs/scripts/build.mjs会在控制台内嵌文档中移除这些块,属于有意设计,不动。integration-docs),风险高,建议单独立项。本 PR 只统一了侧边栏名称、Accordion 标题、alt 和明显错误。on-call.mdx的「告警噪音降低 90%」:无法从仓库核实,按要求保留原文,见下方问题。ai-sre.mdx和ai-sre/overview.mdx、两个 Go SDK 页没有合并,只改了名称以消除歧义。合并需要内容负责人决定保留哪一版。en/rum/error-tracking/error-reporting.mdx(不在导航中)和en/rum/quickstart/faq.mdx(中文没有对应页)保持原样,没有删除。待确认问题
monitors.mdx的「告警规则类型」表格写了这些类型,但首页和各告警规则文档只写了阈值判定、数据缺失、数据存在三种判定方式。哪种说法是准的?on-call.mdx出现 3 次):是否有出处?没有的话建议改成中性措辞。验证
npx mint broken-links:通过(no broken links found)npx mint validate:通过(build validation passed)integration-docs:node scripts/build.mjs && node scripts/check.mjs通过(348 keys zh/en)mint dev渲染首页(移动端 390px)已人工检查。桌面端截图在本地超时,未看到集成总览页的渲染效果,请在 Preview 部署中复查首页和集成总览页。zh/on-call/integration/**),控制台内嵌的集成文档会随之更新(主要变化是 Accordion 标题和 alt)。