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

Display List of Available Gist On Connected User Account #308

Closed
shanalikhan opened this issue Apr 29, 2017 · 4 comments
Closed

Display List of Available Gist On Connected User Account #308

shanalikhan opened this issue Apr 29, 2017 · 4 comments

Comments

@shanalikhan
Copy link
Owner

shanalikhan commented Apr 29, 2017

Originally from #261 (comment)

Showing List of Available GIST on Upload / Download

Upload

When user add token and hit upload. There will be two cases.

If the gist id is already added, it will upload to that gist.
If gist id not added in extension settings, it will scan all the gist and show a list with gist description SORTED BY last updated date only.

Download

Similarly when user download the settings.

Two scenarios, if gist ID is added in settings it will download from that settings and if not added, it will scan user gist same with gist description and sorted by last updated gist in a list AND OTHER option to download other user gist by providing the ID.

Hot Switch
Hot switch will be used when you want have the one code settings dev environment and you want another, This option will be added in the advance command in extension and will show Download like behaviour and you can switch to other Gist ( or other dev environment )

User wont be able to see list by its gist id or file name but with last updated gist date and gist description.

@shanalikhan
Copy link
Owner Author

shanalikhan commented Oct 26, 2018

@ioprotium
This issue was created when we didn't have host in Settings Sync.

As you have implemented the feature.
Dont you think by adding providing the "Environment Hot Switch" option in the advanced menu we can show the user the available hosts in the settings.json to select from. Like home and office. The command should change the host on Settings Sync Global Settings to the selected one and just hit the normal download process and all things will be automatically switched.

After changing the host, we need to execute the command like this:

.executeCommand("extension.downloadSettings")

Thoughts?

@protiumx
Copy link
Contributor

I think downloading the settings again wont be necessary. We just filter the settings for the new host value and write it to the disk.
I was thinking that the host settings should create a separated gist to save all the settings (extensions, keyboard, etc) on it, that will allow the user to replicate the entire environment from another machine, not only the vs settings. I read a feature request for adding git repository support, each host could be a branch and master branch could be the default settings user wants in every fresh install. It would be better if you publish this ideas on slack or a community with active users of this extension.

@shanalikhan
Copy link
Owner Author

Instead of hot switch in same env.
New idea explained on #936

Displaying the list will be shipped on v3.4.0

@shanalikhan shanalikhan modified the milestones: Backlog, v3.4.0 Jul 2, 2019
@shanalikhan
Copy link
Owner Author

Duplicate of #506

@shanalikhan shanalikhan marked this as a duplicate of #506 Jul 11, 2019
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