From bae6487afd5e6eec9f04b38b235bbac24042ca62 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 6 Oct 2021 13:17:43 +0200 Subject: feat: filter dailes (#68) --- components/Tweaks/FilterPanel.tsx | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'components/Tweaks/FilterPanel.tsx') diff --git a/components/Tweaks/FilterPanel.tsx b/components/Tweaks/FilterPanel.tsx index df1dd81..39233f9 100644 --- a/components/Tweaks/FilterPanel.tsx +++ b/components/Tweaks/FilterPanel.tsx @@ -46,9 +46,15 @@ const FilterPanel = (props: FilterPanelProps) => { color="gray.800" > - Link children to... + Link children to - } colorScheme="" color="black"> + } + colorScheme="" + color="black" + size="sm" + > {(() => { switch (filter.parent) { case 'parent': @@ -105,6 +111,17 @@ const FilterPanel = (props: FilterPanelProps) => { isChecked={filter.orphans} > + + Dailies + { + setFilter((curr: typeof initialFilter) => { + return { ...curr, dailies: !curr.dailies } + }) + }} + isChecked={filter.dailies} + > + Citations without note files { - Tag Colors + Tag colors -- cgit v1.2.3