memos/web/src/components/StatisticsView
Steven 03c30b8ccb fix(web): fix explore page showing private tags and improve stats hook
The explore page sidebar was showing tags from the current user's private
memos because the default ListMemos query applies a server-side OR filter
(creator_id == X || visibility in [...]), mixing private content in.

Fix by using a visibility-scoped ListMemos request in the explore context
so private memos are always excluded via the AND'd server auth filter.

Also consolidate two always-firing useMemos calls into one context-aware
query, unify activity stats computation with countBy across all branches,
and extract a toDateString helper to remove duplicated formatting logic.
2026-02-23 13:15:01 +08:00
..
index.ts chore: update statistics view 2025-05-31 09:43:24 +08:00
MonthNavigator.tsx fix(web): fix explore page showing private tags and improve stats hook 2026-02-23 13:15:01 +08:00
StatisticsView.tsx chore: optimize RelationList and unify RelationCard usage 2026-01-03 14:27:12 +08:00