Files
piik/docs/standards
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 standards

Current product and engineering rules live here. Start with the affected subject; the ownership map explains where each fact belongs. AGENTS.md owns task authority and Contributing owns delivery.

Subject Standard
Module responsibility, resources, interfaces and contextual consistency Engineering
Product names, terminology, Chinese/English voice and content layers Naming and copy
Room authority, invitation/password access and persistence Rooms and access
Automatic routes, capacity, P2P/SFU transitions and route operations Routing and transport
Capture, encoders, media adaptation and audio Media quality
Workflow, playback, presentation and Browser/App lifecycle Presentation and lifecycle
Evidence behind each status, indicator, overlay and notice Media status
Cast, symbols, colour, animation, tooltips and playful copy Visual language
Website, README and introduction-film composition Public introduction
Runtime settings, defaults, bounds and diagnostics Configuration
Compatibility, build identity, publication and release notes Versioning
Documentation responsibilities and updating a rule Documentation ownership

Before another implementation of a familiar concept, identify its fact, owner, scope and lifetime. Apply the existing rule, or explain the contextual difference at that rule's owner. Source schemas and focused tests own exact implementation details; standards need not repeat every field or function.

ADRs preserve decisions and supersession. Research preserves dated observations and limits. TODO owns work that remains, including accepted targets not yet implemented. A recorded target is not a claim of completed verification. User guides remain in the documentation index.