Design a Doc-as-App Model: Tables + Formulas + Buttons (OOD)

Problem

Design Coda's core: documents that combine text, tables, formulas, and buttons/automations into mini-apps.

Requirements

  • Pages contain blocks: text, table, formula, button
  • Formulas reference table data and recompute
  • Buttons trigger actions (add row, set value)
  • Views over the same table

What evaluators look for

  • Uniform block model with type-specific behavior
  • Dependency graph for formulas
  • Action/automation abstraction

Extension

Support cross-doc references and discuss recompute scope.

added …
LeaderboardSalaryAccount