From c3a6fd802117ec6c3c4355d8d2b6016f0cd21778 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 23 Oct 2026 17:21:43 +0200 Subject: docs: the shell's JS engine has no flatMap Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'AGENTS.md') 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 -- cgit v1.2.3