Skip to content

fix(review): correct controls, approval inheritance, and error feedback - #3172

Merged
bobleer merged 6 commits into
GCWing:mainfrom
guantw:fix/review-shared-behavior
Sep 21, 2026
Merged

bobleer merged 6 commits into
GCWing:mainfrom
guantw:fix/review-shared-behavior

Conversation

@guantw

@guantw guantw commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix review controls, permission inheritance, and failure presentation:

  • Keep remediation plans expanded or collapsed when selecting all findings.
  • Show report export controls during a running review, disabled until report data is available.
  • Refresh review-session approval settings from the parent before submission, including after backend session recreation.
  • Let session search shrink within narrow panels.
  • Localize review failures while retaining complete diagnostics and specific launch-error reasons. Distinguish unavailable Git from invalid workspace paths and preserve repository-trust recovery.

Type and Areas

Bug fix: Web UI, desktop/Tauri, and review-platform services.

Verification

  • Focused Web UI suite: 14 files, 171 tests passed, covering review controls, exports, permission inheritance, submission, errors, trust recovery, and session search.
  • cargo test --locked -p openbitfun-services-integrations --no-default-features --features review-platform --lib review_platform: 128 passed; 2 external-network smoke tests ignored by default.
  • cargo test --locked -p openbitfun-desktop --lib --no-run --message-format=json: passed. The api::review_platform_api::tests:: filter passed all 4 tests on a temporary executable copy with the existing desktop manifest embedded using Windows SDK mt.exe, as documented in the desktop guide.
  • pnpm run check:web, pnpm run i18n:audit, pnpm run check:build-prereqs, and git diff --check: passed.

Validation was local on Windows. Live remote-workspace, remote-control, Peer Device, and Detached Dispatch scenarios were not exercised; transport wrappers and remote permission routing were covered with test fixtures. No installer or live UI validation was performed.

Checklist

  • Changes contain no unrelated artifacts or generated scratch files.
  • Relevant verification and its limits are recorded above.
  • User-facing translations are updated for the supported locales.

Stop select-all checkbox clicks from toggling the remediation list. Cover selection and title clicks with the real checkbox in expanded and collapsed states.
Show copy and save controls while a review is running. Disable report actions until report data arrives, then enable the existing export flow.
Refresh review session permission settings from the parent before each submission and after backend session recreation. Clear inherited overrides when the parent returns to its default and retain surface ownership checks.
Allow the search action group to shrink with the session panel and replace the narrow-window minimum width with a preferred width. Preserve the existing scene chrome and search result layout.
Show localized summaries for review action failures while retaining complete diagnostic text and structured launch error reasons. Preserve raw failure metadata in notifications and keep error details separate from the compact status header.
Classify a missing Git executable separately from invalid workspace paths. Expose stable failure codes and translate review panel errors while retaining the existing repository trust recovery flow.
@guantw
guantw force-pushed the fix/review-shared-behavior branch from a1babc5 to ec89f7e Compare September 21, 2026 09:45
@bobleer
bobleer merged commit 2c2cb90 into GCWing:main Sep 21, 2026
13 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.

2 participants