Skip to content

Conversation

niels9001
Copy link
Collaborator

@niels9001 niels9001 commented Sep 10, 2025

Summary of the Pull Request

This PR introduces the following changes:

  • Replace the MarkdownTextBlock with the latest version in CommunityToolkit Labs, and removing the 7.x version.
  • Replacing WrapPanel from 7.x with the 8.0 version.
  • Replacing converters from 7.x with the 8.0 version.
  • Remove unused namespaces related to the Toolkit

No visual or behavior changes, except for the release notes that now look better :):

Before:
image

After:
image

PR Checklist

  • Closes: #xxx
  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@niels9001 niels9001 requested a review from Copilot September 10, 2025 12:40
Copilot

This comment was marked as outdated.

This comment has been minimized.

@niels9001 niels9001 marked this pull request as draft September 10, 2025 12:53

This comment has been minimized.

@niels9001 niels9001 marked this pull request as ready for review September 10, 2025 15:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modernizes the PowerToys Settings UI by migrating from Community Toolkit 7.x components to the latest 8.0 version and Labs packages. The main purpose is to improve the appearance and functionality of the release notes display while removing outdated dependencies.

  • Replaces MarkdownTextBlock from the 7.x UI.Controls package with the newer Labs.WinUI.Controls.MarkdownTextBlock
  • Updates WrapPanel and converter references from 7.x to 8.0 versions
  • Removes unused namespaces and dependencies related to the old toolkit versions

Reviewed Changes

Copilot reviewed 40 out of 40 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
Directory.Packages.props Updates package versions, removes 7.x MarkdownTextBlock, updates Labs package version
PowerToys.Settings.csproj Switches package reference from old UI.Controls.Markdown to Labs MarkdownTextBlock
Multiple XAML files Updates namespace declarations from tk7controls to tkcontrols for MarkdownTextBlock usage
OobeWhatsNew.xaml.cs Adds MarkdownConfig setup and removes old LinkClicked event handler
NOTICE.md Removes reference to deprecated CommunityToolkit.WinUI.UI.Controls.Markdown package

@niels9001
Copy link
Collaborator Author

@yeelam-gordon do you know why the CI is failing? looks like it's complaining about .deps files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant