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:
@@ -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',
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
* - defaultCardType
|
||||
* - limitCardTypesToDefaultOne
|
||||
* - alwaysDisplayCardCreator
|
||||
* - showCardCounter
|
||||
* - displayCardAges
|
||||
* - expandTaskListsByDefault
|
||||
* - createdAt
|
||||
@@ -68,6 +69,11 @@
|
||||
* default: false
|
||||
* description: Whether to always display the card creator
|
||||
* example: false
|
||||
* showCardCounter:
|
||||
* type: boolean
|
||||
* default: false
|
||||
* description: Whether a list's add-card button shows how many cards it holds
|
||||
* example: false
|
||||
* displayCardAges:
|
||||
* type: boolean
|
||||
* default: false
|
||||
@@ -143,6 +149,12 @@ module.exports = {
|
||||
defaultsTo: false,
|
||||
columnName: 'always_display_card_creator',
|
||||
},
|
||||
// Whether a list's add-card button carries the number of cards it holds.
|
||||
showCardCounter: {
|
||||
type: 'boolean',
|
||||
defaultsTo: false,
|
||||
columnName: 'show_card_counter',
|
||||
},
|
||||
displayCardAges: {
|
||||
type: 'boolean',
|
||||
defaultsTo: false,
|
||||
|
||||
Reference in New Issue
Block a user