Skip to content

Add 'Ctrl+Alt+Delete' Button to KVM Page #2491

@rsdmike

Description

@rsdmike

🏆 Hackathon Task: Add "Ctrl+Alt+Delete" Button to KVM Page

🔹 Overview

The KVM (Keyboard-Video-Mouse) page in sample-web-ui allows users to remotely control AMT-managed devices. To enhance usability, we need to add a "Ctrl+Alt+Delete" button that sends this key combination to the remote machine, allowing users to unlock Windows devices or access login screens.

🎯 Task Scope

  • Step 1: Add a new button labeled "Send Ctrl+Alt+Del" to the KVM page UI.
  • Step 2: Implement the logic to send the Ctrl+Alt+Delete keystroke combination to the remote session.
  • Step 3: Ensure the command is properly handled by AMT's KVM redirection feature.
  • Step 4: Update UI styling to match existing buttons in the KVM page.
  • Step 5: Validate that the button works correctly when tested on a real or virtual AMT device.
  • Step 6: Add unit tests to verify button interaction and event handling.

📂 Relevant Files

  • src/app/modules/kvm/kvm.component.html (UI changes)
  • src/app/modules/kvm/kvm.component.ts (logic to send keystrokes)
  • src/app/services/kvm.service.ts (may require updates)

💻 Technical Details

  • The button should trigger the Ctrl+Alt+Del key sequence through AMT’s KVM session.
  • Likely uses the KVM web socket interface to send the key event.
  • Follow existing UI and UX patterns for consistency.
  • Ensure accessibility (ARIA labels, proper contrast, focus behavior).
  • Unit tests should mock KVM interactions and verify key event handling.

Acceptance Criteria

  • A "Send Ctrl+Alt+Del" button is added to the KVM page.
  • Clicking the button successfully sends the key combination to the remote session.
  • Styling is consistent with the rest of the UI.
  • No console errors or performance issues.
  • Unit tests cover button behavior and keystroke sending logic.
  • A Pull Request (PR) is submitted with a clear summary of changes.

🚀 How to Get Started

  1. Comment below to claim this issue.
  2. Fork the repo and create a branch (e.g., feature/kvm-ctrl-alt-del).
  3. Implement the feature following the outlined scope.
  4. Submit a Pull Request (PR) linking this issue.

📎 Additional Notes

  • If you encounter issues sending the keystrokes, document findings in the PR.
  • Review existing KVM event handling code for best integration.
  • Test with an actual AMT-managed device if possible.
  • Unlikely that the ui-toolkit core will need to be modified, but we have not looked to confirm that this is the case. If modifications are necessary, then please raise PR as necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions