metabase-data-apps
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMetabase data apps
Metabase 数据应用
This skill is split into parts, one per task. Each part is a guide in its own folder, together with the files only that task uses. Paths in this skill are relative to , the directory holding this .
<skill-dir>SKILL.md本技能按任务拆分为多个部分,每个任务对应一个部分。每个部分都是独立文件夹中的指南,附带仅该任务使用的文件。本技能中的路径均相对于,即存放此的目录。
<skill-dir>SKILL.mdRead only the parts the task needs
仅阅读任务所需的部分
Every guide is long, and its rules apply only to its own task. Pick the parts from the user's request, read those guides, and leave the others unread.
| The task | Read |
|---|---|
| Create, scaffold, or remove an app; the dev preview and its diagnostics feed; syncing an app to Metabase; an app-wide error | |
| Change an existing app's UI without new data or writes: layout, theme, SDK components, how a chart renders | |
Show Metabase data: tables, metrics, segments, measures, saved questions, filters, charts, the generated | |
| More than one page: routes, links between pages, the current path | |
| A write: a form, a button that creates, updates, or deletes, running an action | |
Metabase marks the app Outdated, the user asks to migrate it, or | |
- Don't read unless the app needs more than one page.
routing/routing.md - Don't read unless the app writes data.
actions/actions.md - Don't read unless the app needs migrating as the table says. An app Metabase doesn't mark Outdated, and that builds, needs no migration.
migrate/migrate.md - A task can span parts: a new app that shows a metric needs , then
setup/setup.md. Read each part when the work reaches it, not all of them up front.semantic-layer/semantic-layer.md - When a guide points to another part or to a file under its own , read it only when you reach that step.
references/
每份指南内容都较长,且其规则仅适用于对应的任务。请根据用户需求选择对应部分的指南阅读,无需阅读其他部分。
| 任务类型 | 需阅读的文件 |
|---|---|
| 创建、搭建或删除应用;开发预览及其诊断信息流;将应用同步到Metabase;应用全局错误 | |
| 修改现有应用的UI(不涉及新增数据或写入操作):布局、主题、SDK组件、图表渲染方式 | |
展示Metabase数据:表、指标、分段、度量、已保存问题、筛选器、图表、生成的 | |
| 多页面场景:路由、页面间链接、当前路径 | |
| 数据写入场景:表单、用于创建/更新/删除的按钮、运行action | |
Metabase将应用标记为_过时(Outdated)_、用户要求迁移应用,或是SDK升级后 | |
- 除非应用需要多页面,否则不要阅读。
routing/routing.md - 除非应用涉及数据写入,否则不要阅读。
actions/actions.md - 除非表格中说明的需要迁移的场景,否则不要阅读。未被Metabase标记为过时且可正常构建的应用无需迁移。
migrate/migrate.md - 一个任务可能涉及多个部分:例如一个展示指标的新应用需要先阅读,再阅读
setup/setup.md。请在工作推进到对应阶段时再阅读相应部分,无需提前全部阅读。semantic-layer/semantic-layer.md - 当某份指南指向另一部分或其自身目录下的文件时,仅在执行到对应步骤时再阅读。
references/