Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

@shana
Copy link
Contributor

@shana shana commented Jan 13, 2016

Pulling in #156 to a staging branch

This needs:

This adds support for creating gists from selected text. It pops up a dialog to add filename and description to the gist (see #156 (comment))

Right now, popping up a dialog is easier because it integrates straight into our authentication flow, but I'm wondering if in the long term we want this on a side pane instead of a dialog, so it doesn't obscure the text and integrates more naturally with VS. Thoughts?

George Bearden added 30 commits November 24, 2015 22:58
…eation on the web with dedicated public/private create buttons.
Bump version to 1.0.15.6
If we want to get really fancy, we could prob get what the extension of
the file is we are creating the gist from and set that as the default.
I need to check the VS API to see what we can get.
shana and others added 19 commits May 24, 2016 22:07
Previously, if an exception occurred while logging in to an account that
has previously been logged in, then an AccountCacheItem was read from
the cache and that was used. This meant we couldn't check the response's
scopes for gist support.
This way we only need to make 1 request at login.
Now unit tests pass!
Always open gist on successful creation.
So we can use it with other features, if needed
Read scopes at the same time as User.
@shana shana removed the WIP label Jun 3, 2016
@shana shana changed the title [WIP] Feature: Gist support Feature: Gist support Jun 3, 2016
@shana shana merged commit 69ff01a into master Jun 6, 2016
@shana shana deleted the feature/gist-support branch June 6, 2016 10:01
@haacked
Copy link
Contributor

haacked commented Jun 6, 2016

selfie-0
GitHub Selfies

@shana shana added this to the 1.0.99.6 milestone Jun 6, 2016
@shana
Copy link
Contributor Author

shana commented Jun 6, 2016

Yes this totally deserves a ton of gifs!

@georgebearden Thank you SO MUCH for taking this on, and I'm so sorry it took so long to land this! I'll be putting up an alpha build of what is going to be 2.0 (or 1.1, haven't decided yet) in the releases page which includes the gist support.

thank-you

thumbs-up

rejoice

@shana
Copy link
Contributor Author

shana commented Jun 6, 2016

Note: Issue is #39

@georgebearden
Copy link

yay! Gonna have to tackle something a little smaller next time 😄 Great work @shana and @grokys on finishing this up and excited to start using it!

@shana
Copy link
Contributor Author

shana commented Jun 6, 2016

It would have been small if it wasn't for that silly little token scope detail... that made it really bad! 😞

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants