问题
AFFiNE 的表格/数据库用户在记录咖啡冲煮参数、价格×数量、成绩等轻量数据时,无法在列之间做算术计算。用户原话:"having to get a calculator out and enter that number manually is annoying"。现有 workaround 很勉强——表格底部只有单一列的 sum 聚合,没法把成本列乘以数量列;想要 Excel 式的 "=" 交互只能换工具。三个 issue 都指向同一个缺口:基础公式能力缺失。
目标用户
AFFiNE 的个人与轻量团队用户:用表格记录咖啡冲煮参数的爱好者、追踪成本/价格/成绩的学生、教师和小微记账场景,以及想协作但"can't afford the payment plans"(用不起 Notion 付费版)的用户。整体是免费开源工具的长期用户群,付费能力存疑,规模受限于 AFFiNE 自身的用户基数。
解决方案
做一款 AFFiNE 表格公式插件(或上游功能贡献):核心功能:- 计算列:新增一种列类型,输入 = 进入公式模式- 基础算术:列间加减乘除,如 价格 × 数量 = 总成本- 单元格引用:支持 $ 锁定引用和列名引用,如 =cell('咖啡重量') / cell('水量')- 少量函数:MAX()、MIN()、SQRT()、LOG()- 实时重算与错误提示。AI 角色:本机会非常有限;可选项是用 LLM 把自然语言("算水粉比")转成公式,属于加分项而非核心。
MVP 范围
第一版只做:在 AFFiNE 表格/数据库中新增一种「计算列」,支持 = 开头的加减乘除、$ 锁定的单元格引用和列名引用,实时重算。不做:完整 Excel 函数库、跨表引用、图表、列布局(signal 3 的分栏需求与计算无关,且已有官方讨论热度更高)。明确依赖 AFFiNE 插件 API,若 API 不支持自定义列类型则需评估 fork 或上游贡献。
风险
平台依赖是最大风险:这是给 AFFiNE 打补丁,signal 2 显示官方已实现 sum 聚合,公式列很可能在其路线图上,原生实现会直接淘汰插件。商业性弱:三条信号的 pain 只有 2-3,willingness_to_pay 均为 none,用户预期这是免费功能。插件 API 限制:AFFiNE 的插件体系能否支持自定义列类型未经信号验证,可能需要 fork。市场规模小:仅覆盖 AFFiNE 的个人/轻量用户,天花板低。
已有产品
信号证据
这张卡片依据的原始讨论。摘录保持原文,点“原文”查看上下文。
GitHub Issues · toeverything/AFFiNE10月12日功能请求▲ 121 条评论
“If I have a column that is coffee weight and a column that is water weight, the ratio is simply `water / coffee`, but having to get a calculator out and enter that number manually is annoying.”
AFFiNE users want lightweight formula/computed cell types in tables to avoid manually calculating values with an external calculator.原文
GitHub Issues · toeverything/AFFiNE6月21日功能请求▲ 112 条评论
“Just like in Excel, allowing users to type "=" to start a calculation and perform basic operations would be a huge improvement.”
AFFiNE 数据库不支持基于 '=' 的基础算术运算(加、减、乘、除),用户无法在列之间进行计算,例如将价格乘以数量得出总成本。原文
GitHub Issues · toeverything/AFFiNE7月12日功能请求▲ 5444 条评论隐含付费意愿
“can you guys make a column-like display, like what the Notion has, with 2, 3, 4 and 5 columns. I like this feature from Notion, but i want to do a collaborative project with a friend and Notion it's very limited and we can't afford the payment plans.”
AFFiNE lacks Notion-style column layouts (2–5 columns) for side-by-side content like image next to text.原文