vault backup: 2024-04-23 22:38:34

This commit is contained in:
2024-04-23 22:38:34 +02:00
parent cfa978b4f5
commit 2fa1bc928b
60 changed files with 14798 additions and 25499 deletions

View File

@@ -23,13 +23,14 @@
"showUnscheduledNestedTasks": true,
"showNow": true,
"showNext": true,
"pluginVersion": "0.20.2",
"pluginVersion": "0.20.3",
"showCompletedTasks": true,
"showSubtasksInTaskBlocks": true,
"icals": [],
"colorOverrides": [],
"editMode": "simple",
"copyOnDrag": false,
"releaseNotes": true,
"showDataviewMigrationWarning": false,
"unscheduledTasksHeight": 100
}

View File

@@ -34564,16 +34564,15 @@ var clockKey = "clocked";
var clockFormat = "YYYY-MM-DDTHH:mm:ss";
var reQueryAfterMillis = 200;
var icalRefreshIntervalMillis = 5 * 60 * 1e3;
var supportBanner = `I work on the plugin in my spare time, and I appreciate any kind of support!
\u2728 [Check out latest updates](https://github.com/ivan-lednev/obsidian-day-planner/releases)<br>
\u{1FAB2} [Report bugs and suggest features. Vote with a \u{1F44D} on issues that are important for you](https://github.com/ivan-lednev/obsidian-day-planner/issues)<br>
var supportBanner = `\u{1FAB2} [Report bugs and suggest features](https://github.com/ivan-lednev/obsidian-day-planner/issues)<br>
\u2753 [Ask questions](https://github.com/ivan-lednev/obsidian-day-planner/discussions/new?category=q-a)<br>
\u{1F44D} [Give thumbs up to issues important to you](https://github.com/ivan-lednev/obsidian-day-planner/issues)<br>
\u{1FA9B} [Submit pull-requests](./CONTRIBUTING.md)<br>
\u{1F4E7} <a href="mailto:bishop1860@gmail.com">Say thank you</a><br>
\u2764\uFE0F Support the project directly:
<a href="https://www.buymeacoffee.com/machineelf" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
You can disable these release notes in the settings tab.
`;
var icons = [
"any-key",
@@ -34672,7 +34671,8 @@ var defaultSettings = {
icals: [],
colorOverrides: [],
editMode: "simple",
copyOnDrag: false
copyOnDrag: false,
releaseNotes: true
};
var defaultSettingsForTests = {
...defaultSettings,
@@ -36035,7 +36035,7 @@ var ReleaseNotesModal = class extends import_obsidian3.Modal {
this.contentEl.createDiv({ cls: "releases" }, async (el) => {
await import_obsidian3.MarkdownRenderer.render(
this.plugin.app,
"## 0.21.0\n\n- \u{1F41E} Fix different hourglass emoji breaking task movement\n\n## 0.20.0\n\n### New features\n\n- \u2728 Color coding: you can define background color for blocks containing certain text in first line\n- \u2728 Weekly view now displays unscheduled tasks on top\n- \u2728 Advanced drag-and-drop editing does not require modifier keys any more, you pick current edit mode in timeline controls \n\n### Fixed issues\n\n- \u{1F41E} Fixed scheduling tasks for other days than today (by @Lunkle)\n- \u{1F41E} Pointer to current time is now more visible \n- \u{1F41E} Task summary in internet calendars is now displayed next to calendar name, to make it visible in short blocks\n\n## 0.19.1 - 0.19.6\n\n- \u{1F41E} Fix iOS crash\n- \u{1F41E} Fix performance on startup\n- \u{1F41E} Fix colorful timeline both for local & remote calendars\n- \u{1F41E} Fix planner not reacting to daily note creation\n- \u{1F41E} Fix displaying hover preview\n\n## 0.19.0\n\n### \u2728 New Feature: Internet Calendar Sync (Google, Outlook, iCloud)\n\n- This lets you display events from calendars like Google Calendar, iCloud Calendar, Outlook Calendar\n- You only need to add a link in the plugin settings to start displaying events from that calendar\n\nSee [README](https://github.com/ivan-lednev/obsidian-day-planner?tab=readme-ov-file#showing-internet-calendars) for details.\n\n## 0.18.0\n\n### \u2728 New features\n\n- Now hovering over a task with `Control` pressed will trigger a preview pop-up. This works great with the awesome [Hover Editor plugin](https://github.com/nothingislost/obsidian-hover-editor)\n- Now when you click on a task, if there is an open tab for that file, the plugin is going to reuse it\n\n## 0.17.2\n\n### \u{1F41E} Fixed issues\n\n- Fix creating tasks with drag-and-drop\n\n## 0.17.0\n\n### \u{1F4A5} Breaking changes\n\n- Now by default, if your Dataview souce filter is empty, tasks are pulled only from visible daily notes\n - Most people never touch this field, so the plugin is going to be lightning-fast by default\n - If you want to add other folders or tags as task sources, you can still do so by adding them explicitly\n\n### \u2728 New features\n\n- When dragging tasks from daily notes across days in the weekly view, they now get moved across files\n- There is now an option to hide completed tasks from timeline\n- There is now an option to hide subtasks from task blocks in the timeline\n\n### \u{1F41E} Fixed issues\n\n- New drag-and-drop operations can now be started immediately after previous ones\n- The plugin is much faster in the default use case (daily notes only)\n- You can use plain list items in daily notes again\n- Notifications work again\n- Unscheduled tasks now fit their contents\n\n### Acknowledgements\n\n- Big thanks to @weph for helping me figure out a good performance solution\n",
"## 0.20.1 - 0.20.3\n\n- \u{1F41E} add toggle to disable release notes (#399)\n- \u{1F41E} do not reset timeline position when it's already open (#289)\n- \u{1F41E} do not replace tab content when opening weekly view (#313)\n- \u{1F41E} fix status bar error breaking plugin\n- \u{1F41E} Move task on copy, instead of changing its size\n- \u{1F41E} Fix different hourglass emoji breaking task movement\n\n## 0.20.0\n\n### New features\n\n- \u2728 Color coding: you can define background color for blocks containing certain text in first line\n- \u2728 Weekly view now displays unscheduled tasks on top\n- \u2728 Advanced drag-and-drop editing does not require modifier keys any more, you pick current edit mode in timeline controls \n\n### Fixed issues\n\n- \u{1F41E} Fixed scheduling tasks for other days than today (by @Lunkle)\n- \u{1F41E} Pointer to current time is now more visible \n- \u{1F41E} Task summary in internet calendars is now displayed next to calendar name, to make it visible in short blocks\n\n## 0.19.1 - 0.19.6\n\n- \u{1F41E} Fix iOS crash\n- \u{1F41E} Fix performance on startup\n- \u{1F41E} Fix colorful timeline both for local & remote calendars\n- \u{1F41E} Fix planner not reacting to daily note creation\n- \u{1F41E} Fix displaying hover preview\n\n## 0.19.0\n\n### \u2728 New Feature: Internet Calendar Sync (Google, Outlook, iCloud)\n\n- This lets you display events from calendars like Google Calendar, iCloud Calendar, Outlook Calendar\n- You only need to add a link in the plugin settings to start displaying events from that calendar\n\nSee [README](https://github.com/ivan-lednev/obsidian-day-planner?tab=readme-ov-file#showing-internet-calendars) for details.\n\n## 0.18.0\n\n### \u2728 New features\n\n- Now hovering over a task with `Control` pressed will trigger a preview pop-up. This works great with the awesome [Hover Editor plugin](https://github.com/nothingislost/obsidian-hover-editor)\n- Now when you click on a task, if there is an open tab for that file, the plugin is going to reuse it\n\n## 0.17.2\n\n### \u{1F41E} Fixed issues\n\n- Fix creating tasks with drag-and-drop\n\n## 0.17.0\n\n### \u{1F4A5} Breaking changes\n\n- Now by default, if your Dataview souce filter is empty, tasks are pulled only from visible daily notes\n - Most people never touch this field, so the plugin is going to be lightning-fast by default\n - If you want to add other folders or tags as task sources, you can still do so by adding them explicitly\n\n### \u2728 New features\n\n- When dragging tasks from daily notes across days in the weekly view, they now get moved across files\n- There is now an option to hide completed tasks from timeline\n- There is now an option to hide subtasks from task blocks in the timeline\n\n### \u{1F41E} Fixed issues\n\n- New drag-and-drop operations can now be started immediately after previous ones\n- The plugin is much faster in the default use case (daily notes only)\n- You can use plain list items in daily notes again\n- Notifications work again\n- Unscheduled tasks now fit their contents\n\n### Acknowledgements\n\n- Big thanks to @weph for helping me figure out a good performance solution\n",
el,
"/",
this.plugin
@@ -36055,6 +36055,11 @@ var DayPlannerSettingsTab = class extends import_obsidian4.PluginSettingTab {
display() {
const { containerEl } = this;
containerEl.empty();
new import_obsidian4.Setting(containerEl).setName("Show release notes after update").addToggle(
(toggle) => toggle.setValue(this.plugin.settings().releaseNotes).onChange((value) => {
this.update({ releaseNotes: value });
})
);
new import_obsidian4.Setting(containerEl).setName("Round time to minutes").setDesc("While editing, tasks are going to get rounded to this number").addSlider(
(slider) => slider.setLimits(5, 20, 5).setValue(this.plugin.settings().snapStepMinutes).setDynamicTooltip().onChange((value) => {
this.update({ snapStepMinutes: value });
@@ -49057,7 +49062,7 @@ function createHooks({
const tasksForToday = derived(
[visibleTasks, currentTime],
([$visibleTasks, $currentTime]) => {
return $visibleTasks[getDayKey($currentTime)];
return $visibleTasks[getDayKey($currentTime)] || getEmptyRecordsForDay();
}
);
const editContext = useEditContext({
@@ -49139,7 +49144,7 @@ var DayPlanner = class extends import_obsidian12.Plugin {
super(...arguments);
this.initWeeklyLeaf = async () => {
await this.detachLeavesOfType(viewTypeWeekly);
await this.app.workspace.getLeaf(false).setViewState({
await this.app.workspace.getLeaf("tab").setViewState({
type: viewTypeWeekly,
active: true
});
@@ -49151,6 +49156,11 @@ var DayPlanner = class extends import_obsidian12.Plugin {
});
};
this.initTimelineLeaf = async () => {
const [firstExistingTimeline] = this.app.workspace.getLeavesOfType(viewTypeTimeline);
if (firstExistingTimeline) {
this.app.workspace.revealLeaf(firstExistingTimeline);
return;
}
await this.detachLeavesOfType(viewTypeTimeline);
await this.app.workspace.getRightLeaf(false).setViewState({
type: viewTypeTimeline,
@@ -49189,14 +49199,16 @@ var DayPlanner = class extends import_obsidian12.Plugin {
]);
}
handleNewPluginVersion() {
if (this.settings().pluginVersion === "0.20.2") {
if (this.settings().pluginVersion === "0.20.3") {
return;
}
this.settingsStore.update((previous) => ({
...previous,
pluginVersion: "0.20.2"
pluginVersion: "0.20.3"
}));
this.showReleaseNotes();
if (this.settings().releaseNotes) {
this.showReleaseNotes();
}
}
registerCommands() {
this.addCommand({

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-day-planner",
"name": "Day Planner",
"version": "0.20.2",
"version": "0.20.3",
"minAppVersion": "0.16.0",
"description": "A day planner with clean UI and readable syntax",
"author": "James Lynch, continued by Ivan Lednev",