Repository navigation
docs: describe the GUI that exists, not the one that was planned - #43
Merged
Merged
Conversation
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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
C2.
docs/UI.mdHaziran'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
ASCII şema da bu yolu çiziyordu. İmkânsız.
pylon-uiayrı 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
sudo pacman -S webkit2gtk-4.1libwebkit2gtk-4.1-dev+libgtk-3-devdiyorBelgede 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.mdvepylon-ui/frontend/README.mdhâ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