feat(devices): add remote platform erase support#3206
Draft
Conversation
c7091b5 to
cf0fa97
Compare
nmgaston
commented
Mar 18, 2026
58e08ae to
9afb33d
Compare
bb235c9 to
c88557f
Compare
239f12e to
65d343e
Compare
- New RemotePlatformEraseComponent with capability checkboxes, bitmask parsing, confirmation dialog, warning banners, and progress indicator - Unconfigure CSME is mutually exclusive: selecting it disables all other capability checkboxes with an inline explanatory message - DevicesService: adds sendRemotePlatformErase(); renames enableRPE to platformEraseEnabled to align with updated MPS API - DeviceDetailComponent: adds Remote Platform Erase nav item and route - models.ts: updates AMTFeaturesResponse/AMTFeaturesRequest types - i18n: translation keys for all strings across all 12 supported locales - Cypress E2E tests covering all key user flows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
What are you changing?
Adds a Remote Platform Erase feature to the device detail view, allowing users to remotely wipe a managed AMT device.
RemotePlatformEraseComponent(src/app/devices/remote-platform-erase/) with:platformEraseEnabledAMT feature via the existing AMT features APIrpeCapsAreYouSureDialogComponent) before initiating an erasemat-progress-barDevicesService: addssendRemotePlatformErase(deviceId, eraseMask)callingPOST /api/v1/amt/remoteErase/:deviceId; renamesenableRPE→platformEraseEnabledin the AMT features request body to align with the updated MPS API (see associated PRs)DeviceDetailComponent: adds "Remote Platform Erase" nav item (phonelink_eraseicon) and routes to the new componentmodels.ts: updatesAMTFeaturesResponse/AMTFeaturesRequesttypes to reflect the renamed field and new response propertiesAnything the reviewer should know when reviewing this PR?
eraseMaskis a bitmask integer; the constants and bit definitions live inremote-platform-erase.constants.ts.Associated PRs