vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Enable text selection on issue number links in issue view

Open Copilot opened this issue 2 months ago • 0 comments

Issue number links in the issue view header were not selectable, preventing users from copying the link text directly.

Changes

  • Added user-select: text to .overview-title h2 a in webviews/editorWebview/index.css

This enables text selection on the issue number link (e.g., #123) while preserving the existing "Copy Link" button functionality.

Original prompt

This section details on the original issue you should resolve

<issue_title>Links in issue view should be copyable</issue_title> <issue_description> Type: Bug

The link to issue in the issue editor is not copyable.

https://github.com/user-attachments/assets/b54461de-9b5a-47a5-9326-480eec1066c7

Extension version: 0.109.2025042104 VS Code version: Code - Insiders 1.100.0-insider (ef9b85d17a8cb56ce84b2b36f352598454861620, 2025-04-21T05:37:46.564Z) OS version: Windows_NT x64 10.0.26100 Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 1498)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.60GB (10.87GB free)
Process Argv --log trace --log ms-python.python=info --crash-reporter-id 4fb1ebc1-cf4c-4880-a88a-47738ec3768d
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vsc_aacf:30263846
pythonvspyt551:31249597
vscod805cf:30301675
c4g48928:30535728
vscrpc:30624061
a9j8j154:30646983
962ge761:30841072
dsvsc014:30777825
dsvsc015:30821418
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
dwnewjupytercf:31046870
pythonrstrctxt:31093868
nativeloc1:31118317
e80f6927:31120813
dwcopilot:31158714
5b1c1929:31184661
471b6256:31240254
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
g012b348:31231168
cp15370_c:31280196
pythoneinst12:31251391
treesitterini:31278752
bgtreat:31252123
c7cif404:31283753
563cc122:31251109
31787653:31262186
3e8i5726:31271747
pythonpulldiag:31287486
6gi0g917:31259950
editoredits36407:31282444
996jf627:31264550
pythonrdcb7:31268811
usemplatestapi:31288272
gh9da704:31280609
747dc170:31275146
g20af354:31278749
pylancecolor:31288664
generatesymbolt:31280541
convertfstringf:31280702
gendocf:31280703

Comments on the Issue (you are @copilot in this section)

@alexr00 This is why we have a "Copy link" button! @karthiknadig I did not see that thing until you mentioned it. But the copy should work.
  • Fixes microsoft/vscode-pull-request-github#6801

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot avatar Dec 10 '25 15:12 Copilot