Skip to content

Commit 6961808

Browse files
Merge pull request #4012 from windows-toolkit/branch-update
Update for new branch name
2 parents 26cd3f9 + 6549c74 commit 6961808

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<Authors>Microsoft.Toolkit</Authors>
55
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
66
<NoPackageAnalysis>true</NoPackageAnalysis>
7-
<PackageIconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png</PackageIconUrl>
7+
<PackageIconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png</PackageIconUrl>
88
<PackageIcon>images\nuget.png</PackageIcon>
99
<PackageProjectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</PackageProjectUrl>
1010
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -109,4 +109,4 @@
109109

110110
<Import Project="$(MSBuildThisFileDirectory)build\Windows.Toolkit.VisualStudio.Design.props" Condition="'$(IsDesignProject)' == 'true'"/>
111111

112-
</Project>
112+
</Project>

Microsoft.Toolkit.Uwp.Notifications/Microsoft.Toolkit.Uwp.Notifications.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<requireLicenseAcceptance>true</requireLicenseAcceptance>
99
<license type="expression">MIT</license>
1010
<projectUrl>https://github.com/windows-toolkit/WindowsCommunityToolkit</projectUrl>
11-
<iconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png</iconUrl>
11+
<iconUrl>https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png</iconUrl>
1212
<icon>images\nuget.png</icon>
1313
<description>The official way to send toast notifications on Windows 10 via code rather than XML, with the help of IntelliSense. Supports all C# app types, including WPF, UWP, WinForms, and Console, even without packaging your app as MSIX. Also supports C++ UWP apps.
1414

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/MarkdownTextBlock/InitialContent.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,11 @@ To add an image, it is almost like a link. You just need to add a \! before.
376376

377377
So inline image syntax looks like this:
378378

379-
>\!\[Helpers Image](https\://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/Microsoft.Toolkit.Uwp.SampleApp/Assets/Helpers.png)
379+
>\!\[Helpers Image](https\://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/Microsoft.Toolkit.Uwp.SampleApp/Assets/Helpers.png)
380380
381381
which renders in:
382382

383-
![Helpers Image](https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/Microsoft.Toolkit.Uwp.SampleApp/Assets/Helpers.png)
383+
![Helpers Image](https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/Microsoft.Toolkit.Uwp.SampleApp/Assets/Helpers.png)
384384

385385
Rendering Images is now supported through prefix. use property **UriPrefix**
386386

@@ -412,11 +412,11 @@ which renders in:
412412

413413
MarkdownTextblock supports links wrapped with Images.
414414

415-
>\[!\[image](https\://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png)](https\://docs.microsoft.com/windows/uwpcommunitytoolkit/)
415+
>\[!\[image](https\://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png)](https\://docs.microsoft.com/windows/uwpcommunitytoolkit/)
416416
417417
will render into
418418

419-
[![image](https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png)](https://docs.microsoft.com/windows/uwpcommunitytoolkit/)
419+
[![image](https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png)](https://docs.microsoft.com/windows/uwpcommunitytoolkit/)
420420

421421
and when clicked will go to the Linked Page.
422422

@@ -425,7 +425,7 @@ MarkdownTextBlock also supports Reference based links.
425425
```
426426
[![image][1]][2]
427427
428-
[1]:https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png
428+
[1]:https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png
429429
[2]:https://docs.microsoft.com/windows/uwpcommunitytoolkit/
430430
431431
```
@@ -434,7 +434,7 @@ will render into
434434

435435
[![image][1]][2]
436436

437-
[1]:https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png
437+
[1]:https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/build/nuget.png
438438
[2]:https://docs.microsoft.com/windows/uwpcommunitytoolkit/
439439

440440
*****

Microsoft.Toolkit.Uwp.SampleApp/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Therefore, for any new control/extension, you should still have a simplified sni
9292

9393

9494
## 4. For Events/Resource Templates: Have your sample page implement the **IXamlRendererListener** interface
95-
This gets called whenever the template gets parsed (due to loading or user modification). Here you can use the [LogicalTree](https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/master/Microsoft.Toolkit.Uwp.UI/Extensions/Tree/LogicalTree.cs) extensions to grab named controls in the template and register their events. **Check for null first** as the developer may have removed the name from the element.
95+
This gets called whenever the template gets parsed (due to loading or user modification). Here you can use the [LogicalTree](https://github.com/windows-toolkit/WindowsCommunityToolkit/blob/main/Microsoft.Toolkit.Uwp.UI/Extensions/Tree/LogicalTree.cs) extensions to grab named controls in the template and register their events. **Check for null first** as the developer may have removed the name from the element.
9696

9797
```csharp
9898
var markdownText = control.FindChild("MarkdownText") as MarkdownTextBlock;
@@ -148,9 +148,9 @@ Select the category where you want your page to be listed and add the following
148148
"Name": "AdaptiveGridView",
149149
"Type": "AdaptiveGridViewPage",
150150
"About": "The AdaptiveGridView control allows to present information within a Grid View perfectly adjusting the total display available space. It reacts to changes in the layout as well as the content so it can adapt to different form factors automatically. The number and the width of items are calculated based on the screen resolution in order to fully leverage the available screen space. The property ItemsHeight define the items fixed height and the property DesiredWidth sets the minimum width for the elements to add a new column.",
151-
"CodeUrl": "https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/master/Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar",
151+
"CodeUrl": "https://github.com/windows-toolkit/WindowsCommunityToolkit/tree/main/Microsoft.Toolkit.Uwp.UI.Controls/TextToolbar",
152152
"XamlCodeFile": "AdaptiveGridViewCode.bind",
153-
"DocumentationUrl": "https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/docs/controls/AdaptiveGridView.md"
153+
"DocumentationUrl": "https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/main/docs/controls/AdaptiveGridView.md"
154154
}
155155
]
156156
}
@@ -188,7 +188,7 @@ Use the DocumentationUrl property to add a link to the raw documentation in *sam
188188

189189
`https://raw.githubusercontent.com/MicrosoftDocs/WindowsCommunityToolkitDocs/{branch}/docs/{folder/file.md}`
190190
191-
> NOTE: When building and running the app in release mode, the branch will automatically be changed to **master** before loading.
191+
> NOTE: When building and running the app in release mode, the branch will automatically be changed to **main** before loading.
192192

193193
> NOTE: The documentation is also packaged with the sample app. If there is no network connection, or the documentation is not yet on GitHub, the sample app will use the packaged version
194194

@@ -201,4 +201,4 @@ Use the DocumentationUrl property to add a link to the raw documentation in *sam
201201

202202
### CodeUrl
203203

204-
The value of CodeUrl is modified when the app is built in release mode. The branch is automatically changed to **master**. This allows you to test the link in debug while pointing to dev.
204+
The value of CodeUrl is modified when the app is built in release mode. The branch is automatically changed to **main**. This allows you to test the link in debug while pointing to dev.

Microsoft.Toolkit.Uwp.UI.Controls.Core.Design/Common/MetadataRegistrationBase.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Toolkit.Uwp.Design.Common
2020
{
2121
public abstract class MetadataRegistrationBase : IProvideAttributeTable
2222
{
23-
private AttributeTable masterMetadataTable;
23+
private AttributeTable mainMetadataTable;
2424

2525
internal MetadataRegistrationBase() { }
2626

@@ -36,8 +36,8 @@ protected virtual AttributeTable BuildAttributeTable()
3636
AddAttributes(builder);
3737
AddTables(builder, this);
3838

39-
masterMetadataTable = builder.CreateTable();
40-
return masterMetadataTable;
39+
mainMetadataTable = builder.CreateTable();
40+
return mainMetadataTable;
4141
}
4242

4343
#region IProvideAttributeTable Members
@@ -250,4 +250,4 @@ protected virtual void AddAttributes(AttributeTableBuilder builder)
250250
{
251251
}
252252
}
253-
}
253+
}

Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/MetadataRegistrationBase.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Toolkit.Uwp.Design.Common
2020
{
2121
public abstract class MetadataRegistrationBase : IProvideAttributeTable
2222
{
23-
private AttributeTable masterMetadataTable;
23+
private AttributeTable mainMetadataTable;
2424

2525
internal MetadataRegistrationBase() { }
2626

@@ -36,8 +36,8 @@ protected virtual AttributeTable BuildAttributeTable()
3636
AddAttributes(builder);
3737
AddTables(builder, this);
3838

39-
masterMetadataTable = builder.CreateTable();
40-
return masterMetadataTable;
39+
mainMetadataTable = builder.CreateTable();
40+
return mainMetadataTable;
4141
}
4242

4343
#region IProvideAttributeTable Members
@@ -250,4 +250,4 @@ protected virtual void AddAttributes(AttributeTableBuilder builder)
250250
{
251251
}
252252
}
253-
}
253+
}

Microsoft.Toolkit.Uwp.UI.Controls.Layout/Microsoft.Toolkit.Uwp.UI.Controls.Layout.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
This library provides XAML layout controls. It is part of the Windows Community Toolkit.
88

99
Controls:
10-
- BladeView: Provides a horizontal collection of blades for master-detail scenarios.
10+
- BladeView: Provides a horizontal collection of blades for drilling into detailed scenarios.
1111
- Carousel: Presents items in a carousel control.
1212
- Expander: Expander allows user to show/hide content based on a boolean state.
1313
- GridSplitter: A the control that redistributes space between columns or rows of a Grid control.

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
trigger:
2-
- master
2+
- main
33
- dev/*
44
- rel/*
55

66
pr:
7-
- master
7+
- main
88
- dev/*
99
- rel/*
1010

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ The Windows Community Toolkit is a collection of helper functions, custom contro
44

55
| Target | Branch | Status | Recommended package version |
66
| ------ | ------ | ------ | ------ |
7-
| Production | rel/6.1.0 | [![Build Status](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_apis/build/status/Toolkit-CI?branchName=rel/6.1.0)](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/latest?definitionId=10&branchName=rel/6.1.0) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Toolkit.Uwp.svg)](https://www.nuget.org/profiles/Microsoft.Toolkit) |
8-
| Pre-release beta testing | master | [![Build Status](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_apis/build/status/Toolkit-CI?branchName=master)](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/latest?definitionId=10) | [![DevOps](https://vsrm.dev.azure.com/dotnet/_apis/public/Release/badge/696bc9fd-f160-4e97-a1bd-7cbbb3b58f66/1/1)](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_packaging?_a=feed&feed=WindowsCommunityToolkit-MainLatest) |
7+
| Production | rel/7.0.2 | [![Build Status](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_apis/build/status/Toolkit-CI?branchName=rel/7.0.2)](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/latest?definitionId=10&branchName=rel/7.0.2) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Toolkit.Uwp.svg)](https://www.nuget.org/profiles/Microsoft.Toolkit) |
8+
| Pre-release beta testing | main | [![Build Status](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_apis/build/status/Toolkit-CI?branchName=main)](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_build/latest?definitionId=10) | [![DevOps](https://vsrm.dev.azure.com/dotnet/_apis/public/Release/badge/696bc9fd-f160-4e97-a1bd-7cbbb3b58f66/1/1)](https://dev.azure.com/dotnet/WindowsCommunityToolkit/_packaging?_a=feed&feed=WindowsCommunityToolkit-MainLatest) |
99

1010
## Getting Started :raised_hands:
1111
Please read the [Getting Started with the Windows Community Toolkit](https://docs.microsoft.com/windows/communitytoolkit/getting-started) page for more detailed information about using the toolkit.

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "7.0.0-build.{height}",
33
"publicReleaseRefSpec": [
4-
"^refs/heads/master$", // we release out of master
4+
"^refs/heads/main$", // we release out of main
55
"^refs/heads/dev$", // we release out of dev
66
"^refs/heads/rel/\\d+\\.\\d+\\.\\d+" // we also release branches starting with rel/N.N.N
77
],

0 commit comments

Comments
 (0)