Provide way to copy a link to a comment for drupal.org issue link filter #23
Comments
Auto-completion on the URL will turn it into The problem with In order to retrieve
Alternatively, of course, there's the still relatively new JSON representation for issues on drupal.org, which might make things easier. But off-hand, I don't know whether that contains the relative comment counter for each comment. |
I'm not asking for auto-parsing. I'm asking for a link that exactly has |
To clarify, I never usually expect to just know the issue and comment I want to reference. I have that issue and comment open, and want to copy-paste a link from that comment itself into a new issue. |
Oh! That makes a lot of sense. Thanks for clarifying! AFAIK, HTML5 enabled clipboard access - can we leverage that? (FWIW, there has been a closely related issue in the drupal.org issue queue) |
+1 on that, also I'd like to point that when issue have more then 1 page the link to comment id broken (as all d7 have) - no page added to permalink |
Leverage HTML 5 clipboard on left click sound good? FWIW, I still like the idea of (and think it may be necessary) to use project issue JSON to get the comment number for autocompletion detection of the full comment url (https://drupal.org/node/000000#comment-00000000). Instead of just relying solely on using the clipboard to copy [#000000-0] when clicking on a comment link (ie: think of other sites or docs that may contain links you want to copy over). |
This may perhaps be a separate issue, but closely related. I think issue autocompletion should automatically append the |
Some research results: zeroclipboard/zeroclipboard#171 intends to update the library to utilize the scriptable copy event that has been added to the Clipboard API spec. Two interesting gists: |
Wouldn't it make even more sense to put a converter from pasted url's to proper issue links directly into the responsible drupal module? Project, or issue...? |
Dreditor is being decommissioned due to the lack of availability of current maintainers and the fact that Drupal.org is becoming more feature rich at a much faster rate than Dreditor itself now. This decision was also partially made due to the amount of work (complete rewrite) it would take to create an "official" Firefox extension (#256). If you already have the extension installed, it should continue working for a while until, inevitably, the markup on Drupal.org changes. It will no longer be updated. We understand that many of you love this extension, as do we. This isn't the end, in fact, it's a much brighter beginning. All the things we love about Dreditor can, and should, be moved into Drupal.org natively. For more information, please follow: https://www.drupal.org/node/2779729 |
This issue was moved to dreditor/dreditor#49 |
I always have to copy-paste the link to a comment like https://drupal.org/node/2022535#comment-7903865 and have to manually convert it to [#2022535-4]. It would be nice if Dreditor could provide me a way to copy this pre-converted to use with the Drupal.org issue-linking filter.
The text was updated successfully, but these errors were encountered: