mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. Thanks to xet7 !
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
# Example input for docs/Features/History, from README.md.
|
|
# Extracted automatically from the first fenced code block in that
|
|
# document - see README.md for the full explanation.
|
|
|
|
{
|
|
_id,
|
|
boardId, // for permission scoping + publications (null for non-board changes, if any)
|
|
// What was changed — general, not card-only:
|
|
entityType, // 'card' | 'list' | 'swimlane' | 'board' | 'checklist' | 'checklistItem'
|
|
// | 'comment' | 'attachment' | 'customField' | ...
|
|
entityId, // the changed entity's _id
|
|
cardId, // set when the change belongs to a card (drives the card-group view); optional
|
|
group, // logical group for the card view: 'description' | 'labels' | 'members'
|
|
// | 'dates' | 'checklists' | 'title' | ... (optional for non-card changes)
|
|
changeType, // 'added' | 'removed' | 'edited' | 'moved' | 'restored'
|
|
// Content for display + restore — structured, not just strings:
|
|
previousContent, // blackbox; null for 'added'
|
|
newContent, // blackbox; null for 'removed'
|
|
userId, // WHO made the change — the axis the Member-settings view filters on
|
|
createdAt, // Date; formatted client-side with the viewer's/card's date format
|
|
// Undo/redo stack (folds in #6478's userPositionHistory fields):
|
|
undone, // Boolean — restored/undone, redoable until superseded
|
|
undoneAt, // Date — orders the redo stack
|
|
batchId, // groups a multi-entity change (e.g. multi-select move / multi-restore)
|
|
// Restore provenance (set only when changeType === 'restored'):
|
|
restoredFromId, // the changeHistory _id whose content was restored
|
|
restoredByUserId, // who performed the restore
|
|
}
|