githubnext/chopinPublic

Let's compose rich plans together

Speed up document navigation

KCKrzysztof Cieslak authored committed by Krzysztof Cieślak
29b4441Patch
Parent39d0f81
30 files changed+1543-567
StackedSplit
apps/server/src/channels/routes.test.ts+6 −17
apps/server/src/channels/routes.ts+3 −13
apps/server/src/navigation/routes.test.ts+83 −2
apps/server/src/navigation/routes.ts+31 −22
apps/server/src/research/service.test.ts+35 −0
apps/server/src/research/service.ts+16 −63
apps/server/src/storage/contract.ts+137 −3
apps/server/src/storage/memory/adapter.ts+51 −1
apps/server/src/storage/memory/research.ts+57 −0
apps/server/src/storage/model.ts+31 −0
apps/server/src/storage/port.ts+12 −0
apps/server/src/storage/postgres/adapter.test.ts+2 −0
apps/server/src/storage/postgres/migrations.ts+6 −0
apps/server/src/storage/postgres/migrations/008_research_repository_listing.sql+2 −0
apps/server/src/storage/postgres/migrations/009_navigation_revision.sql+2 −0
apps/server/src/storage/postgres/navigation.ts+167 −3
apps/server/src/storage/postgres/research.ts+106 −0
apps/web/src/add-project-dialog.tsx+149 −0
apps/web/src/api.ts+13 −2
apps/web/src/document-actions.test.ts+1 −1
apps/web/src/document-actions.tsx+0 −317
apps/web/src/document-search-dialog.tsx+153 −0
apps/web/src/hosted.tsx+62 −34
apps/web/src/navigation-shell.tsx+272 −85
apps/web/src/rename-document-dialog.tsx+30 −0
apps/web/src/room-workspace.tsx+6 −1
apps/web/src/use-project-documents.ts+4 −1
apps/web/src/use-project-research.ts+11 −2
e2e/document-navigation.e2e.ts+68 −0
e2e/hosted.e2e.ts+27 −0