Files
piik/docs/standards
T
AAA 390e637d4e fix(app): clarify site entry and update guidance (#458)
## Problem and outcome / 问题与结果

The App's update notice lacked a separate release-note link and any distinction
for a new major release. Site entry also required users to supply the URL scheme.
This maintenance phase keeps direct manual downloads, adds concise major-upgrade
guidance in the App and Server log, and accepts bare Site domains through the
existing App normalizer. Explicit HTTP/HTTPS origins retain their meaning.

The shared launcher preview and accessibility copy follow the same behavior.
Website brand baselines are aligned; source-map-js is updated to 1.2.2 in both
build lockfiles. Windows capture self-tests now retain the first worker exception
and report the failing phase and output progress without changing deadlines or
production capture behavior. The Magicsock assessment remains documentation only.

## Release notes

### 中文

这是一次维护更新,重点改善 Piik App 的站点连接和版本更新体验。现有设置和连接协议保持兼容。

- **站点地址填写更省事:** 可以直接输入域名,App 自动补全 HTTPS;粘贴完整 HTTP/HTTPS 网址也可直接使用。
- **更新入口更清晰:** 更新按钮继续下载对应平台的程序包,“版本说明”可单独打开查看;两项操作分排居中。
- **大版本升级有提示:** 今后检测到新的大版本时,App 会显示简短升级提醒,Server 也会在日志中提示查看不兼容改动。
- 修正启动页的读屏提示,并对齐官网标志中的小电视与 Piik 字样。

### English

This maintenance update makes Piik App's Site entry and update notices easier to use. Existing settings and connection protocols remain compatible.

- **Easier Site entry:** Enter a domain and the App adds HTTPS, or paste a complete HTTP/HTTPS address.
- **Clearer update actions:** The update button still downloads the matching platform package. Release notes open separately, with both actions centered on their own rows.
- **Major-upgrade guidance:** When a newer major release becomes available, the App shows a short upgrade notice and the Server log directs operators to its breaking changes.
- Corrected launcher screen-reader text and aligned the website's television mark with the Piik wordmark.

## Verification / 验证

- `npm run check`: 81 test files / 1,378 tests passed; type checking and production Web build passed.
- `npm run build:website`: homepage, film and bilingual documentation build passed.
- Launcher browser checks: ordinary/major updates, GitHub/Gitee metadata fallback,
  exact package/release links, no download during detection, missing-package page
  fallback, Chinese/English/visual modes, light/dark themes, 320–1440px layouts and
  scoped accessibility checks passed. Network metadata is simulated in these checks.
- Bare domain, complete HTTPS and explicit HTTP inputs reached the launch request;
  App configuration and launcher tests passed, including normalization and invalid
  origins. Go vet passed for the affected packages.
- Repository hygiene and documentation checks passed; existing documentation-length
  and Web bundle-size warnings remain.
- `npm run check:go`: Go tests, formatting, vet, registered non-Darwin target
  builds, Windows native build, deterministic capture regressions, probe and source
  enumeration passed. Darwin cgo builds were skipped on this Windows runner as designed.

## Impact / 影响

Maintenance release: v1.9.2. No public wire or storage change: Browser/server v23,
Native control v9, capture v7 and SQLite schema 2 are unchanged. No media, route,
room-authority or automatic-installation behavior changes. Site origin validation
remains strict; a missing scheme defaults to HTTPS without network probing or
silent HTTP fallback. Configs written by this version still contain complete origins.

Historical installed Apps retain their released update behavior. Future major
upgrades still need release-specific compatibility instructions. Physical macOS/Linux
capture and reporter-dependent issues remain outside this maintenance change.
390e637d4e · 2026-10-06 22:14:26 +08: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.