Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: link syntax for external issues #1532

Open
inexorabletash opened this issue Sep 27, 2019 · 6 comments
Open

Feature Request: link syntax for external issues #1532

inexorabletash opened this issue Sep 27, 2019 · 6 comments

Comments

@inexorabletash
Copy link

Use case:

In IndexedDB's Revision History section, we link to bugs that tracked changes, e.g.:

* Added {{IDBFactory/databases()}} method. ([Issue #31](https://github.com/w3c/IndexedDB/issues/31))
* Added {{IDBTransaction/commit()}} method. ([Issue #234](https://github.com/w3c/IndexedDB/issues/234))

Note that the numbers are repeated in the link text and url. This leads to frequent mis-linking because humans are squishy.

Bikeshed already has the context to link to the issue tracker, so given an appropriate grawlix around an issue number it could generate the hyperlink automagically.

Low priority. This may be too niche to matter.

@tabatkins
Copy link
Collaborator

If a repository has been detected or specified, Issue(123): Inline summary here already works 😀 There's another metadata that determines whether it outputs your summary + a link, it goes and fetched the first comment from the issue.

@tabatkins
Copy link
Collaborator

Does this satisfy your use-case?

@inexorabletash
Copy link
Author

Issue(123): ... is rendered as a big scary block (at least, with the default stylesheet), whereas my use case is just for a simple link (see the revision history link). So... not really.

But it's a really low priority, probably one-off use case if no one else has asked; I'm fine with "won't fix"

@hober
Copy link
Contributor

hober commented Oct 4, 2020

Bumping this. I would love to be able to refer to issues in other repositories with GFM syntax, so e.g. https://github.com/privacycg/storage-partitioning/issues/16 could be written privacycg/storage-partitioning#16

@svgeesus
Copy link
Contributor

svgeesus commented Feb 9, 2021

There's another metadata that determines whether it outputs your summary + a link, it goes and fetched the first comment from the issue.

I know I have seen that in use, but I can't find it in the bikeshed documentation and I can't find an example by browsing the CSS repo.

@svgeesus
Copy link
Contributor

svgeesus commented Feb 9, 2021

Okay, it is

Inline Github Issues: title

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants