From b582a5b7cac5944171a8f1d20ecbf1a078b715af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=B0=D0=B9=D0=B3=D0=B0?= Date: Wed, 27 May 2026 21:01:07 +0000 Subject: [PATCH] [2026-05-27] taiga sync: wiki/concepts/watchlist-automation.md wiki/tech/reflect-skip-fuse.md --- wiki/concepts/watchlist-automation.md | 2 +- wiki/tech/reflect-skip-fuse.md | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/wiki/concepts/watchlist-automation.md b/wiki/concepts/watchlist-automation.md index fd00e945..e63cc202 100644 --- a/wiki/concepts/watchlist-automation.md +++ b/wiki/concepts/watchlist-automation.md @@ -82,7 +82,7 @@ Eagle previously ran `watchlist-nightly` via SSH; now Kraken runs it locally. **Paths on Kraken HDD (UUID 49e8f586-3839-4c5d-a1e1-58bfc3579ade):** - `/home/kraken/obsidian` → symlink to `/srv/dev-disk-by-uuid-.../obsidian` -- watchlist-sync: `/srv/dev-disk-by-uuid-.../watchlist-sync` +- watchlist-sync: `/srv/dev-disk-by-uuid-.../Developer/watchlist-sync` ## Discover — Фильтрация diff --git a/wiki/tech/reflect-skip-fuse.md b/wiki/tech/reflect-skip-fuse.md index c75c4317..eaa61439 100644 --- a/wiki/tech/reflect-skip-fuse.md +++ b/wiki/tech/reflect-skip-fuse.md @@ -1,7 +1,7 @@ --- title: Reflect — Skip Fuse (SwiftUI/Kotlin) created: '2026-05-23' -updated: '2026-05-28' +updated: '2026-05-23' type: tech namespace: personal tags: [reflect, swift, kotlin, ios, android, pitfalls] @@ -30,15 +30,3 @@ require explicit Kotlin stubs until Skip's transpilation coverage catches up. - [ ] Create matching Kotlin stub in `android/src/.../views/` - [ ] Register in Android router/factory - [ ] Run `./gradlew build` to verify no missing class errors - -## `#if SKIP` vs `#if SKIP_BRIDGE` — Definitive Rule - -| Macro | When to use | -|-------|-------------| -| `#if SKIP` | Any code that runs **only on Android** via Skip (UI layout, Android-only APIs, SAF file access). Works in all Skip-compiled code. | -| `#if SKIP_BRIDGE` | **Only** for JNI bridge calls: `AnyDynamicObject`, calling Kotlin statics from Swift, `import SkipBridge`. Available only in bridge modules. | - -**Rule**: UI buttons, conditional layouts, Android-only views → `#if SKIP`. -`AnyDynamicObject(forStaticsOfClassName:)` and JNI → `#if SKIP_BRIDGE`. - -Using `#if SKIP_BRIDGE` for UI will silently exclude the code on Android (it's not a bridge module), causing buttons/views to disappear with no error.