Skip to content

Add Copy Command Label to Keyboard Shortcuts. - #125563

Merged
Sandeep Somavarapu (sandy081) merged 1 commit into
microsoft:mainfrom
timfenney:add-copy-command-label-fixes-issue-125092
Jul 6, 2021
Merged

Add Copy Command Label to Keyboard Shortcuts.#125563
Sandeep Somavarapu (sandy081) merged 1 commit into
microsoft:mainfrom
timfenney:add-copy-command-label-fixes-issue-125092

Conversation

@timfenney

@timfenney Tim Fenney (timfenney) commented Jun 4, 2021

Copy link
Copy Markdown

This PR fixes #125092.

@ghost

Deleted user (ghost) commented Jun 4, 2021

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

@timfenney
Tim Fenney (timfenney) force-pushed the add-copy-command-label-fixes-issue-125092 branch from 1d049c3 to 2e5bf7e Compare June 4, 2021 22:55
@timfenney

Copy link
Copy Markdown
Author

Sandeep Somavarapu (@sandy081) did you get time to take a l:eyes:k at this yet?

@sandy081

Copy link
Copy Markdown
Member

Instead of context menu can you please make the text selectable?

@timfenney

Tim Fenney (timfenney) commented Jun 9, 2021

Copy link
Copy Markdown
Author

Instead of context menu can you please make the text selectable?

It is a good idea! What way should it be selectable? The UI already allows:

  • single click to select row
  • double click to add keyboard shortcut

...for this reason, I am not sure what is a good UX here. What do you think Sandeep Somavarapu (@sandy081) 🤔 ?

Also, we have 2 ways of copying aspects of the command via context menu already. Is it orthogonal to have a 3rd way of copying something from the command somewhere else?

Alternatively, what do you think of adding a copy button? I am not sure it belongs in the action buttons at the beginning of the row, but could go inside the td with the label.

alt text
alt text

@sandy081

Copy link
Copy Markdown
Member

Please ignore my previous comment. After thinking more I felt initial approach of providing the copy command in the context menu makes sense. Please let me know if the changes with context menu option are ready for review.

@timfenney

Copy link
Copy Markdown
Author

Sandeep Somavarapu (@sandy081) it is ready for review 👍

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sandy081
Sandeep Somavarapu (sandy081) merged commit 9f1f2d8 into microsoft:main Jul 6, 2021
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FR] Copy Command Title

2 participants