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

Test Settings Profiles in Web #156188

Closed
2 tasks done
sandy081 opened this issue Jul 25, 2022 · 0 comments
Closed
2 tasks done

Test Settings Profiles in Web #156188

sandy081 opened this issue Jul 25, 2022 · 0 comments

Comments

@sandy081
Copy link
Member

sandy081 commented Jul 25, 2022

Refs: #154242

Complexity: 4

Create Issue


In this milestone, we added settings profiles support in Web. Use insiders.vscode.dev to test this feature. Please enable this feature using the setting workbench.experimental.settingsProfiles.enabled.

Testing

No Settings Profile Mode

  • Make sure you do not see any Settings Profiles sauce in the product before enabling this setting (of course except in the settings editor).
  • After enabling this setting, make sure you do not see any behavioural changes in the way you use VS Code. For eg.,
    • Updating settings, keyboard shortcuts, moving/hiding views/panels/status bar items, Managing (install/uninstall/enable/disable) extensions, snippets and tasks work as before
    • Settings Profiles UI is enabled in the - settings gear drop down, accounts drop down, File > Preferences menu and in Command Paulette
    • Make sure you do not see any settings profile entries in the status bar.

Managing/Switching Settings Profiles

  • Try creating different profiles and make sure these profiles are isolated.
    • Updating settings, keyboard shortcuts, moving/hiding views/panels/status bar items, Managing (install/uninstall/enable/disable) extensions, snippets and tasks are impacted within the profile.
    • Make sure the Settings Profiles entry is shown in the status bar as soon as you create a new profile
    • Make sure you can customise the colours of Settings Profiles status bar entry using following keys from settings
"statusBarItem.settingsProfilesBackground",
"statusBarItem.settingsProfilesForeground"
  • Test all actions available in the Settings Profile menu and make sure they are working as expected.
  • Make sure switching profiles flow is smooth and work as expected. All data is retained and workbench gets initialised properly with new profile, for eg with new settings, keyboard shortcuts, extensions (including enablement) and UI state.
  • Make sure opening a remote repository (eg: GitHub repo) always opens with a profile you have associated before
  • Make sure you go back to No Profile mode when you remove all profiles you created
  • Make sure there is no data loss when you create/switch/remove profiles

Import/Export Settings Profiles

  • Test importing and exporting profiles work as expected.
    Please note that Exporting a profile will only exports following for now:
    • Settings (excludes machine scoped settings like git.path. Also removes comments)
    • Installed extensions and enablements
    • UI customisations
      • Status bar entries visibility
      • Activity Bar, Bottom Panel & Status Bar entries visibility and order
      • Views visibility, location and order
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants