Skip to content

Commit

Permalink
0.19.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-lednev committed Mar 10, 2024
1 parent 066b2b5 commit 35ca272
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.19.5

- 🐞 Fix performance on startup

## 0.19.4

- 🐞 Fix colorful timeline both for local & remote calendars
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-day-planner",
"name": "Day Planner",
"version": "0.19.4",
"version": "0.19.5",
"minAppVersion": "0.16.0",
"description": "A day planner with clean UI and readable syntax",
"author": "James Lynch, continued by Ivan Lednev",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-day-planner",
"version": "0.19.4",
"version": "0.19.5",
"description": "A plugin to help you plan your day and setup pomodoro timers",
"main": "main.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/ui/hooks/use-visible-daily-notes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import { visibleDays } from "../../global-store/visible-days";
/**
*
* @param layoutReady used as a proxy that lets us know when the vault is ready to be queried for daily notes
* @param dataviewChange lets us know when some files changed, and we need to re-run
* @param debouncedTaskUpdateTrigger lets us know when some files changed, and we need to re-run
*/
export function useVisibleDailyNotes(
layoutReady: Readable<boolean>,
dataviewChange: Readable<unknown>,
debouncedTaskUpdateTrigger: Readable<unknown>,
) {
return derived(
[layoutReady, visibleDays, dataviewChange],
[layoutReady, visibleDays, debouncedTaskUpdateTrigger],
([$layoutReady, $visibleDays]) => {
if (!$layoutReady) {
return [];
Expand Down
2 changes: 1 addition & 1 deletion src/util/create-hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function createHooks({
keyDown,
reQueryAfterMillis,
);
const visibleDailyNotes = useVisibleDailyNotes(layoutReady, dataviewChange);
const visibleDailyNotes = useVisibleDailyNotes(layoutReady, debouncedTaskUpdateTrigger);
const listsFromVisibleDailyNotes = useListsFromVisibleDailyNotes(
visibleDailyNotes,
debouncedTaskUpdateTrigger,
Expand Down
1 change: 1 addition & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"0.19.5": "0.16.0",
"0.19.4": "0.16.0",
"0.19.3": "0.16.0",
"0.19.2": "0.16.0",
Expand Down

0 comments on commit 35ca272

Please sign in to comment.