-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Enable loading of Feedback providers via config #25115
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-DeclinedThe proposed feature is declined.The proposed feature is declined.WG-Interactive-Consolethe console experiencethe console experienceWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-DeclinedThe proposed feature is declined.The proposed feature is declined.WG-Interactive-Consolethe console experiencethe console experienceWG-ReviewedA Working Group has reviewed this and made a recommendationA Working Group has reviewed this and made a recommendation
Summary of the new feature / enhancement
Some native commands may want to participate by providing a Feedback provider, but not want to craft a whole module just for it. Tools today modify the user's
$profileduring app install and can be tricky to remove correctly during uninstall.Proposed technical implementation details (optional)
Extend
powershell.config.jsonto have a section for Feedback providers. Essentially containing this section:(actual implementation will be in JSON, using YAML for readability)
The system config.json would be the default and users can override with their own config.json (setting
Enabled: false).Feedback providers loaded on startup via this method would need to have some message shown to inform the user.
One problem is that new installs of PS7 have a default system config.json which would clobber the old one. Perhaps instead we should have the system one under
ProgramData(on Windows) which would be the one apps can modify for install/uninstall.