Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

UI layout and stable IDs

简体中文 · Home / 首页

This current structural map preserves existing IDs. It is not a reproduction of every old control: the complete historical registry remains in Archive. IDs omitted here are reserved, not available for reuse. Repeated runtime instances share a semantic control ID; IDs are not list indices.

AppShell [A001] — Root / Workspace
├─ TitleBar [A002] — menus / 菜单
├─ FileToolbar [A011] — file commands / 文件操作
│  ├─ Open [A012] — 打开日志
│  ├─ Reload [A045] — 重新加载
│  ├─ Follow tail [A015] — 末尾跟随
│  └─ Path [A014] — 路径面包屑
├─ DocumentTabBar [A016] — horizontal file tabs / 横向文件标签
│  └─ DocumentTab [A017] — one instance per document / 每文档实例
│     └─ Close [A018] — 关闭当前标签
├─ WorkspaceBody [A004] — content / 内容
│  └─ DocumentSplit [A024] — resizable / 可调整分区
│     ├─ LogDataTable [A025] — virtual log / 虚拟日志
│     │  ├─ Marks [A051] — 行标记
│     │  ├─ Line numbers [A026] — 源行号
│     │  └─ Log text [A027] — 日志正文
│     └─ Search panel
│        ├─ SearchBar [A034] — scope and query / 范围与查询
│        │  ├─ Case [A036] — 大小写
│        │  ├─ Regex [A037] — 正则
│        │  ├─ Input [A035] — 查询输入
│        │  ├─ Search [A039] — 执行
│        │  └─ Clear [A038] — 清除
│        └─ SearchResultsPanel [A029] — results / 结果
│           └─ ResultDataTable [A032] — source rows / 源行
├─ StatusBar [A007] — search tabs and status / 搜索标签与状态
│  ├─ Collapse track [A804] — 独立收起搜索标签轨道
│  └─ All search tabs [A805] — 搜索标签列表
└─ Root overlays [A041] — dialogs and notifications / 弹窗与通知
   └─ Predefined filters [A198]
      └─ Cloud filters footer — available with or without a connection
         └─ Filter help [A831] — circled question mark at bottom left, opposite Close. Opens the usage guide

SettingsWindow [A094] — shared native window / 进程唯一原生窗口
├─ TitleBar [A800] — native close/resize / 原生关闭与缩放
├─ Sidebar [A309] — categories / 分类
│  ├─ Search [A310] — locate an option by name or keyword
│  ├─ Matching options [A828] — selecting a result reveals and highlights its control
│  └─ Navigation [A311] — shown when the search is empty
│     ├─ General [A312] — 通用
│     ├─ Log reading [A313] — 日志阅读
│     ├─ Highlights & annotations [A801] — 高亮与标注
│     ├─ Search [A314] — 搜索
│     ├─ Shortcuts [A318] — 快捷键
│     ├─ History & storage [A802] — 历史与存储
│     ├─ Cloud connection [A389] — 云端连接
│     ├─ Diagnostics & performance [A316] — 诊断与性能
│     └─ About [A395] — 关于
├─ Details [A319] — category content / 分类内容
│  ├─ General details — language, theme, application icon, files and tabs, and the Windows file context menu
│  ├─ Log preview [A824] — shared by reading and highlights / 日志阅读和高亮共用实时样例
│  ├─ Log reading details — each group shares a surface; values align at the trailing edge
│  │  ├─ Typography — font, size and line spacing
│  │  │  └─ Wrap new files by default [A829] — applies when there is no file session
│  │  ├─ Line numbers and separators
│  │  │  └─ Show line numbers [A095] — reveals gutter width, colors and separators
│  │  ├─ Log colors — text and background for the current theme
│  │  ├─ Scrolling [A240] — controls follow the selected wheel mode
│  │  │  └─ Show horizontal scrollbar [A826] — shared with the View menu
│  │  └─ Double-click word selection
│  │     └─ Word-boundary characters [A252]
│  ├─ Highlight details — tabs for color labels, selection style, search matches, and log coloring
│  ├─ Search details
│  │  ├─ Query matching [A249] — case and regex switches
│  │  ├─ Results and highlighting [A827] — per-file limit and match highlighting
│  │  │  └─ Match styles [A825] — opens the shared editor
│  │  └─ Search bar appearance [A556] — shared height and separate toolbar/field font sizes
│  ├─ Shortcut list [A156] — files and windows, search and find, reading and annotation
│  ├─ History & storage details — files, temporary results, search history, and index cache [A317]
│  ├─ Cloud connection details — server address, user name, and connection status
│  │  ├─ Test connection [A393] — requests a session from the configured server
│  │  └─ Connection help [A830] — circled question mark at bottom right, outside the scrolling form. Opens the setup guide
│  ├─ Diagnostics details — application log, rendering performance, and performance recording
│  └─ About details — version and build, technology stack, open-source libraries, repository link, author and licenses
└─ Actions [A553] — restore defaults / 恢复默认设置,保存失败时可重试

All nine categories use the same group headings and surfaces. Standard preference rows put the label and description on the left and the control on the right. A tinted background and leading accent mark the located option. The shared log preview stays above the scrolling reading and highlight details.

Autosave replaced the settings footer’s Cancel [A554] and Save [A555] buttons. Their historical IDs remain reserved.

Editing replaces log reading with an editor and hides the search panel; see Editing. Empty tabs show open/recent/recovery content. AI controls are removed; the workspace's left navigation can show a file tree or vertical tab list. Settings is a separate window, not inside the workspace overlay tree. Search-track collapse and search-panel expansion are independent.

The horizontal document tab bar [A016] is hidden only while the left navigation is visible, vertical tabs are enabled, and the tab list is selected. Hiding the sidebar or switching to the file tree restores [A016] while retaining the vertical-tab preference; showing the vertical tab list again hides the horizontal bar. This transition neither closes documents nor changes the active tab, and horizontal drop geometry follows the actual visibility.

New semantic controls introduced for this map:

WorkspaceBody [A004] (reference)
├─ Existing-file editor [A806] — document_editing.rs / EditorState
└─ New-file draft editor [A807] — document_editing.rs / NewFileDraft

A806/A807 document the explicit editor branches previously absent from the Wiki registry. Keep these IDs when their placement changes. Source ownership: workspace/render_shell.rs, tab_view.rs, search_tab_ui.rs, settings_window.rs, document_editing.rs, and settings_dialog.rs under crates/vclogg-app/src/ (workspace files under workspace/).

The text tag context menu reuses existing semantic IDs and is composed in workspace/row_tags.rs for the log body, local results and global results:

Text tag context menu
├─ Edit mark… [A569] — open the tag editor
├─ Delete mark [A572] — remove the selected text tag
└─ Clear all marks [A601] — remove all text tags in the owning file, including invisible rows; retain row marks, reuse history and other files’ tags

A601 also remains in the row’s “Text mark” submenu; it is disabled when there are no tags, the document is stale, a file is opening or the state store is unavailable.

Performance recording is in Settings → Diagnostics & performance, retaining its existing node IDs:

Performance recording [A808] — application Recorder; recording and saving continue after Settings closes
├─ Start recording [A809] — create a trace cache file, append new events in background batches
├─ Stop recording [A810] — stop collection, drain remaining events and close the file, without a path dialog
├─ Retry save [A811] — retry a failed final save to the same cache path
├─ Dismiss retry [A812] — release retained data without deleting saved files
└─ Open folder [A813] — open the trace cache directory, including during recording

Cold-start capture stops at its CLI deadline. Manual starts and stops are disabled during that capture; Open folder remains available. The recording path and write errors are displayed; failed writes retry automatically, and a failed final save allows retry or dismissal.

FileDropObserver / FileDropTarget [A128] — external drops and release-position routing
└─ FileDropOverlay [A130] — window-wide drag hint; ordinary drops open top-level files
   └─ IncludeSubfoldersDropTarget [A131] — folders only; the small central target highlights on hover and opens subfolder files recursively on release

Folder detection and enumeration run in the background. Entries are sorted by name within each folder; canonical directory identities prevent link cycles. Exit, cancellation, and release dismiss the hint.

Release notes include all upgrade versions when the source is strictly newer than the current version; otherwise they show the newest three releases. Cached results use the same selection:

Root overlays [A041] (reference)
└─ Release notes dialog [A814] — workspace/update_checks.rs
   ├─ Version and status [A815] — current and latest versions
   ├─ Release notes [A816] — selectable Markdown; standard dialog body scrolls
   ├─ Close [A817] — dismiss; Escape also closes and restores focus
   └─ Open download page [A818] — open the verified Release URL

For a successful remote response with an equal or older version, [A814] keeps the Check for updates title and [A815] shows “No updates available” with current/source versions. [A821] initially expands the newest three releases (all available entries when fewer than three exist; legacy manifests show only the latest release). Close [A817] and full release history remain available; the download action appears only when upgrades exist. Offline cached results show the same notes while retaining the availability warning and last check time.

The website manifest includes the full release body. Empty or legacy notes show an explicit fallback message. Failed checks without a valid cache open the Releases index.

The update dialog immediately shows “Checking for updates” [A819], independent of notification settings, and replaces its content with the result. Close or Escape dismisses it while pending; background work may finish caching, but will not reopen the dialog or launch the browser after dismissal.

Release notes dialog [A814] (reference)
├─ Version and status [A815] — current and latest versions
├─ Release notes [A816] — grouped by descending version
│  └─ Version disclosure button [A821] — stable version identity; newest three initially expanded
└─ View full release history [A822] — open the Releases index

The update dialog no longer shows a Version changes heading or a separate breaking-change/migration summary [A820]; the ID remains reserved. Current/latest versions are followed directly by the per-version release notes, preserving the original text and initially expanding the newest three versions.

Every check requests the remote manifest first. Failure with a valid cache shows the previous result in [A814]; [A815] uses “Previously checked source version”, never “Latest version” or “No updates available”. A newer cached version retains upgrade notes and downloads; otherwise the newest three releases, full history, and Close remain available.

Release notes dialog [A814] (reference, cached fallback)
├─ Connection failure and last successful check [A823] — local time with offset; availability is unverified
└─ Version and status [A815] — current and previously checked source versions