Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Bot that comments on PR saying things like "10,000 people have viewed this" #15

Open
QuincyLarson opened this issue Nov 20, 2017 · 4 comments
Labels

Comments

@QuincyLarson
Copy link

No description provided.

@TheHollidayInn
Copy link

Should this be an integration with Github? Where we track views of a PR on from Github or is there a plan to show PR s in the news site?

@QuincyLarson
Copy link
Author

@TheHollidayInn I don't think many people will view the GitHub PR itself. I just thought GitHub would be a reliable place to notify contributors that their piece had been viewed a certain number of times. The views will be of the story itself, on news.freecodecamp.org.

@TheHollidayInn
Copy link

Ah, I think I see what you mean. So the story is:

  1. a user contributes an article via this github repo
  2. a bot listens to listen events from news.freecodecamp.org
  3. when a listen count gets to a certain point, post in the PR that the user contributed

Does that sound correct?

@QuincyLarson
Copy link
Author

@TheHollidayInn Yes - that sounds accurate!

There are a few things that we would probably need to build first, so I think this is some functionality we could add later. I'd hate for us build this out and then discover that an architecture change downstream undid our work on it. So I think we should add the "blocked" tag for now, and we can tackle this one later.

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

No branches or pull requests

2 participants