mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
29 lines
1.7 KiB
Plaintext
29 lines
1.7 KiB
Plaintext
# Example input for docs/Features/General/History, from History.md.
|
|
# Extracted automatically from the first fenced code block in that
|
|
# document - see History.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
|
|
}
|