-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Launch/Open/GoTo: Code #32516
Launch/Open/GoTo: Code #32516
Conversation
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.
Thanks for opening the PR.
I see the PR will contain changes that seem to be changing localization ids, retriggering the localization for all these strings.
It also changes names of telemetry events, which means it'll cause confusion in the names of events received and they'll be treated like two different events across versions.
I paused my review, since the PR seems to have many of these. These are not visible for the user, so can we please not make these changes as they'll cause more work / confusion for changes that won't affect the user in any way?
/// <summary> | ||
/// Invoked when the application is launched. | ||
/// </summary> | ||
/// <param name="args">Details about the launch request and process.</param> | ||
protected override void OnLaunched(LaunchActivatedEventArgs args) |
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.
Why are we deleting these comments? 🤔
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.
Uhm, I have forgotten now. But I would guess that this comment is so obvious?
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.
Please let's keep the changes at the scope of the PR?
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.
Reverted ✔️
@@ -183,17 +183,17 @@ | |||
<data name="Setting_Description_RestoreSize" xml:space="preserve"> | |||
<value>Restore the original size of windows when unsnapping</value> | |||
</data> | |||
<data name="Setting_Launch_Editor_Label" xml:space="preserve"> |
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.
These are internal labels which will retrigger localization. I don't think it's worth retriggering localization for all these strings just to change internal names.
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.
Hm, I see the point. Reverted ✔️
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.
LOL this entire file seems to be obsolete
@SeraphimaZykova can you confirm?
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.
Yes, please revert the labels. Revert the changes from xaml / resource getting in code in case those are changed as well.
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.
Already done after your comment, check out the latest commits :)
@@ -16,7 +16,7 @@ | |||
#define EventEnableFancyZonesKey "FancyZones_EnableFancyZones" | |||
#define EventKeyDownKey "FancyZones_OnKeyDown" | |||
#define EventZoneSettingsChangedKey "FancyZones_ZoneSettingsChanged" | |||
#define EventEditorLaunchKey "FancyZones_EditorLaunch" | |||
#define EventEditorOpenKey "FancyZones_EditorOpen" |
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.
This will make old events not match new ones. It doesn't seem to make sense.
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 see. I'm not familiar with telemetry. Reverted ✔️
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.
So: revert any/all trace.cpp and trace.h files, right?
Yes, please :) And the calls to those as well.
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.
Already done after your comment, check out the latest commits :)
@@ -27,10 +27,10 @@ public OobeRegistryPreview() | |||
|
|||
private void Launch_RegistryPreview_Click(object sender, Microsoft.UI.Xaml.RoutedEventArgs e) | |||
{ | |||
ShellPage.SendDefaultIPCMessage("{\"action\":{\"RegistryPreview\":{\"action_name\":\"Launch\", \"value\":\"\"}}}"); | |||
ShellPage.SendDefaultIPCMessage("{\"action\":{\"RegistryPreview\":{\"action_name\":\"Open\", \"value\":\"\"}}}"); |
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.
@jaimecbernardo I wonder if this will be a "breaking change" too?
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.
You're right, it might be 🤔 Let's leave it as launch, I guess?
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.
Already done after your comment, check out the latest commits :)
@@ -183,17 +183,17 @@ | |||
<data name="Setting_Description_RestoreSize" xml:space="preserve"> | |||
<value>Restore the original size of windows when unsnapping</value> | |||
</data> | |||
<data name="Setting_Launch_Editor_Label" xml:space="preserve"> |
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.
Hm, I see the point. Reverted ✔️
@@ -16,7 +16,7 @@ | |||
#define EventEnableFancyZonesKey "FancyZones_EnableFancyZones" | |||
#define EventKeyDownKey "FancyZones_OnKeyDown" | |||
#define EventZoneSettingsChangedKey "FancyZones_ZoneSettingsChanged" | |||
#define EventEditorLaunchKey "FancyZones_EditorLaunch" | |||
#define EventEditorOpenKey "FancyZones_EditorOpen" |
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 see. I'm not familiar with telemetry. Reverted ✔️
helloooo??? |
Summary of the Pull Request
Split from #32351
Closely linked to #32514 and #32519.
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
Build