Commit Graph
4 Commits
  • fix(ui): complete illustrated guidance and launcher defaults
    Some room-entry failures still replaced the existing comics with standalone icons in Chinese and English, and status help required a touch hold. These pages now share the same illustrated scenes with localized explanations. Help-only indicators use native buttons and the shared Tooltip owner for click/tap, hover, keyboard and dismissal; action controls retain their actions and long-press guidance.
    
    The App preselects public invitations when no Site is saved, while retaining a saved Site's priority. Launcher metadata and its consumer agree on the existing link mode. The release guide now requires explicit owner approval of each planned version and complete notes before publication.
    
    ## Release notes
    
    ### 中文
    
    - 补齐中英文的房间错误页、等待状态和操作提示图解,纯视觉模式继续保留。
    - 电视下方状态、连接指示灯和说明提示支持点击或轻触展开;再次点击、点外部或按 Esc 可关闭,悬停和键盘操作继续可用。
    - App 未保存站点时默认选中“公网邀请”,已保存站点仍优先显示。
    - 统一无音频图标,并完善系统“减少动态效果”设置下的显示。
    
    ### English
    
    - Completed illustrated guidance for room-entry errors, waiting states and controls in Chinese and English. Pure-visual mode remains available.
    - Picture status, connection indicators and informational notices now open on click or tap. Click again, tap outside or press Escape to dismiss; hover and keyboard guidance remain available.
    - The App now preselects public invitations when no Site is saved. A saved Site retains priority.
    - Made no-audio icons consistent and improved presentation with the system's reduced-motion setting.
    
    ## Verification
    
    - `npm run check`: TypeScript, 59 test files / 776 tests and the production Web build passed.
    - `npm run check:client-core`: Go tests, formatting, vet and supported local target builds passed; native macOS packaging remains on its macOS runner.
    - Existing Launcher HTTP tests verify both the public-link default and saved-Site priority. The browser checked both corresponding metadata responses.
    - 27 focused browser checks passed for native touch events, short tap, long press, drag cancellation, action preservation, keyboard dismissal and 260/390px entry layouts.
    - 46 overlay combinations passed across Chinese, English, pure-visual mode and 260/390/1280px, including keyboard playback and reduced motion.
    - A real local Server returned the missing-room state correctly in all three modes. Status-control accessibility checks, documentation and repository hygiene passed.
    
    Compatible patch. No signaling, native-control, capture or storage contract changes. Existing physical device/network deferrals remain in force.
  • feat(ui): add illustrated hints and playback gestures
    ## Problem and outcome / 问题与结果
    
    App startup rejected short or non-ASCII site passwords, viewers lacked picture-click playback gestures, and text-mode hints hid the existing illustrations. This phase accepts site passwords verbatim, combines shared illustrations with localized captions in tooltips and stage overlays, and adds desktop single-click play/pause and double-click fullscreen through the existing playback owner. Pure-visual mode remains available.
    
    App ZIP names are now stable per platform, allowing the website to use GitHub's native latest-download URLs. The App update link selects the ZIP matching its compiled OS and architecture from the checked release metadata, falling back to the release page if the package is unavailable. Verified Gitee links retain their explicit release version. The Windows packaging workflow also stops restoring a redundant Go toolchain cache that caused setup-go to fail.
    
    ## Release notes
    
    ### 中文
    
    - 中英文操作提示和画面状态覆盖层加入动态漫画,说明更直观;纯视觉模式继续保留。
    - 观众可单击画面暂停或继续播放,双击进入或退出全屏;触屏仍通过单击显示或隐藏播放栏。
    - 修复设置短密码、中文密码时 App 或 Server 无法启动的问题。站点密码仍可留空。
    - 官网各系统的 GitHub 下载按钮直接获取最新 ZIP 包,并保留 Gitee 备用下载线路。
    - App 内的更新入口直接下载对应系统和架构的 ZIP 包。
    
    ### English
    
    - Chinese and English tooltips and picture status overlays now pair concise explanations with animated illustrations. Pure-visual mode remains available.
    - Viewers can click the picture to pause or resume and double-click to enter or exit fullscreen. Touch taps continue to show or hide playback controls.
    - Fixed App and Server startup rejecting short or non-ASCII site passwords. Site passwords remain optional.
    - Each platform's GitHub download button now fetches the latest ZIP package, with Gitee retained as an alternative download source.
    - App update links download the ZIP matching the installed platform and architecture.
    
    ## Verification / 验证
    
    - `npm run check`: 59 test files / 774 tests, TypeScript and production build passed.
    - `npm run check:client-core`: Go tests, formatting, vet and supported local target builds passed for the included runtime changes. Native macOS packaging remains on its macOS runner.
    - Desktop and 390px touch playback checks passed, including double-click without an intermediate pause and control/keyboard interaction.
    - Illustrated tooltip checks passed in Chinese, English and pure-visual modes, light/dark themes, 260/360/390px layouts, keyboard, touch hold and reduced motion. User accepted the resulting UI.
    - Real stage overlay components passed 46 checks across the three modes and 260/390/1280px layouts, including keyboard play activation, reduced motion, and no overlay over healthy playback with a quality limitation.
    - Bounded release review confirmed JSON password authentication retains old bodyless Bearer compatibility and ZIP names match packaging, publisher, mirror and website consumers.
    - After checking both providers' real API shapes, 27 focused update tests and type-checking passed; anonymous GitHub and Gitee metadata each selected all three actual platform ZIPs without downloading them.
    - Documentation, repository hygiene and diff checks passed.
    
    ## Impact / 影响
    
    Compatible feature release. Signaling, Native control, capture protocol and persistent room schema are unchanged. The new latest-download filenames must be published before the matching website deploys; the existing CI-to-Website sequence provides that order. Production service updates use the immutable Server artifact and bounded rollback. Broader physical macOS/Linux, network and endurance acceptance stays under the existing documented deferrals.
  • fix(website): simplify downloads and scope product releases (#390)
    ## Problem and outcome
    
    Website visitors can download the usual Windows x64, macOS Apple silicon
    and Linux x64 App packages directly from clearly labeled platform cards.
    Each card includes a verified Gitee alternative, with shared setup
    guidance and a More downloads link for the full release list. The
    homepage reuses the application's 20 bilingual greetings, and the sample
    game no longer displays an invented title.
    
    Website builds resolve links from the latest published GitHub release
    and validate matching mirror assets. Website deployment follows main CI
    so newly published packages reach the next site build. Version selection
    and release notes now share a product-change filter: standalone website,
    documentation and maintenance changes do not create App/Server releases
    or affect the next product version.
    
    ## Verification
    
    - `npm run check`: 57 test files / 759 tests, TypeScript and product
    production build passed.
    - Website build passed with real GitHub/Gitee v1.0.0 metadata and with
    the explicit local fallback.
    - English and Chinese browser checks at 390px and 1440px passed:
    platform links, More downloads, greeting selection and language
    switching.
    - All 23 website film check groups passed; the final shared artwork
    change rebuilt successfully.
    - Documentation, repository hygiene and diff checks passed. Real
    Git-history tests cover product/website mixtures and moves across the
    release boundary; the accepted phase plans `publish: false`.
    
    ## Impact
    
    GitHub remains the version authority; Gitee is a download mirror.
    Unavailable mirror metadata falls back to its release page. Product
    runtime behavior and package compatibility are unchanged. Physical
    macOS/Linux capture and broader device/network limits remain documented.
  • feat: launch Piik with a unified interface and public website
    Piik now has one public presentation and a coordinated App/Server release path. This phase unifies the room UI, rewrites the bilingual README and guides, adds a static website with an inline product film, and prepares matching GitHub/Gitee packages and update links.
    
    The film uses the current homepage and shared product controls on one seekable timeline. Runtime fixes preserve presentation when the App opens a room, normalize Site origins, and keep capture and media-recovery status in the television indicator. New visits use Chinese for a Chinese system language and English otherwise; explicit language and visual-mode choices remain available. An optional site passphrase controls site entry, while room authorization remains enforced.
    
    GitHub is the release authority. Gitee mirrors verified packages and provides update metadata when GitHub is unavailable. Reviewed PR release notes become the GitHub Release description. The separate public demo uses P2P only, with HTTPS and STUN verified.
    
    Validation: 756 Web tests, TypeScript and production build; Go core tests, formatting, vet and available target builds; bounded Windows capture and App/Site interoperability; browser film checks, audible playback and narrow layouts; anonymous Gitee Windows-package download, checksum and launcher/update-link checks. Public demo acceptance covers authenticated WebSocket signaling, synthetic P2P video and room cleanup on one network. macOS/Linux physical capture and the wider device/network/endurance matrix remain explicitly deferred.
    
    Publication builds every package from the merged source SHA. The repository is public, main protection is active, and Pages is configured for piik.tv. CI/publisher and Pages deployment records own publication results.
    
    ## Release notes
    
    ### 中文
    
    Piik 是免费开源的屏幕共享工具。开个房间,发出邀请,最多 20 位朋友就能用浏览器加入观看。
    
    - 使用浏览器或 Piik App 分享游戏、窗口和整个屏幕。
    - 优先建立直连;自托管站点可开启媒体转发作为备用线路。
    - Piik App 支持本地房间、临时公网邀请和已有站点。
    - Piik Server 内置网页界面、房间管理和连接服务,方便自行部署。
    - 提供中英文界面与使用指南,以及 GitHub、Gitee 两条下载线路。
    
    [官网](https://piik.tv) · [在线体验](https://demo.piik.tv) · [使用指南](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/getting-started.zh-CN.md) · [自行部署](https://github.com/TNTcraftHIM/Piik/blob/main/docs/operations/self-hosting.zh-CN.md) · [Gitee 下载](https://gitee.com/TNTcraftHIM/Piik/releases)
    
    Windows App 和桌面浏览器是本次主要验证的平台。macOS 和 Linux 尚未经过实机测试,欢迎有设备的朋友测试并反馈。演示站和 App 公网邀请使用 P2P,受限网络下可能无法连接;自托管站点可开启媒体转发。
    
    ### English
    
    Piik is free, open-source screen sharing for you and up to 20 viewers. Start a room, send an invitation, and your friends can join in a browser.
    
    - Share games, windows or a whole screen from your browser or Piik App.
    - Direct connections come first, with optional media forwarding on self-hosted sites.
    - Piik App supports local rooms, temporary public invitations and existing sites.
    - Piik Server includes the web interface, rooms and connection services for self-hosting.
    - English and Chinese interfaces and guides are available, with GitHub and Gitee downloads.
    
    [Website](https://piik.tv) · [Online demo](https://demo.piik.tv) · [User guide](https://github.com/TNTcraftHIM/Piik/blob/main/docs/guide/getting-started.md) · [Self-hosting](https://github.com/TNTcraftHIM/Piik/blob/main/docs/operations/self-hosting.md) · [Gitee downloads](https://gitee.com/TNTcraftHIM/Piik/releases)
    
    Windows App and desktop browsers are the primary validated paths. macOS and Linux have not yet been tested on physical devices; testing and feedback are welcome. The demo and App public invitations rely on P2P and may not connect on restrictive networks. Self-hosted sites can enable media forwarding.