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

hello there #4

Open
rstacruz opened this issue Dec 22, 2015 · 4 comments
Open

hello there #4

rstacruz opened this issue Dec 22, 2015 · 4 comments

Comments

@rstacruz
Copy link

just trying it out.

@pwmckenna
Copy link
Owner

I was curious if this would happen :) Mind leaving this open? I'm going to experiment with showing comments on posts.

@rstacruz
Copy link
Author

sure.

got an idea: you should mark issues as published and query by that instead. non-repo collaborators can't add labels. also, this lets you create drafts.

that is:

https://api.github.com/repos/{repo}/issues?labels=published

Edit: pwmckenna was here

@pwmckenna
Copy link
Owner

that would definitely work. i'm also trying to deal with the fact that anyone can edit anyone elses comments (notice my small edit above). And....I just got rate limited by github so development is done for the hour :(

@rstacruz
Copy link
Author

window.localStorage.githubToken = '...';

...then pass along as

$.ajax(
  { headers:
    { access_token: 'token ' + localStorage.githubToken } })

;)

@pwmckenna pwmckenna added the til label Jan 4, 2016
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

2 participants