Skip to content

feat(miniapp): add built-in PR review inbox#742

Merged
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/miniapp-pr-review-plan
May 15, 2026
Merged

feat(miniapp): add built-in PR review inbox#742
limityan merged 1 commit into
GCWing:mainfrom
limityan:yanzhn/miniapp-pr-review-plan

Conversation

@limityan
Copy link
Copy Markdown
Collaborator

Summary

  • Adds the PR Review Inbox as a built-in MiniApp with GitHub/GitCode-compatible repository watching, direct PR opening, review queue sync, AI draft generation, manual comments, and guarded publish flow.
  • Exposes the small host capabilities the MiniApp needs through the MiniApp bridge, including external URL opening, system notifications, host primitive calls, and storage support for node-disabled built-ins.
  • Improves MiniApp reseeding with asset-hash detection, keeps user storage/customizations safe, and redacts sensitive token-like values from frontend API logs.
  • Polishes the PR Review UI for theme consistency, clearer PR metadata, review progress visibility, clickable file targets, and smoother middle/right-column scrolling.

Validation

  • node --check src\crates\core\src\miniapp\builtin\assets\pr-review\ui.js
  • cargo test -p bitfun-core builtin
  • pnpm run lint:web
  • pnpm run type-check:web
  • pnpm --dir src/web-ui run test:run
  • cargo check --workspace
  • cargo test --workspace

Notes

  • The branch was rebased onto latest GCWing/BitFun main before opening the PR.
  • Sensitive session tokens remain memory-only in the MiniApp and are not persisted or logged.

@limityan limityan marked this pull request as ready for review May 15, 2026 12:38
@limityan limityan merged commit d821c14 into GCWing:main May 15, 2026
4 checks passed
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.

1 participant