Add 'show archive' and 'hide empty lists' in filter feature.

This commit is contained in:
Romulus Urakagi Tsai 2019-08-07 07:58:05 +00:00
parent cf9ad221f8
commit 4f4e0a21f8
9 changed files with 1514 additions and 1450 deletions

View file

@ -451,10 +451,12 @@ Filter = {
// before changing the schema.
labelIds: new SetFilter(),
members: new SetFilter(),
archive: new SetFilter(),
hideEmpty: new SetFilter(),
customFields: new SetFilter('_id'),
advanced: new AdvancedFilter(),
_fields: ['labelIds', 'members', 'customFields'],
_fields: ['labelIds', 'members', 'archive', 'hideEmpty', 'customFields'],
// We don't filter cards that have been added after the last filter change. To
// implement this we keep the id of these cards in this `_exceptions` fields