githubnext/chopinPublic

Let's compose rich plans together

Add durable inline research requests #129

MergedMaggieAppletonmerged 11 commits intomainfromrefs/pull/129/head
ConversationFiles changed
40 files changed+3799-72
StackedSplit
apps/server/src/research/request-view.ts+4 −1
apps/server/src/research/routes.test.ts+176 −0
apps/server/src/research/routes.ts+107 −0
apps/server/src/research/service.test.ts+248 −8
apps/server/src/research/service.ts+73 −28
apps/server/src/storage/contract.ts+149 −0
apps/server/src/storage/memory/research.ts+59 −0
apps/server/src/storage/model.ts+41 −0
apps/server/src/storage/port.ts+5 −0
apps/server/src/storage/postgres/research.ts+81 −0
apps/web/src/api.test.ts+31 −1
apps/web/src/api.ts+39 −0
apps/web/src/navigation-model.test.ts+8 −0
apps/web/src/navigation-model.ts+9 −1
apps/web/src/navigation-shell.tsx+13 −0
apps/web/src/research-requests.test.ts+495 −0
apps/web/src/research-requests.ts+208 −0
apps/web/src/room-workspace.tsx+15 −0
packages/dialect/src/dialect.ts+12 −0
packages/dialect/src/index.ts+2 −0
packages/dialect/src/nodes/containers.test.ts+53 −13
packages/dialect/src/nodes/containers.ts+2 −6
packages/dialect/src/nodes/identity.ts+8 −0
packages/dialect/src/nodes/research-visitors.ts+28 −0
packages/dialect/src/nodes/research.ts+71 −0
packages/dialect/src/registry.ts+14 −0
packages/dialect/src/validate.ts+13 −0
packages/editor/src/index.ts+8 −2
packages/editor/src/plan-editor.tsx+15 −1
packages/editor/src/research-draft.test.ts+242 −0
packages/editor/src/research-draft.ts+224 −0
packages/editor/src/styles.css+66 −0
packages/editor/src/toolbar/index.tsx+15 −1
packages/editor/src/toolbar/research.tsx+277 −0
packages/editor/src/toolbar/slash.test.ts+281 −0
packages/editor/src/toolbar/slash.tsx+59 −9
packages/editor/src/widget-options.ts+17 −0
packages/editor/src/widgets/index.ts+4 −1
packages/editor/src/widgets/research.test.tsx+331 −0
packages/editor/src/widgets/research.tsx+296 −0