verstak/cmd/verstak-gui
mirivlad 88eb99e9af fix: verstak:// links in preview, case-insensitive search, keyboard layout swap
1. Fix verstak:// links rendered as blocked/strikethrough in markdown preview:
   - Changed href from 'javascript:void(0)' to hash-based '#verstak-type-id'
   - DOMPurify no longer strips the link; click handler uses data-verstak-href
   - CSS already handles .md-link--internal with cyan color, no strikethrough

2. Add markdown label escaping for internal link picker:
   - New escapeMarkdownLabel() in markdown.ts escapes [ ] ( )
   - Applied in InternalLinkPicker.selectResult() before inserting markdown

3. Fix case-insensitive search for RU/EN:
   - Add title_lower column (migration 019) populated by Go strings.ToLower
   - BackfillTitleLower() runs after migrations to populate existing rows
   - Search() now queries title_lower with Go-level lowercase (Unicode-aware)
   - insertNode() and UpdateTitle() populate title_lower automatically
   - New migration 019 + BackfillTitleLower in storage.go
   - Tests: TestSearchCaseInsensitive, TestSearchFindsCreatedNode

4. Add keyboard layout swap search support:
   - New keyboardLayout.ts utility with RU↔EN QWERTY mapping
   - expandKeyboardVariants() generates original + swapped + lowercased variants
   - InternalLinkPicker.search() queries all variants in parallel, deduplicates by ID
   - Examples: dthcnfr → верстак, руддщ → hello

Files changed:
- markdown.ts: hash href + escapeMarkdownLabel export
- InternalLinkPicker.svelte: label escaping + layout swap search
- keyboardLayout.ts: new RU/EN layout swap utility
- repository.go: title_lower in Search/insertNode/UpdateTitle
- storage.go: migration019 + BackfillTitleLower
- migrations_019.sql.go: new migration
- search_test.go, repository_test.go: new tests
2026-06-15 10:39:44 +08:00
..
frontend-dist fix: verstak:// links in preview, case-insensitive search, keyboard layout swap 2026-06-15 10:39:44 +08:00
app.go feat: ШАГ 2 — Staging-таблица browser_events + Store 2026-06-06 18:27:00 +08:00
bindings_actions.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
bindings_activity.go feat: плагин-система Lua + Calendar reference plugin 2026-06-07 14:59:46 +08:00
bindings_bridge.go feat: плагин-система Lua + Calendar reference plugin 2026-06-07 14:59:46 +08:00
bindings_browser.go feat: ШАГ 4 — UI для browser events в TodayScreen 2026-06-06 18:58:39 +08:00
bindings_capture.go fix: normalize bare URLs in capture flow 2026-06-05 12:29:19 +08:00
bindings_clipboard.go fix: normalize bare URLs in capture flow 2026-06-05 12:29:19 +08:00
bindings_config.go fix(plugins): restore plugin runtimes on startup + graceful shutdown 2026-06-08 11:45:35 +08:00
bindings_debug.go debug: add WriteDebugLog inside iframe to confirm calendar-data delivery + log.Printf to WriteDebugLog 2026-06-08 12:34:14 +08:00
bindings_files.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
bindings_inbox.go Today screen: tabs (feed, suggestions, in-progress, captured) + inbox sort/group 2026-06-05 16:17:22 +08:00
bindings_links.go fix: normalize bare URLs in capture flow 2026-06-05 12:29:19 +08:00
bindings_nodes.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
bindings_notes.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
bindings_plugins.go debug: add log.Printf in CallPluginFunction Go binding to trace calls 2026-06-08 12:26:43 +08:00
bindings_settings.go feat: restore global search in app header 2026-06-06 02:39:29 +08:00
bindings_suggest.go feat: aggregate journals across node subtrees 2026-06-05 12:37:25 +08:00
bindings_sync.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
bindings_trash.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
bindings_watcher.go fix: исправление 6 пунктов из ревью 2026-06-07 00:15:34 +08:00
bindings_worklog.go feat: aggregate journals across node subtrees 2026-06-05 12:37:25 +08:00
capture_test.go fix: normalize bare URLs in capture flow 2026-06-05 12:29:19 +08:00
file_manager_test.go test: harden file manager regressions 2026-06-04 19:44:28 +08:00
inbox_test.go feat: resolve inbox links separately 2026-06-05 07:33:10 +08:00
main.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
move_node_test.go fix: tree DnD — correct cycle detection, reactive indicators, canonical reload 2026-06-03 05:27:20 +08:00
plugins_lifecycle_test.go fix: rollback Enabled on activation failure + fatal on_init + rollback test 2026-06-08 00:14:49 +08:00
settings_test.go fix: keep default templates and plugins folder working 2026-06-04 03:28:32 +08:00
sigfix.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
suggest_test.go feat: aggregate journals across node subtrees 2026-06-05 12:37:25 +08:00
sync_apply.go feat: edit and delete worklog entries 2026-06-05 00:48:12 +08:00
trash_test.go fix: trash integrity for TypeFile nodes — file record soft-delete, correct preview/restore 2026-06-05 17:31:18 +08:00
vault_check.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
vault_layout_test.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
vault_migrate.go fix: vault init on startup; add nil guards to all bindings; fix SA_ONSTACK signal crash; deduplicate settings button; add i18n for vault error 2026-06-04 00:37:14 +08:00
wails.json chore: add wails.json, remove wails3 artifacts, rebuild binaries 2026-06-03 01:48:12 +08:00