aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-23 17:21:43 +0200
committerDanilo M. <danix@danix.xyz>2026-10-23 17:21:43 +0200
commitc3a6fd802117ec6c3c4355d8d2b6016f0cd21778 (patch)
treefe494e01d66dd00a6b9f7e41bc5c983d5e6b9bc6 /AGENTS.md
parentd82f44188a91a6122c4d333a3df94e8ed8e6f289 (diff)
downloadquickshell-c3a6fd802117ec6c3c4355d8d2b6016f0cd21778.tar.gz
quickshell-c3a6fd802117ec6c3c4355d8d2b6016f0cd21778.zip
docs: the shell's JS engine has no flatMap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 9626e58..faf6b18 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -365,6 +365,11 @@ changing that component. The ones that generalise:
- **The old waybar notification module shelled out to `dunstctl`.** It and its
`notifications.py` are archived under `~/bin/archive/`, with the rest of the
stock waybar theme; do not resurrect them.
+- **The shell's JS engine has no `Array.prototype.flatMap`.** A binding
+ using it throws `TypeError: Property 'flatMap' of object [object Object]
+ is not a function`, which shows only in `qs log`; a Repeater bound to it
+ simply builds nothing. Use `reduce((a, x) => a.concat(...), [])`. Seen
+ with the assistant page's cloud Prefer rows (2026-10-23).
- **A `Socket` whose connect failed never retries.** Quickshell 0.3.1 keeps
the failed `QLocalSocket`, so setting `connected = true` again (or toggling
it, or changing `path`) is a no-op: `setConnected` only connects when no