diff --git a/README.md b/README.md index 99126ef..09eae87 100644 --- a/README.md +++ b/README.md @@ -302,12 +302,14 @@ devdash scrolls the dashboard when the frame is taller than the pane. position = "bottom" max_rows = 100 watch = ["~/.local/share/prompt-tutor", "~/.config/prompt-tutor"] + interval = 1 keys = { j = "newer", k = "older", s = "scope" } ``` If devdash shows `⚠ cannot run prompt-tutor`, the Watcher link is not on the `PATH` that devdash sees; use its full path, for example `command = ["~/.local/bin/prompt-tutor", "--once"]`. -4. Run `devdash`. The section updates when prompt-tutor data changes; press `j`/`k` for newer/older Prompts +4. Run `devdash`. The section updates when prompt-tutor data changes, and `interval = 1` reruns it every second + so the `reviewing… Ns` timer of a pending Review keeps counting; press `j`/`k` for newer/older Prompts and `s` to change Scope. The integration keeps its view and selection in the state file. A long Review makes the dashboard taller than the pane; scroll it with the dashboard's scroll keys. Press `r` to refresh the dashboard, and use `devdash --no-integration prompt-tutor` to hide it. diff --git a/config.example.toml b/config.example.toml index bf6112d..60b29d9 100644 --- a/config.example.toml +++ b/config.example.toml @@ -61,7 +61,7 @@ order = [] # e.g. ["openai-codex", "anthropic"] # Integration bindings map keys to action names the command understands. # Example for a build with prompt-tutor key support: # keys = { j = "newer", k = "older", s = "scope", J = "scroll-down", K = "scroll-up" } -# Prompt-tutor updates immediately when its data files change; omit interval to disable polling. +# Prompt-tutor updates immediately when its data files change; interval = 1 keeps a pending Review's timer counting. # [[integrations]] # name = "prompt-tutor" # title = "PROMPT TUTOR" @@ -69,4 +69,5 @@ order = [] # e.g. ["openai-codex", "anthropic"] # position = "bottom" # max_rows = 16 # watch = ["~/.local/share/prompt-tutor", "~/.config/prompt-tutor"] +# interval = 1 # keys = { j = "newer", k = "older", s = "scope", J = "scroll-down", K = "scroll-up" }