diff --git a/CHANGELOG.md b/CHANGELOG.md index 53a7107..d7e0b27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ Generated by the awesome [`auto-changelog`](https://github.com/CookPete/auto-changelog) package 👏🏽. -## [v16](https://github.com/digitalmaster/roam-memo/compare/v15...v16) - 29 March 2024 +## [v16](https://github.com/digitalmaster/roam-memo/compare/v15...v16) - 7 April 2024 ### New Features @@ -20,6 +20,7 @@ Generated by the awesome [`auto-changelog`](https://github.com/CookPete/auto-cha ### Other Changes - Improve changelog rendering template [`713947d`](https://github.com/digitalmaster/roam-memo/commit/713947d804db455baa4c5d4c5e934cce10ba27d4) +- Refactor review reminder counts to include all tags [`02fdfdc`](https://github.com/digitalmaster/roam-memo/commit/02fdfdc34dc0bf6930339efa555dddbec8057b73) diff --git a/src/app.tsx b/src/app.tsx index af3748c..fb70d9b 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -43,6 +43,7 @@ const App = () => { completedTodayCount, remainingDueCardsCount, } = usePracticeData({ + tagsList, selectedTag, dataPageTitle, isCramming, @@ -161,6 +162,7 @@ const App = () => { dailyLimit={dailyLimit} remainingDueCardsCount={remainingDueCardsCount} rtlEnabled={rtlEnabled} + displayCardCounts={displayCardCounts} /> )} > diff --git a/src/components/SidePandelWidget.tsx b/src/components/SidePandelWidget.tsx index 83f3178..11006bc 100644 --- a/src/components/SidePandelWidget.tsx +++ b/src/components/SidePandelWidget.tsx @@ -15,7 +15,8 @@ const Tag = styled(Blueprint.Tag)` `; const SidePandelWidget = ({ onClickCallback, displayCardCounts }) => { - const totalCardsCount = displayCardCounts.new + displayCardCounts.due; + const combinedCounts = displayCardCounts.combined; + const totalCardsCount = combinedCounts.new + combinedCounts.due; const isDone = totalCardsCount === 0; const iconClass = isDone ? 'bp3-icon-confirm' : 'bp3-icon-box'; @@ -29,19 +30,19 @@ const SidePandelWidget = ({ onClickCallback, displayCardCounts }) => {