fix(ui): finish release presentation and keyboard guidance

This commit is contained in:
AAA committed 2026-10-20 00:15:16 +08:00
1 parent 392c1ff352
commit e88cb236be
14 files changed
+62 -45

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 103 KiB

+2 -1
View File
@@ -160,7 +160,8 @@ native latest-attachment route:
Both links follow provider publication without a website rebuild. Supported App
architecture choices stay visible; one selection updates both providers' links.
An optional GitHub metadata request supplies only the latest version/date;
An optional GitHub metadata request supplies the latest version/date and its
authored editorial headline;
failure does not disable architecture selection. Without JavaScript, the default
links remain Windows x64, Apple silicon and Linux x64. Publish a newly listed App
package before deploying its website option. ARM64 Server packages alone do not
+3 -2
View File
@@ -138,8 +138,9 @@ Both controls pass without changing Go startup deadlines or adding retries.
They do not reproduce the report's additional video timeout. Its display-audio
attempt and window-filter crash refer to different processes; they do not
establish one failure or an App bundle-identity collision. The native audio
self-test is part of the Mac capture check, but compilation and actual Mac
capture remain unverified on this Windows workstation.
self-test is part of the Mac capture check. Both Darwin architectures compiled
and passed that self-test in candidate CI on 2026-10-19; actual source/microphone
capture and permissions remain unverified on this Windows workstation.
The remaining video timeout needs a separate Mac reproduction. Darwin emits
`StartingStatus` after `SCShareableContent` enumeration and filter construction,
+9 -6
View File
@@ -1,6 +1,6 @@
# Current Status
Last updated: 2026-10-19
Last updated: 2026-10-20
This is the compact execution/deployment index. Product modules own behavior,
[verification status](./verification-status.md) owns unresolved physical limits,
@@ -56,11 +56,14 @@ Release artifacts and operator deployment records own delivery completion;
## Current Work
The published v2.2.1 retains attended keyboard/mouse control, Viewer playback
settings and the interaction window, with the maintenance media and lifecycle
repairs. Delivery and bounded deployment postflight are complete. Current work
prioritizes capture, route/media follow-up and shared theme consistency. The
promotional film remains an online-review draft; export follows owner acceptance.
The current 2.x release line retains attended keyboard/mouse control, Viewer
playback settings and the interaction window, with the maintenance media and lifecycle
repairs. The accepted maintenance phase preserves the published protocols and
route owners; release artifacts and operator records establish publication and
postflight completion. Current implementation work turns to room-owned routing
and voice in the isolated prototype, while device/reporter follow-up remains in
the TODO ledger. The promotional film remains an online-review draft; export
follows owner acceptance.
Separate local prototypes assess room voice and shared-keyboard/virtual-gamepad
co-play. A room-owned tree experiment now reuses the existing route controller
for bidirectional voice and video on shared Pion connections. Local media-owner
+18 -19
View File
@@ -1,6 +1,6 @@
# Current TODO Ledger
Last reviewed: 2026-10-19
Last reviewed: 2026-10-20
Explicit owner holds remain in force; an investigation does not itself
accept a new feature or architecture. A missing device or reporter trace blocks
@@ -14,14 +14,6 @@ Release artifacts and operator records own exact delivery; remaining product
work is listed below. Broader device coverage does not override the owner's
platform deferrals or establish a diagnosis for unmatched reports.
- [ ] **macOS bundle startup acceptance (#479).** The package now contains the
actual Mach-O entry and helpers inside `.app`, replacing the shell launcher's
dependency on an external sibling executable. A moved-bundle assembly check
passes, and release CI has built and packaged both Mac architectures.
Verify Finder launch on macOS, including a downloaded/quarantined bundle and
capture permissions. The packaging defect
is established; its correction has not yet been matched to the reporter's Mac.
- [ ] **Return LiveKit to an upstream pin.** Native publication now supplies
unmet encoder demand to the existing allocator through the scoped dependency
revision submitted in [upstream #5016](https://github.com/livekit/livekit/pull/5016).
@@ -30,13 +22,6 @@ platform deferrals or establish a diagnosis for unmatched reports.
own that boundary; this local repair does not diagnose the unmatched field
reports below.
- [ ] **2.x maintenance acceptance.** Complete acceptance and integration of
the capture selection/handoff repairs, Pion/STUN corrections, shared controls,
help/version menu, website/docs appearance and release-headline presentation.
Preserve published protocols, explicit preferences and primary/status colour
identities. These changes are not yet published; room-voice and co-play code
remain in their isolated prototypes. Device and reporter limits stay below.
- [ ] **New promotional film.** Refine the accepted short proof's art direction
into a standalone Chinese/English introduction that assumes no earlier film.
Functional and mechanism work takes priority. Keep the draft in the online
@@ -85,8 +70,14 @@ These physical checks or reporter diagnoses remain unverified. A local repair or
successful test is not proof of a reporter's cause; research owns the completed
experiments and their limits.
- [ ] **macOS sharing with source audio (#486).** Compile and run the Darwin
audio self-test and verify actual screen/window audio plus microphone startup.
- [ ] **macOS bundle startup acceptance (#479).** Verify Finder launch,
quarantine and capture permissions on a physical Mac. The Mach-O entry and
helpers are inside `.app`; moved-bundle assembly and both architecture builds
pass. The corrected packaging has not yet been matched to the reporter's Mac.
- [ ] **macOS sharing with source audio (#486).** Verify actual screen/window
audio plus microphone startup. Both Darwin architectures compile and pass the
audio self-test in candidate CI.
The local repair confirms audio readiness when platform startup succeeds,
rather than waiting for samples. Go pipe controls preserve video with silent
or unavailable audio. The reporter's full start-share timeout and separate
@@ -223,7 +214,9 @@ experiments and their limits.
Viewers reachable only through a video relay and voice without an active share.
The room-tree experiment reuses the unmodified controller for Browser/Pion
voice, video and separate source audio, including decoded playback, relay
departure and independent publication retirement. Unauthorized voice relays
departure and independent publication retirement. Its authenticated Browser
control now handles negotiation and first-frame commit without a test runner
routing SDP or declaring media ready. Unauthorized voice relays
make that path unavailable without disturbing video; approval restores it on
the same connections. Before integration, complete production App authorization
and control, multi-track upload budgeting, physical audio and external-network
@@ -324,3 +317,9 @@ remains; do not add another retry/transport owner to bypass these limits.
picture per Viewer and shared endpoint upload limits. Define publication and
subscription lifecycles before a prototype. The current one-Host contract
remains; names and UI follow the model decision.
12. **Windows x64 Server packaging (#485).** Review the contributor's package
extension separately from the maintenance release, including descriptors,
container filtering, mirror inventory and Windows runtime acceptance.
Remove the unrelated history-check fallback before integration; an absent
push base is not a Windows packaging requirement. Existing Linux Server
packages and Windows App support are unchanged.
+2 -1
View File
@@ -39,7 +39,8 @@ picks up their styling and copy. Review scene selection and camera framing when
the product workflow changes. Cursor targets follow component elements, not
screenshot coordinates.
The README's four room screenshots use this same fixture. Open
The README's four room screenshots use this same fixture. In an isolated Browser
profile without saved presentation preferences, open
`/film/ui/index.html?still=viewer&lang=en&theme=light` at **1160 × 1040** and capture
the full page; repeat with `lang=zh` and `theme=dark` for the corresponding
`docs/assets/room-{en,zh}-{light,dark}.png` files. The still view uses natural page
+10 -8
View File
@@ -724,19 +724,21 @@
<div class="section-heading">
<p class="eyebrow"><span lang="en">Download</span><span lang="zh-CN">下载 Piik App</span></p>
<h2 id="download-title"><span lang="en">Get Piik App.</span><span lang="zh-CN">下载 Piik App。</span></h2>
<p class="download-headline" id="download-headline" hidden><span lang="zh-CN"></span><span lang="en"></span></p>
<div class="download-release">
<span id="download-release" hidden>
<strong><span lang="en">Latest release </span><span lang="zh-CN">最新版本 </span><b></b></strong>
<span class="release-date"><span lang="en">Released </span><span lang="zh-CN">发布于 </span><time></time></span>
</span>
<a href="https://github.com/TNTcraftHIM/Piik/releases/latest"><span lang="en">Release notes</span><span lang="zh-CN">版本说明</span></a>
</div>
<p>
<span lang="en"
>Host from your computer, with controls in your browser.<br />Friends only need a browser to watch.</span
><span lang="zh-CN">在电脑上运行 Piik App,在浏览器里操作。<br />观看朋友的分享,无须安装 Piik App。</span>
</p>
<a class="download-release" href="https://github.com/TNTcraftHIM/Piik/releases/latest">
<span class="download-headline" id="download-headline" hidden><span lang="en"></span><span lang="zh-CN"></span></span>
<span class="download-release-meta">
<span id="download-release" hidden>
<span><span lang="en">Latest </span><span lang="zh-CN">最新版本 </span><b></b></span>
<time></time>
</span>
<span class="download-release-action"><span lang="en">Release notes</span><span lang="zh-CN">更新内容</span><span aria-hidden="true"> ↗</span></span>
</span>
</a>
</div>
<p class="release-note" id="download-status">
<span lang="en">Choose your system, then download and extract.<br /><strong>2.x and 1.x are incompatible.</strong> When upgrading from 1.x, update the App and its Site together, then refresh your browser. <a href="./docs/getting-started.html?lang=en#upgrading">Upgrade guide</a></span>
+7 -6
View File
@@ -106,12 +106,13 @@ h2 { font-size: clamp(30px, 3.25vw, 42px); line-height: 1.2; margin-top: 12px; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.steps li > p:last-child { margin-top: 12px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.download-section { padding-block: 76px 60px; }
.download-headline { max-width: 40em; margin: 16px auto 0; color: var(--ink); font-size: 17px; font-weight: 650; text-wrap: balance; overflow-wrap: anywhere; }
.download-release { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; color: var(--muted); font-size: 12px; }
#download-release:not([hidden]) { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
#download-release strong { color: var(--ink); font-weight: 650; }
#download-release b { font: inherit; }
.release-date { white-space: nowrap; }
.download-release { display: inline-flex; max-width: 100%; flex-direction: column; align-items: center; gap: 5px; margin-top: 20px; color: var(--muted); font-size: 12px; text-decoration: none; }
.download-headline { max-width: 40em; color: var(--ink); font-size: 17px; font-weight: 650; text-wrap: balance; overflow-wrap: anywhere; }
.download-release-meta, #download-release:not([hidden]) { display: inline-flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
#download-release > span, #download-release time { white-space: nowrap; }
#download-release b { color: var(--ink); font-weight: 650; }
.download-release-action { text-decoration: underline; text-underline-offset: 4px; }
.download-release:is(:hover, :focus-visible) .download-release-action { color: var(--action-text); }
.release-note { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 8px 13px; margin: 27px auto; color: var(--muted); font-size: 13px; text-align: center; }
.download-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.download-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; justify-items: start; align-items: start; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 4px 0 color-mix(in srgb, var(--line) 40%, transparent); }
@@ -41,6 +41,7 @@ export function RemoteKeyboard({ input, close, mouseControl, touch, platform, on
const { t, vis } = useCopy();
const id = useId();
const mac = platform === "darwin";
const metaKeyTitle = t(mac ? "remote.key.Command" : platform === "windows" ? "remote.key.Windows" : "remote.key.Super");
const command = mac ? "MetaLeft" : "ControlLeft";
const modifiersKeys: Key[] = [["Ctrl", "ControlLeft"],
[mac ? "Cmd" : platform === "windows" ? "Win" : "Super", "MetaLeft"], [mac ? "Opt" : "Alt", "AltLeft"], ["Shift", "ShiftLeft"]];
@@ -92,7 +93,7 @@ export function RemoteKeyboard({ input, close, mouseControl, touch, platform, on
const name = `remote.key.${code}`;
const caption = shifted && modifiers.includes("ShiftLeft") ? shifted : label;
return <button key={code} type="button" className="lr-chip"
data-key={code} aria-label={isCopyKey(name) ? t(name) : caption}
data-key={code} aria-label={code === "MetaLeft" ? metaKeyTitle : isCopyKey(name) ? t(name) : caption}
onPointerDown={event => {
if (event.button !== 0) return;
event.preventDefault(); event.currentTarget.setPointerCapture(event.pointerId);
@@ -109,7 +110,7 @@ export function RemoteKeyboard({ input, close, mouseControl, touch, platform, on
};
const modifier = ([label, code]: Key, index: number) => <span className="lr-remote-modifier-key" key={code}>
{combineKeys ? <Chip title={mac && code === "AltLeft" ? "Option" : label} selected={modifiers.includes(code)} onClick={() => {
{combineKeys ? <Chip title={code === "MetaLeft" ? metaKeyTitle : code === "ShiftLeft" ? t("remote.key.ShiftLeft") : mac && code === "AltLeft" ? "Option" : label} selected={modifiers.includes(code)} onClick={() => {
const selected = modifiers.includes(code);
if (selected) presses.up(-2 - index);
else presses.down(-2 - index, [code], false);
+4
View File
@@ -12,6 +12,10 @@ export const en: Record<CopyKey, string> = {
"remote.keyboardHelp": "Hold a key to keep it pressed; let go to release.",
"remote.combinationHelp": "Select Ctrl, Shift or Alt, then another key. They release together.",
"remote.combinationMode": "Key combination mode",
"remote.key.ShiftLeft": "Shift",
"remote.key.Windows": "Windows key",
"remote.key.Command": "Command key",
"remote.key.Super": "Super key",
"remote.key.Space": "Space",
"remote.key.Insert": "Insert",
"remote.key.Delete": "Delete",
+4
View File
@@ -12,6 +12,10 @@ export const zh = {
"remote.keyboardHelp": "按住即长按,松手即松开。",
"remote.combinationHelp": "先选 Ctrl、Shift 等键,再按另一键;完成后自动松开。",
"remote.combinationMode": "组合键模式",
"remote.key.ShiftLeft": "Shift 键",
"remote.key.Windows": "Windows 键",
"remote.key.Command": "Command 键",
"remote.key.Super": "Super 键",
"remote.key.Space": "空格键",
"remote.key.Insert": "插入键",
"remote.key.Delete": "删除键",