feat: Show how many cards a list holds

A board level switch, off by default. With it on, each list puts its card
count on the add-card button. Useful to a board that is being kept to a size
and noise to one that is not, which is why it is a choice rather than always
on.

The count is every card in the list, not the ones a filter leaves visible.
Those answer different questions: how full is this list, versus how many match
what I am looking at right now. The first is the one a counter is for, and it
is also what the same switch counts in Pro, so a board keeps its meaning
across an upgrade.

The column matches Pro's name, type and default, so the setting survives that
upgrade rather than being dropped on the way.
This commit is contained in:
Daniel Hiller
2026-09-17 03:51:40 +02:00
parent ca035d670e
commit b581a97c2c
11 changed files with 123 additions and 0 deletions
+9
View File
@@ -55,6 +55,10 @@
* type: boolean
* description: Whether to always display card creators
* example: false
* showCardCounter:
* type: boolean
* description: Whether a list's add-card button shows how many cards it holds
* example: false
* displayCardAges:
* type: boolean
* description: Whether to display card ages
@@ -124,6 +128,9 @@ module.exports = {
alwaysDisplayCardCreator: {
type: 'boolean',
},
showCardCounter: {
type: 'boolean',
},
displayCardAges: {
type: 'boolean',
},
@@ -167,6 +174,7 @@ module.exports = {
'defaultCardType',
'limitCardTypesToDefaultOne',
'alwaysDisplayCardCreator',
'showCardCounter',
'displayCardAges',
'expandTaskListsByDefault',
);
@@ -186,6 +194,7 @@ module.exports = {
'defaultCardType',
'limitCardTypesToDefaultOne',
'alwaysDisplayCardCreator',
'showCardCounter',
'displayCardAges',
'expandTaskListsByDefault',
'isSubscribed',