Skip to content

Epic: turn the docs product into a wiki #199

Open
2 of 5 issues completed
Open

Description

@imshashank

The docs foundation already has history, collections, sharing, people mentions and permission-filtered URL backlinks. The remaining wiki work is tracked below; the earlier status comment predates several scope decisions. Keep this epic open until its active children are complete.

Build on packages/core/src/content/, packages/db/src/schema/content.ts and apps/web/src/features/docs/. Preserve permission filtering for links, backlinks and published content.

Sub-issues

Sub-issues

2 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added this to the Docs as a real wiki milestone on Aug 8, 2026
  2. added
    enhancement
    area: docs-feature
    roadmap
    epic
    on Aug 8, 2026
  3. moved this to Backlog in Orbit roadmapon Aug 8, 2026
  4. added
    size: extra large
    points: 13
    on Aug 8, 2026
  5. added
    p2 medium
    on Aug 8, 2026
  6. imshashank commented on Aug 15, 2026

    @imshashank
    ContributorAuthor

    Status update, triaged against main at 3ba32cb

    No child has closed, but two have moved and the epic should not be read as untouched.

    Issue State
    #200 two people editing the same doc lose each other's work Open, untouched. No CRDT or OT library anywhere in the workspace
    #201 wiki links and a backlinks panel Open, half done. The backlinks panel shipped
    #202 doc templates are a hardcoded TypeScript constant Open, untouched. DOC_TEMPLATES is still a literal in apps/web/src/features/docs/templates.ts
    #203 publish a whole doc collection as a knowledge base Open, untouched
    #204 mention issues, docs and people inline Open, a third done. People mentions shipped in #274

    What shipped. listDocBacklinks in packages/core/src/content/doc-service.ts gives every document a backlinks panel, permission-filtered through docReadFilter and rendered in doc-reader.tsx. Separately, #274 added a unique handle to user and built @ mentions with notifications on top of it, in both the doc editor and the comment composer.

    The thing worth deciding at this level. Both #201 and #204 now need a way to resolve a reference from one entity to another, and neither has one. The backlinks panel works by substring-matching /docs/<id> inside doc.content, which is unindexed and only finds full URLs. Wiki links, doc mentions and issue mentions would each need something better, and if they are built separately there will be three of them.

    A single link store, written when a document or comment is saved and read by all of the above, is the design decision this epic should make before either child is picked up. It also makes "what does this link to" answerable, which none of the current approaches can do.

    Nothing else in the epic body has gone stale. The collaborative editing gap in #200 remains the largest single item and the one with the most architectural risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docs-featureenhancementepicp2 mediumpoints: 13roadmapsize: extra large

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions