Skip to content

feat(web): add installable app manifests#652

Merged
stackia merged 1 commit into
mainfrom
codex/pwa-manifests
Jul 11, 2026
Merged

feat(web): add installable app manifests#652
stackia merged 1 commit into
mainfrom
codex/pwa-manifests

Conversation

@stackia

@stackia stackia commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • serve dynamic, localized Web App Manifests for the status panel and web player
  • derive app entry URLs from the configured path prefix, page paths, and optional authentication token
  • add PWA metadata and 192px/512px icons, and update the related documentation and packaging references
  • cover default, prefixed, authenticated, root-path, and configuration-reload behavior with E2E tests

Validation

  • pnpm run lint
  • pnpm run web-ui:build
  • cmake --build build -j$(getconf _NPROCESSORS_ONLN)
  • pnpm run docs:build
  • ./scripts/run-e2e.sh -p 1 test_pages.py
  • ./scripts/run-e2e.sh -p 1 test_auth.py
  • E2E collection: 509 tests

@stackia stackia marked this pull request as ready for review July 11, 2026 22:01
@stackia stackia requested a review from Copilot July 11, 2026 22:01
@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview

The documentation preview has been deployed for this pull request.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds installable PWA support for the embedded status panel and web player by introducing Web App Manifests and updated icon metadata, with corresponding routing and E2E coverage.

Changes:

  • Add manifest/icon/metadata links to status.html and player.html for installability.
  • Implement dynamic manifest generation/serving in the embedded web handler and route /status.webmanifest + /player.webmanifest in the connection router.
  • Update packaging/docs references and add E2E tests covering prefixes, auth, root-path normalization, and config reload.

Reviewed changes

Copilot reviewed 10 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
web-ui/status.html Adds manifest link + updated app/icon metadata for status page installability.
web-ui/player.html Adds manifest link + updated app/icon metadata for player page installability.
src/embedded_web.h Declares the new manifest handler API for embedded web.
src/embedded_web.c Generates and serves Web App Manifest JSON dynamically (prefix/path/token aware).
src/connection.c Routes manifest endpoints to the new handler.
scripts/build-ikuai-ipkg.sh Updates packaged icon reference to the new 192px icon.
README.md Updates README icon reference to the new 192px icon.
e2e/test_pages.py Adds E2E coverage for manifest content, icons, prefixing, auth, root paths, and reload behavior.
docs/guide/web-player.md Updates Chinese docs to reflect the new default installed-app name.
docs/en/guide/web-player.md Updates English docs to reflect the new default installed-app name.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/embedded_web.c
@stackia stackia merged commit e036795 into main Jul 11, 2026
12 checks passed
@stackia stackia deleted the codex/pwa-manifests branch July 11, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants