-
Notifications
You must be signed in to change notification settings - Fork 58
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
Sample App Issue/Discussion Links and Markdown Rendering #308
Conversation
@michael-hawker I'm still having some WASM issues on my local machine so haven't tested that yet. UWP looked good though! Removed some more obsolete links on the CanvasLayout and CanvasView page. |
common/CommunityToolkit.Labs.Shared/Renderers/Markdown/MarkdownTextBlock.cs
Show resolved
Hide resolved
common/CommunityToolkit.Labs.Shared/Renderers/Markdown/MarkdownTextBlock.cs
Outdated
Show resolved
Hide resolved
5c65fcc
to
e81ebaa
Compare
common/CommunityToolkit.Labs.Shared/Renderers/Markdown/MarkdownTextBlock.cs
Show resolved
Hide resolved
platforms/CommunityToolkit.Labs.Wasm/CommunityToolkit.Labs.Wasm.csproj
Outdated
Show resolved
Hide resolved
e81ebaa
to
5b1923c
Compare
Looks like we can get #211 in, so we'll merge that and then I'll update this PR on top of it. |
b87ad83
to
5db0ca1
Compare
@Arlodotexe I've updated this and tested locally on UWP, WASDK, and WASM. Working great there. Weird build issues with other platform heads trying to build the Let's see what happens in the CI. If it's clean, we should merge to get the improvements here. And then file a separate issue to figure out what's going on with VS? |
@niels9001 icons looks great now on WASM! |
@@ -29,6 +29,12 @@ public partial class ToolkitSampleMetadataGenerator | |||
private const string FrontMatterRegexSubcategoryExpression = @"^subcategory:\s*(?<subcategory>.*)$"; | |||
private static readonly Regex FrontMatterRegexSubcategory = new Regex(FrontMatterRegexSubcategoryExpression, RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Multiline); | |||
|
|||
private const string FrontMatterRegexDiscussionIdExpression = @"^labs-discussion:\s*(?<discussionId>.*)$"; |
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.
Let's remove "labs" from these two new fields. This source generator will serve both Labs and the main Toolkit.
common/CommunityToolkit.Labs.Shared/Renderers/ToolkitDocumentationRenderer.xaml.cs
Show resolved
Hide resolved
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.
Caught a few issues that'll clash with the main toolkit down the road.
Adds tests for validation with the Source Generator Updates Sample Documentation and View code buttons with links to the Discussion and Tracking Issue (not shown if not provided) Updates template and existing sample documentation with id numbers (zero (0) if no issue/discussion exists)
Centralizes Fonts.css file used in all WASM heads.
…/issue-id instead
5db0ca1
to
d9a813d
Compare
common/CommunityToolkit.Labs.Shared/Renderers/ToolkitDocumentationRenderer.xaml.cs
Show resolved
Hide resolved
…ample-app-links Sample App Issue/Discussion Links and Markdown Rendering
Adds:
Tested in WASM locally
Known issues for Markdown