Skip to content

Add build export compliance management#10

Merged
trmquang93 merged 1 commit intomainfrom
feature/build-compliance-management
Apr 8, 2026
Merged

Add build export compliance management#10
trmquang93 merged 1 commit intomainfrom
feature/build-compliance-management

Conversation

@trmquang93
Copy link
Copy Markdown
Contributor

Summary

  • Add ability to view and manage export compliance (encryption declarations) for builds directly from the dashboard
  • Builds list now shows compliance state (Missing Compliance badge) fetched via ASC API include=appEncryptionDeclaration
  • New two-step compliance modal matching App Store Connect UX: encryption yes/no, then algorithm type selection
  • Backend routes for fetching and updating encryption declarations via ASC API v2

Changes

Backend (server/routes/apps.js):

  • Updated GET /:appId/builds to include appEncryptionDeclaration relationship data
  • Added GET /:appId/builds/:buildId/encryptionDeclaration route
  • Added PATCH /:appId/builds/:buildId/encryptionDeclaration route

Frontend:

  • New BuildComplianceModal.jsx component with two-step encryption declaration flow
  • BuildSelector.jsx -- orange "Missing Compliance" warning + "Manage" link on attached build
  • BuildSelectorModal.jsx -- compliance badge pills on build rows
  • VersionDetailPage.jsx -- wires compliance modal state and refresh

Test plan

  • Navigate to an app version with a build showing "Missing Compliance"
  • Verify the orange badge and "Manage" link appear on the selected build
  • Click "Manage" and verify the modal opens with encryption question
  • Test "No" flow -- should save immediately and clear the missing compliance state
  • Test "Yes" flow -- should show algorithm type selection, then save
  • Verify compliance badges also appear in the build selector modal
  • Verify builds list refreshes after successful declaration

Support viewing and updating encryption declarations for builds
directly from the dashboard, matching the App Store Connect flow.
Two-step modal: encryption yes/no, then algorithm type selection.
@trmquang93 trmquang93 merged commit 99a1cd6 into main Apr 8, 2026
@github-actions github-actions bot deleted the feature/build-compliance-management branch April 8, 2026 08:59
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