mirror of https://github.com/usememos/memos.git
Previously, clicking on a date in the calendar always navigated to /?filter=... regardless of the current page context. This caused issues on non-home pages like /explore where users expected to stay on the same page with the date filter. This change: - Adds an optional targetPath parameter to useDateFilterNavigation hook - Falls back to location.pathname when no targetPath is provided - Maintains backward compatibility for existing usage |
||
|---|---|---|
| .. | ||
| docs | ||
| public | ||
| src | ||
| .gitignore | ||
| biome.json | ||
| components.json | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| vite.config.mts | ||