diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-23 17:21:43 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-23 17:21:43 +0200 |
| commit | c3a6fd802117ec6c3c4355d8d2b6016f0cd21778 (patch) | |
| tree | fe494e01d66dd00a6b9f7e41bc5c983d5e6b9bc6 | |
| parent | d82f44188a91a6122c4d333a3df94e8ed8e6f289 (diff) | |
| download | quickshell-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>
| -rw-r--r-- | AGENTS.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |
