-
Notifications
You must be signed in to change notification settings - Fork 357
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
Update terms in review page #156
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/// Gets the task group from the corresponding type, if it exists in the current flow. | ||
/// </summary> | ||
#nullable enable | ||
public T? GetTaskGroup<T>() |
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.
Nice! this would save me from having to do these in the future:
# Conflicts: # tools/SetupFlow/DevHome.SetupFlow/Views/ReviewView.xaml
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@florelis Didn't see this yesterday. When we have some time (before open sourcing), I'd suggest renaming the HyperlinkTextBlock user control. It's useful for a very specific purpose, and we don't want anyone to come along thinking this is the normal way to put hyperlinks in TextBlocks. It should probably have a more specific name. |
Sure, we can rename it. What name would you suggest? Also, what would be a better or more normal way to put hyperlinks in TextBlocks? I probably should change it to that one. |
@florelis Sorry, I should have been more specific. What you do in HyperlinkTextBlock.xaml makes sense -- Runs and Hyperlinks to make up the TextBlock's contents. I'm just thinking of a total newbie coming in, not worrying about localization -- they don't need to create a custom control every time they want to put a hyperlink in a TextBlock. Maybe something like "LocalizedTextBlockWithLink"? But also, after poking around more, you're right! There does not seem to be a great way to solve this! I found a place in Settings where they deal with this, and they just make it three separate strings to translate. They must rely on the translators moving words around if the hyperlink part isn't at the end. Gets you out of needing a custom control, but more potential for translation error. I don't even see the translated versions in the source, so who knows. Your way is safer. I feel like I used to see this situation more. I wonder if they've leaned towards different designs because it is so awkward. |
Huh. I had never considered what could happen if a newbie used my code. Maybe I should be more careful.
I'm sure it would work putting it all in one line, but it seems harder to read and more likely to be messed with.
Yeah... I was in a project that did that and it just felt mean to the translators lol |
Summary of the pull request
Update the terms and agreements in the review page per legal review
References and relevant issues
Detailed description of the pull request / Additional comments
Validation steps performed
With app selected:

With app from the Store selected:

With no apps to install:

PR checklist