From e9cb3cd670f40733425447e0bb7e3722bf704e06 Mon Sep 17 00:00:00 2001 From: Marius <136248525+Sophokles187@users.noreply.github.com> Date: Sun, 14 Sep 2025 02:12:08 +0200 Subject: [PATCH] update --- docs/features/dynamic-updates.md | 48 -------------------------------- docs/index.html | 2 +- 2 files changed, 1 insertion(+), 49 deletions(-) diff --git a/docs/features/dynamic-updates.md b/docs/features/dynamic-updates.md index d69e77f..fbda9e5 100644 --- a/docs/features/dynamic-updates.md +++ b/docs/features/dynamic-updates.md @@ -51,22 +51,6 @@ To enable dynamic updates for all DataCards blocks: 4. Enable "Dynamic Updates" 5. Optionally adjust the "Refresh Delay" -## How Dynamic Updates Work - -When dynamic updates are enabled: - -1. DataCards monitors changes to notes that match your query -2. When a relevant property changes, the cards are automatically refreshed after the configured delay -3. Only the affected cards are updated, not the entire display - -## Update Triggers - -Cards will update when: - -- You modify a property in a note's frontmatter -- You add or remove a tag that affects the query results -- You create or delete a note that matches the query -- You manually trigger a refresh ## Refresh Delay @@ -92,43 +76,11 @@ To optimize performance: - Increase the refresh delay - Only enable dynamic updates where needed -## Examples - -### Task Tracker with Dynamic Updates - -```datacards -TABLE file.link as "Task", status, priority, dueDate FROM #tasks -WHERE status != "Completed" -SORT dueDate ASC - -// Settings -preset: grid -dynamicUpdate: true -``` - -### Reading Progress Tracker - -```datacards -TABLE file.link as "Book", author, progress, cover FROM #books -WHERE status = "Reading" -SORT progress DESC - -// Settings -preset: portrait -imageProperty: cover -dynamicUpdate: true -``` ## Troubleshooting -If you're having issues with updates: -### Refresh Button Issues -- Make sure you're hovering over the top-left corner of the DataCards container -- The button appears with a slight delay - wait a moment after hovering -- Try clicking the refresh button after making changes to your data -### Dynamic Updates Issues - Verify that `dynamicUpdate: true` is set or that the global setting is enabled - Dynamic updates work better in reading mode than editing mode - Make sure the Dataview plugin is up to date diff --git a/docs/index.html b/docs/index.html index 5a036b7..692272f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -41,7 +41,7 @@ themeColor: '#5F7A8A', basePath: './', routerMode: 'hash', - nameLink: 'https://sophokles187.github.io/data-cards/#/', + nameLink: '/', homepage: 'README.md', search: { maxAge: 86400000,