Files
piik/docs
T
TNTcraft 07e37c7228 fix(app): stabilize authorization and compact room controls
## Problem and outcome / 问题与结果

App authorization could stay busy after a stalled save, a pending microphone request could survive a capture-source handoff, and compact room controls could lose focus, position or readable names. This maintenance phase corrects those owners and makes connection help easier to find.

## Verification / 验证

Validation: the exact candidate tree passed all 1,943 Web tests and documentation checks. Its unchanged product source has passed TypeScript and a production Web build. Controlled UI checks cover delayed microphone permission, stalled approval responses, keyboard viewport changes, rapid floating-panel hide/show and narrow nickname layouts. Published 2.x wire, native control and storage contracts are unchanged.

## Impact / 影响

Compatible 2.x maintenance release. Existing App, site and persisted room contracts are retained. Matching packages, download mirrors and both managed sites are verified through the normal release workflow.

## Release notes

**Piik, now in your pocket.**

Piik App supports Android screen sharing, with touch controls for a friend's computer.

**手机,也能开播。**

Piik App 支持 Android 屏幕分享,也能用手机控制朋友的电脑。

### English

This maintenance update improves App authorization, capture-source switching and controls on smaller screens.

- Fix commentary controls remaining busy after switching from Browser capture to the App.
- Let App site approval recover from a stalled save, keeping access already granted.
- Preserve numeric-input focus when the mobile keyboard resizes the page, and provide increase/decrease buttons. Keep interaction windows at their remembered position after rapid hide/show actions.
- Give nicknames readable space on smaller screens, while retaining edit controls and accessible labels. Keep launcher diagnostics inside the shared Help menu.
- Make room-connection help easier to find, and clarify Safari screen-sharing and sound support.
- Complete package mirroring after a later CI publication step fails, and verify managed-service deployments against the intended source revision.

This maintenance update preserves the established 2.x room, invitation, media,
App-control and storage contracts. Refresh a site's open pages after it is
updated. App-local users need the updated App bundle to receive its included
Web fixes. Existing compatible 2.x App/site workflows remain supported.

### 中文

本次维护更新改善 App 授权、切换分享源和小屏操作。

- 修复浏览器切换为 App 采集后,分享麦克风控制一直处于忙碌状态的问题。
- App 站点授权不再因保存卡住而一直转圈;可以重试,已批准的授权也会保留。
- 手机键盘改变页面尺寸时保留数字输入焦点,并提供增减按钮;互动窗口快速隐藏再打开后保留记忆位置。
- 小屏上为昵称保留可读空间,同时保留编辑入口与无障碍名称;启动页诊断统一收进帮助菜单。
- 更容易找到房间连接问题的排查入口,并说明 Safari 屏幕分享与声音的支持情况。
- 发布流程后续步骤失败时,仍可补全已经发布的程序包镜像;部署核验明确比对预期源码版本。

本维护更新保留既有 2.x 房间、邀请、媒体、App 控制与存储契约。
站点更新后请刷新已打开的网页;App 本地使用者需更新程序包,才能使用其中的新网页修复。
已有兼容的 2.x App/站点使用方式继续支持。
07e37c7228 · 2026-11-08 12:28:03 -04:00
History
..

Piik Documentation

About Piik · 中文介绍 · 中文上手指南

For using Piik, troubleshooting or self-hosting, start with the reader documentation · 中文文档中心. This page indexes developer and maintainer references.

Developer And Maintainer Entry Points

Task Guide
Try or change the source code Run from source
Find a module, interface, lifecycle or source entry point Engineering maps and source index
Find the shared product, design and lifecycle rules Standards index
Deploy or configure a service Self-hosting · Configuration · Service management
Build App packages and native capture App development
Build, publish or recover a maintained release Maintainer release tooling
Send a useful bug report Diagnostics and export
Translate Piik or improve wording Translation guide · 中文翻译教程
Check release and platform readiness Current status

The introduction, getting-started, App, self-hosting, service-management and translation guides are available in English and Chinese. Technical references keep one shared version.

Run from source

You can try the Browser application locally with Node from .node-version, npm from package.json, and Go from go.mod. Run these commands from the repository root.

Start the web UI:

npm ci
npm run dev

In a second terminal, start the server. For a POSIX shell:

PORT=8788 PUBLIC_BASE_URL=http://localhost:8787 go run ./cmd/piik-server

Or in PowerShell:

$env:PORT = '8788'
$env:PUBLIC_BASE_URL = 'http://localhost:8787'
go build -o build/dev/piik-server.exe ./cmd/piik-server
./build/dev/piik-server.exe

The fixed Windows executable path avoids repeated firewall prompts from go run. Open localhost:8787, start sharing, and open the invitation in another browser tab to try watching. This localhost invitation stays on your computer; remote invitations need a reachable origin as described in configuration. Browser capture requires localhost or HTTPS.

For the self-contained App, follow App development and packaging, including the platform's native capture requirements.

Work on Piik

Contributing covers the workflow and choosing focused checks. The main verification commands are:

npm run check
npm run check:go

Use the naming and copy guide for product names, commands, role labels and Chinese/English voice. Piik-owned code uses MIT; see the licensing guide for third-party components.

For the public website, see the introduction design and website preview and publishing.

Understand the product

Topic Its reference
Invitations, room codes and passwords Rooms and access
How viewers connect Routing and transport
Screen capture, quality controls and sound Media quality
Host and viewer behavior Presentation and lifecycle
Why a design was chosen Architecture decisions
Measurements and platform limits Research and verification status
Camera and Host microphone Capture scope and limits
Text, reactions and floating room tools Room-interaction design
Stereo verification and HDR-to-SDR assessment Media fidelity

Shared conventions

When changing… Follow this owner
Module responsibilities or interfaces Engineering and contract map
Product/tool names, role labels or copy Naming and copy
UI colour, illustration, motion or layout Visual language
Overlays, titles or state indicators Media status
Releases, protocols or stored formats Versions and compatibility
Main protection or automatic publishing GitHub operations
Documentation or a duplicated rule Documentation ownership
Checks, PRs, integration or cleanup Contributing

For ongoing work, use TODO. Project memory provides the compact product map; status indexes current source and deployment boundaries. Completed work lives in Git history and pull requests.