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

Allow adding comments from Gistlog (without visiting gists UI) #7

Closed
mattstauffer opened this issue Jan 30, 2015 · 11 comments
Closed

Comments

@mattstauffer
Copy link
Member

No description provided.

@rtablada
Copy link

Are you thinking to have some sort of medium style in-line comments?

@mattstauffer
Copy link
Member Author

Not for now--I really just mean "Allow for the ability to add, not just view, Github's native comments directly from Gistlog."

Great question; updating title.

@mattstauffer mattstauffer changed the title Allow for commenting inline (?) Allow adding comments from Gistlog (without visiting gists UI) Feb 23, 2015
@raine
Copy link

raine commented May 22, 2015

For the time being, just a link to gist.github.com that says "Comment on GitHub" would be nice?

Great job with gistlog, by the way, the posts look amazing.

@JacobBennett
Copy link
Contributor

hey @mattstauffer I was thinking of trying to implement this with Socialite for login to the gistlog app, then use Vue.js to build out a comment form. Thoughts before I start in on this?

@mattstauffer
Copy link
Member Author

@JacobBennett Yah, optional Socialite login would be great. The flow of how/when/etc. for authorization is going to be interesting, so I'm very interested to see what you do for that. :)

RE: Vue... is there any reason to do it VueJS rather than just good ol' plain ol' HTML/CSS? If there's a particular user flow that you want to work on, for sure, but if it's just going to submit like any old page, it sounds like a lot of extra work for no benefit. But again, if you have a particular concept that Vue could make possible, I'm 100% for it!

@JacobBennett
Copy link
Contributor

@mattstauffer I need to figure out the flow for the Socialite login is as well I suppose. I guess I was under the impression that in order to post comments you had to be logged in through GitHub. I'm not positive if that is the case or not.

Secondly, in regards to Vue, I have been looking for a reason to use it, and an asynchronous comment box seems like the ticket on this. Add the comment as soon as they press submit, and send the update to GitHub via ajax.

Maybe on the first pass I'll do it using straight up HTML/CSS as a MVP but would like to see it be all fancy 👍

@mattstauffer
Copy link
Member Author

@JacobBennett I meant optional only that I want non-logged-in-users to have a first class reading experience, so we should make the log in flow be only at comment-leaving time for now. :)

Haha, that sounds fine--my concern with Vue would be auth + CORS + GitHub being a huge pain... which means you're really going to be doing Vue -> ajax -> gist log servers -> github sdk -> github.. which is a lot. So yah.. if I were you, I'd get it working sans Vue first, then do a Vue version second. Will save you some pain IMHO :)

@JacobBennett
Copy link
Contributor

@mattstauffer agreed about the reading experience, will look similar to how it looks for someone on a gist that isn't logged in.

image

The user would be able to read comments without being logged in, but upon wanting to comment would be prompted for authorization. Would use Socialite to create a user with a remember token and a login forever sort of deal on Gistlog, or until the token expires.

@mattstauffer
Copy link
Member Author

Fantastic. Check out out Giscus does it; really similar flow.

On Sat, Aug 15, 2015 at 10:42 PM, Jacob Bennett notifications@github.com
wrote:

@mattstauffer https://github.com/mattstauffer agreed about the reading
experience, will look similar to how it looks for someone on a gist that
isn't logged in.

[image: image]
https://cloud.githubusercontent.com/assets/1517011/9291729/406afd3c-4396-11e5-9a26-659db5e7b57a.png

The user would be able to read comments without being logged in, but upon
wanting to comment would be prompted for authorization. Would use Socialite
to create a user with a remember token and a login forever sort of deal on
Gistlog, or until the token expires.


Reply to this email directly or view it on GitHub
#7 (comment).

Matt Stauffer
Partner + Technical Director
Tighten Co.
352-682-2765

@JacobBennett
Copy link
Contributor

@mattstauffer Got Github Auth and comments on Gists working last night. Cleaning up code and starting in on UI. Excited to add this feature!

@mattstauffer
Copy link
Member Author

Woo! Can't wait to see it!

On Mon, Aug 17, 2015 at 9:17 AM, Jacob Bennett notifications@github.com
wrote:

@mattstauffer https://github.com/mattstauffer Got Github Auth and
comments on Gists working last night. Cleaning up code and starting in on
UI. Excited to add this feature!


Reply to this email directly or view it on GitHub
#7 (comment).

Matt Stauffer
Partner + Technical Director
Tighten Co.
352-682-2765

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