Collapse Lists to be per user, not per board. In Progress.

Related #5388

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2024-05-01 23:58:57 +03:00
parent e73a44d15b
commit 902f86d363
7 changed files with 74 additions and 44 deletions

View file

@ -156,13 +156,6 @@ Lists.attachSchema(
type: String,
defaultValue: 'list',
},
collapsed: {
/**
* is the list collapsed
*/
type: Boolean,
defaultValue: false,
},
}),
);
@ -293,10 +286,6 @@ Lists.helpers({
return this.starred === true;
},
isCollapsed() {
return this.collapsed === true;
},
absoluteUrl() {
const card = ReactiveCache.getCard({ listId: this._id });
return card && card.absoluteUrl();
@ -317,9 +306,6 @@ Lists.mutations({
star(enable = true) {
return { $set: { starred: !!enable } };
},
collapse(enable = true) {
return { $set: { collapsed: !!enable } };
},
archive() {
if (this.isTemplateList()) {