Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Port label link logic to the API #190

Open
jlengstorf opened this issue Nov 29, 2018 · 3 comments
Open

Port label link logic to the API #190

jlengstorf opened this issue Nov 29, 2018 · 3 comments
Labels
not stale Prevents @gatsbot from closing issues.

Comments

@jlengstorf
Copy link
Contributor

Right now the label links are generated in the UI. The GraphQL API should do this work.

const formatLabelUrl = url => {
const urlParts = url.split('/');
const organization = urlParts[4];
const repository = urlParts[5];
const label = urlParts.slice(-1)[0];
return `https://github.com/${organization}/${repository}/issues?q=is%3Aissue+is%3Aopen+label%3A%22${label}%22`;
};

@gatsbot
Copy link

gatsbot bot commented Feb 3, 2019

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.

If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!

Thanks for being a part of the Gatsby community! 💪💜

@gatsbot gatsbot bot added the stale? label Feb 3, 2019
@jlengstorf jlengstorf added not stale Prevents @gatsbot from closing issues. and removed stale? labels Feb 6, 2019
@ShadowCoder914
Copy link

Hi~ Keep this issue open I'm working on it.

@gagandeepp
Copy link

Hi~ Keep this issue open I'm working on it.

Are you still working on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
not stale Prevents @gatsbot from closing issues.
Projects
None yet
Development

No branches or pull requests

3 participants