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

Export and import user profiles #146729

Closed
3 tasks done
sandy081 opened this issue Apr 4, 2022 · 7 comments
Closed
3 tasks done

Export and import user profiles #146729

sandy081 opened this issue Apr 4, 2022 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality on-testplan user-profiles User profile management
Milestone

Comments

@sandy081
Copy link
Member

sandy081 commented Apr 4, 2022

Initial profile support for settings, extensions, activity bar, views, view container, status bar

  • Support to export a profile from the current workbench
  • Support to import a profile from a file/URL
  • Enable profile support in the storage service
@sandy081 sandy081 added feature-request Request for new features or functionality user-profiles User profile management labels Apr 4, 2022
@sandy081 sandy081 added this to the April 2022 milestone Apr 4, 2022
bpasero added a commit that referenced this issue Apr 12, 2022
@bpasero
Copy link
Member

bpasero commented Apr 12, 2022

I pushed a new StorageTarget.PROFILE to branch issue/146729. Not sure about the name, but we can always change it.

@bpasero bpasero modified the milestones: April 2022, May 2022 Apr 22, 2022
@sandy081 sandy081 modified the milestones: May 2022, April 2022 Apr 22, 2022
@sandy081
Copy link
Member Author

sandy081 commented Apr 22, 2022

@bpasero Moving this back to April since I have the implementation ready in the branch issue/146729. Planning to push changes to main on Monday.

@bpasero
Copy link
Member

bpasero commented Apr 23, 2022

Oh nice, sorry didn't know that 👏

@sandy081
Copy link
Member Author

sandy081 commented Apr 23, 2022

Here is the quick demo of exporting and importing profiles - Settings, Extensions and UI state is exported/imported

Exporting

Export.mov

Importing

Import.mov

CC @sana-ajani

@ChaseKnowlden
Copy link
Contributor

I've seen an extension by Aaron Powell that is similar to this feature

@lostintangent
Copy link
Member

This is awesome! ❤️ Out of curiosity: is there a way for an extension to programmatically export a profile as a string, and then headlessly import it via a URI? I'd love to update GistPad to allow saving/restoring/sharing profiles via GitHub Gists, without the user needing to manually generate the profile file, and then create a gist from it.

aeschli pushed a commit that referenced this issue May 2, 2022
@sandy081
Copy link
Member Author

sandy081 commented May 3, 2022

is there a way for an extension to programmatically export a profile as a string, and then headlessly import it via a URI?

Nope. But we are planning to extend this feature to extensions by allowing them to contribute profiles just like themes.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality on-testplan user-profiles User profile management
Projects
None yet
Development

No branches or pull requests

4 participants