microsoft / microsoft/pai

Add a copy button to copy the SSH shell command

Open
#5,261 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
2.7k
Forks
554
Avg merge
20h 42m
Merged PRs (30d)
14

Description

What would you like to be added:
Add a copy button in job detail page to copy the SSH shell command

Why is this needed:
More easy to copy the SSH command.
image

Without this feature, how does the current module work:
In current job detail page, user need 3 step to copy the SSH command:

  1. click SSH Info button
  2. Select the command
  3. Right click to copy / press Ctrl + C

Components that may involve changes:
Need a new button in TaskRole table

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the job detail page and locate the TaskRole table and its SSH Info flow. Inspect how the SSH shell command is displayed, then add the requested copy interaction. Done means users can copy the command from the job detail page without selecting it manually; verify the behavior in the relevant UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.