You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 083acad
Browse filesBrowse the repository at this point in the historyBrowse files
Owner-only mark stored as DocumentFavorite. Soft-delete
keeps the join so restore stays favorited; purge drops it.
Closes#173
Co-authored-by: Cursor <[email protected]>
Copy file name to clipboardExpand all lines: CONTEXT.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,10 @@ Shared names for docs.plus domain concepts. Architecture reviews and deepenings
11
11
-**HeadingScale** — visual size by rank inside a section. Distinct from Block style. The same heading level can look larger or smaller depending on the section.
12
12
-**Heading slug trail** (`?h=`) — outline ancestry from the target heading up through each parent to Title. Not a join of every heading before the target. `id=` is the resolver.
13
13
14
+
## Documents list
15
+
16
+
-**Favorite** — a per-user mark that pins a document to the top of Settings → Documents. Stored as `DocumentFavorite` (`userId` + `documentId`). Owner-only. Soft-delete keeps the row; purge cascade drops it. Not **Bookmark** (chat messages and the hyperlink picker) and not **Pin** (channel messages).
17
+
14
18
## Document access
15
19
16
20
-**Private** — only the owner may open the document (REST slug + WS room sealed).
'Document metadata row. Includes at least `documentId`, `slug`, `title`, `description`, `keywords`, `readOnly`, `isPrivate`, `createdAt`, `updatedAt`, plus the joined snake_case owner profile.',
153
+
'Document metadata row. Includes at least `documentId`, `slug`, `title`, `description`, `keywords`, `readOnly`, `isPrivate`, `createdAt`, `updatedAt`, plus the joined snake_case owner profile. Owner-scoped live lists also send `isFavorite`.',
0 commit comments