Per-User and Board-level data save fixes. Part 3.
Some checks are pending
Docker / build (push) Waiting to run
Docker Image CI / build (push) Waiting to run
Release Charts / release (push) Waiting to run
Test suite / Meteor tests (push) Waiting to run
Test suite / Coverage report (push) Blocked by required conditions

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2025-12-23 09:03:41 +02:00
parent 90a7a61904
commit a039bb1066
12 changed files with 2996 additions and 82 deletions

View file

@ -67,6 +67,27 @@ Meteor.publishRelations('boards', function() {
true,
)
);
// Publish list order changes immediately
// Include swimlaneId and modifiedAt for proper sync
this.cursor(
ReactiveCache.getLists(
{ boardId, archived: false },
{ fields:
{
_id: 1,
title: 1,
boardId: 1,
swimlaneId: 1,
archived: 1,
sort: 1,
modifiedAt: 1,
_updatedAt: 1, // Hidden field to trigger updates
}
},
true,
)
);
this.cursor(
ReactiveCache.getCards(
{ boardId, archived: false },