aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index facbdfd..e3db205 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -174,6 +174,13 @@ changing that component. The ones that generalise:
- **`qdbus` resolves a bare `org.kde.kdeconnect.device.<name>` as either a
property or a method**, so `name`, `isReachable` and the `verificationKey()`
method all use the same call shape.
+- **A component property named the same as the enclosing object's `id` binds to
+ itself.** `KdeConnectModule` is `id: mod` and used to inject `KdeConnectTile {
+ mod: mod }`; in a `Component` scope that resolves to the tile's own unset
+ property, so `mod` arrived undefined and the page rendered no devices, with
+ only a runtime `TypeError` in the log and a clean smoke check (the drawer was
+ closed, so nothing was instantiated). Inject an id under a different name:
+ `net`, `bt`, `kc`.
## Theme