Skip to content

docs: describe the GUI that exists, not the one that was planned - #43

Merged
YCistak merged 1 commit into
masterfrom
docs/ui-and-readmes
Aug 7, 2026
Merged

YCistak merged 1 commit into
masterfrom
docs/ui-and-readmes

Conversation

@YCistak

@YCistak YCistak commented Aug 7, 2026

Copy link
Copy Markdown
Owner

C2. docs/UI.md Haziran'da, GUI'nin çoğundan önce yazılmış. Kod iki faz ilerledi, belge yerinde kaldı — ve bu onu "eksik"ten öteye taşıdı: GUI'nin sahip olmadığı ve olamayacağı bir mimariyi iddia ediyordu.

En kötü satır

the GUI calls internal/secrets directly … Same code the CLI uses

ASCII şema da bu yolu çiziyordu. İmkânsız. pylon-ui ayrı bir Go modülü — tam olarak daemon CGo'suz kalsın diye. Daemon'dan hiçbir şey import etmiyor; anahtar kaydetmek CLI'ın kullandığı handler'a giden bir IPC turu, paylaşılan bir çağrı değil. Bunu okuyan biri asla var olmaması gereken bir bağımlılığı aramaya çıkardı.

Diğer sapmalar

Belge diyordu Gerçek
3 bağlı metot 12
3 widget tipi 8 tip / 12 mod
sidebar = "karakterler" (Phase 5) hiç başlanmadı; dock sayfa başlatıcısı oldu
"Settings is a stub" 3 sekme + diyalog, 515 satır
sudo pacman -S webkit2gtk-4.1 kök README libwebkit2gtk-4.1-dev + libgtk-3-dev diyor

Belgede hiç geçmeyenler: VoiceBar, DockerPage, widget örnek modeli ve v1→v2 göçü, paylaşılan daemon store'u, kısayol altyapısının tamamı.

Ne yapıldı

Olanı anlatan bir belge olarak yeniden yazıldı — sonunda bir "Not built" bölümüyle, ki sonraki okuyan kasıtlı bir eksikle unutulmuş bir şeyi ayırt edebilsin.

pylon-ui/README.md ve pylon-ui/frontend/README.md hâlâ birebir Wails ve Vite şablon metniydi. Artık ayrı-modül kısıtını, build tag'lerini (onlarsız alacağın hatayla birlikte), elle tutulan wailsjs bağlamalarını ve frontend'in ev kurallarını anlatıyorlar.

Sadece belge — kod değişmedi.

🤖 Generated with Claude Code

docs/UI.md was written in June, before most of the GUI. The code moved two
phases past it and the document stayed put, which left it worse than nothing:
it did not merely omit things, it asserted an architecture the GUI does not
and cannot have.

The worst line claimed the GUI "calls internal/secrets directly … same code
the CLI uses", with an ASCII diagram drawing that path. It is impossible.
pylon-ui is a separate Go module precisely so the daemon can stay CGo-free,
so it imports nothing from the daemon — saving a key is an IPC round-trip to
the same handler the CLI uses, not a shared call. Anyone reading that would
have gone looking for a dependency that must never exist.

The rest of the drift: three bound methods documented against twelve; three
widget types against eight types and twelve modes; a sidebar of "characters"
that was never started (the dock became a page launcher); Settings described
as a stub when it is three tabs and a dialog; and VoiceBar, DockerPage, the
widget instance model with its v1→v2 migration, the shared daemon store and
the whole hotkey mechanism absent entirely. It also disagreed with the root
README about which webkit package to install.

Rewritten as a description of what is there — including a "Not built" section,
so the next reader can tell a deliberate absence from an oversight.

pylon-ui/README.md and pylon-ui/frontend/README.md were still the verbatim
Wails and Vite templates. They now cover the separate-module constraint, the
build tags (with the error you get without them), the hand-maintained wailsjs
bindings, and the frontend's house rules.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@YCistak
YCistak merged commit e41cfdf into master Aug 7, 2026
3 of 6 checks passed
@YCistak
YCistak deleted the docs/ui-and-readmes branch August 7, 2026 11:03
YCistak added a commit that referenced this pull request Aug 10, 2026
docs/UI.md was written in June, before most of the GUI. The code moved two
phases past it and the document stayed put, which left it worse than nothing:
it did not merely omit things, it asserted an architecture the GUI does not
and cannot have.

The worst line claimed the GUI "calls internal/secrets directly … same code
the CLI uses", with an ASCII diagram drawing that path. It is impossible.
pylon-ui is a separate Go module precisely so the daemon can stay CGo-free,
so it imports nothing from the daemon — saving a key is an IPC round-trip to
the same handler the CLI uses, not a shared call. Anyone reading that would
have gone looking for a dependency that must never exist.

The rest of the drift: three bound methods documented against twelve; three
widget types against eight types and twelve modes; a sidebar of "characters"
that was never started (the dock became a page launcher); Settings described
as a stub when it is three tabs and a dialog; and VoiceBar, DockerPage, the
widget instance model with its v1→v2 migration, the shared daemon store and
the whole hotkey mechanism absent entirely. It also disagreed with the root
README about which webkit package to install.

Rewritten as a description of what is there — including a "Not built" section,
so the next reader can tell a deliberate absence from an oversight.

pylon-ui/README.md and pylon-ui/frontend/README.md were still the verbatim
Wails and Vite templates. They now cover the separate-module constraint, the
build tags (with the error you get without them), the hand-maintained wailsjs
bindings, and the frontend's house rules.

Co-authored-by: YCistak <YCistak@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant