-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[#27712] PowerToys New+ v0.1 - Very early prelease version #33136
base: main
Are you sure you want to change the base?
Conversation
Made ThemeRegistryHelper protected
Removed New.wxs from installer
Restored logger_helper.h
Updated resources to have the right white space formatting
Replaced tabs with spaces
Added GPO info to GPO assets and fixed bug while testing GPO support
Added files for signing
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution.
I made a small comment on the policy name.
src/gpo/assets/PowerToys.admx
Outdated
@@ -326,6 +327,16 @@ | |||
<decimal value="0" /> | |||
</disabledValue> | |||
</policy> | |||
<policy name="ConfigureEnabledUtilityNew" class="Both" displayName="$(string.ConfigureEnabledUtilityNew)" explainText="$(string.ConfigureEnabledUtilityDescription)" key="Software\Policies\PowerToys" valueName="ConfigureEnabledUtilityNew"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know it's early state. And maybe you don't like to use the character +
. But only new
can be confusing and interpreted as adjective. So we should use NewPlus
as utility name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @htcfreek! I've changed it to ConfigureEnabledUtilityNewPlus
@microsoft-github-policy-service agree |
…ddress feedback from htcfreak Update GPO setting name to reference NewPlus rather than just New - Address feedback from htcfreak
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's the best to rename all places (docs, code, directory, installer) where the utility is called "New" to "NewPlus".
New
can be read as new item
and is confusing then.
@@ -30,5 +30,6 @@ public enum ModuleType | |||
MeasureTool, | |||
ShortcutGuide, | |||
PowerOCR, | |||
New, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as on the policy name. This is confusing. Please rename to NewPlus
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as on the policy name. This is confusing. Please rename to
NewPlus
.
Thank you! I've finally gotten around to renaming to NewPlus throughout. Thanks again.
src/common/GPOWrapper/GPOWrapper.cpp
Outdated
@@ -176,4 +176,8 @@ namespace winrt::PowerToys::GPOWrapper::implementation | |||
{ | |||
return static_cast<GpoRuleConfigured>(powertoys_gpo::getAllowedAdvancedPasteOnlineAIModelsValue()); | |||
} | |||
GpoRuleConfigured GPOWrapper::GetConfiguredNewEnabledValue() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as on the policy name. This is confusing. Please rename to NewPlus
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I've finally gotten around to renaming to NewPlus throughout. Thanks again.
src/common/utils/gpo.h
Outdated
@@ -475,4 +476,9 @@ namespace powertoys_gpo { | |||
{ | |||
return getUtilityEnabledValue(POLICY_ALLOW_ADVANCED_PASTE_ONLINE_AI_MODELS); | |||
} | |||
|
|||
inline gpo_rule_configured_t getConfiguredNewEnabledValue() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as on the policy name. This is confusing. Please rename to NewPlus
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I've finally gotten around to renaming to NewPlus throughout. Thanks again.
src/common/utils/gpo.h
Outdated
@@ -59,6 +59,7 @@ namespace powertoys_gpo { | |||
const std::wstring POLICY_CONFIGURE_ENABLED_ENVIRONMENT_VARIABLES = L"ConfigureEnabledUtilityEnvironmentVariables"; | |||
const std::wstring POLICY_CONFIGURE_ENABLED_QOI_PREVIEW = L"ConfigureEnabledUtilityFileExplorerQOIPreview"; | |||
const std::wstring POLICY_CONFIGURE_ENABLED_QOI_THUMBNAILS = L"ConfigureEnabledUtilityFileExplorerQOIThumbnails"; | |||
const std::wstring POLICY_CONFIGURE_ENABLED_NEW = L"ConfigureEnabledUtilityNewPlus"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same as on the policy name. This is confusing. Please rename to NewPlus
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! I've finally gotten around to renaming to NewPlus throughout. Thanks again.
Summary of the Pull Request
This PR contains an attempt of a first very prelease early version of New+ (#27712)
New+ is a new PowerToys for the File Explorer that enables users to create files and folders from a personalized set of templates.
Issue:
#27712
Spec:
https://1drv.ms/w/s!AgfnseFPEL1w2NklIIJb2hDgHkz6MQ?e=b8rSuL
This PR includes:
• Very early version of New+
• New+ Windows 11 File Explorer support
• Dark and Light System Theme support
• Logging + Trace
• New+ GPO settings
• New+ Settings page
• New+ What's new page
• New+ uninstall support
Closes: Create new file from a list of customizable templates straight from the folder context menu #27712
This doesn’t close Create new file from a list of customizable templates straight from the folder context menu #27712 yet
Communication: I've discussed this with core contributors already.
Tests: Added/updated and all pass
Localization: All end user facing strings can be localized
Dev docs: Added/updated
JSON for signing for new binaries
WXS for installer for new binaries and localization folder
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed