Skip to content

Commit 6785f45

Browse files
committed
refactor: move Selection to seperate Sample App
1 parent 672b81c commit 6785f45

File tree

89 files changed

+1764
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1764
-100
lines changed

.vscode/settings.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
{
22
"files.associations": {
3-
"*.tmpl*": "mustache"
3+
"*.tmpl*": "mustache",
4+
"global.json": "jsonc"
45
},
6+
"markdownlint.lintWorkspaceGlobs": [
7+
"**/*.{md,mkd,mdwn,mdown,markdown,markdn,mdtxt,mdtext,workbook}",
8+
"!**/*.code-search",
9+
"!**/bower_components",
10+
"!**/node_modules",
11+
"!**/.git",
12+
"!**/vendor",
13+
"!**/copilot-instructions.md"
14+
],
15+
"explorer.fileNesting.enabled": true,
16+
"explorer.fileNesting.expand": false,
17+
"explorer.fileNesting.patterns": {
18+
"*.xaml": "$(capture).xaml.cs"
19+
},
20+
"dotnet.defaultSolution": "DevTKSS.Uno.SampleApps.slnx"
521
}

DevTKSS.Uno.SampleApps.slnx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<Solution>
2+
<Configurations>
3+
<Platform Name="Any CPU" />
4+
</Configurations>
5+
<Folder Name="/.github/">
6+
<File Path=".github/dependabot.yml" />
7+
<File Path=".github/labels.yml" />
8+
<File Path=".github/labeler.yml" />
9+
</Folder>
10+
<Folder Name="/.github/workflows/">
11+
<File Path=".github/workflows/build-deploy-docs.yml" />
12+
<File Path=".github/workflows/conventional-commits.yml" />
13+
<File Path=".github/workflows/labeler.yml" />
14+
<File Path=".github/workflows/sync-labels.yml" />
15+
</Folder>
16+
<Folder Name="/Solution Items/">
17+
<File Path=".editorconfig" />
18+
<File Path="README.md" />
19+
<File Path=".gitignore" />
20+
<File Path="src/Directory.Build.props" />
21+
<File Path="src/Directory.Build.targets" />
22+
<File Path="src/Directory.Packages.props" />
23+
<File Path="global.json" />
24+
<File Path="cspell.json" />
25+
</Folder>
26+
<Project Path="src/DevTKSS.Extensions.Uno.Storage/DevTKSS.Extensions.Uno.Storage.csproj" />
27+
<Project Path="src/DevTKSS.Uno.MvuxListApp/DevTKSS.Uno.MvuxListApp.csproj" />
28+
<Project Path="src/DevTKSS.Uno.Samples.MvuxGallery/DevTKSS.Uno.Samples.MvuxGallery.csproj" />
29+
<Project Path="src/DevTKSS.Uno.XamlNavigationApp-1/DevTKSS.Uno.XamlNavigationApp.csproj" />
30+
</Solution>
File renamed without changes.

src/.vscode/launch.json

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
"name": "Uno Platform Desktop Debug (MvuxGallery)",
1212
"type": "coreclr",
1313
"request": "launch",
14-
"preLaunchTask": "build-desktop",
14+
"preLaunchTask": "build-desktop-MvuxGallery",
1515
// If you have changed target frameworks, make sure to update the program path.
1616
"program": "${workspaceFolder}/DevTKSS.Uno.SampleApps.MvuxGallery/bin/Debug/net9.0-desktop/DevTKSS.Uno.SampleApps.MvuxGallery.dll",
1717
"args": [],
18-
"launchSettingsProfile": "DevTKSS.Uno.SampleApps.MvuxGallery (Desktop)",
18+
"launchSettingsProfile": "DevTKSS MvuxGallery (Desktop)",
1919
"env": {
2020
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug"
2121
},
@@ -25,24 +25,38 @@
2525
"stopAtEntry": false
2626
},
2727
{
28-
// Use IntelliSense to find out which attributes exist for C# debugging
29-
// Use hover for the description of the existing attributes
30-
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/main/debugger-launchjson.md
3128
"name": "Uno Platform Desktop Debug (XamlNavigationApp)",
3229
"type": "coreclr",
3330
"request": "launch",
34-
"preLaunchTask": "build-desktop",
31+
"preLaunchTask": "build-desktop-XamlNavigationApp",
3532
// If you have changed target frameworks, make sure to update the program path.
36-
"program": "${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp-1/bin/Debug/net9.0-desktop/DevTKSS.Uno.XamlNavigationApp.dll",
33+
"program": "${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp/bin/Debug/net9.0-desktop/DevTKSS.Uno.XamlNavigationApp.dll",
3734
"args": [],
3835
"launchSettingsProfile": "DevTKSS.Uno.XamlNavigationApp (Desktop)",
3936
"env": {
4037
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug"
4138
},
42-
"cwd": "${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp-1",
39+
"cwd": "${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp",
4340
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
4441
"console": "internalConsole",
4542
"stopAtEntry": false
4643
},
44+
{
45+
"name": "Uno Platform Desktop Debug (SimpleMemberSelectionApp)",
46+
"type": "coreclr",
47+
"request": "launch",
48+
"preLaunchTask": "build-desktop-SimpleMemberSelectionApp",
49+
// If you have changed target frameworks, make sure to update the program path.
50+
"program": "${workspaceFolder}/DevTKSS.Uno.SimpleMemberSelectionApp-1/bin/Debug/net9.0-desktop/DevTKSS.Uno.SimpleMemberSelectionApp.dll",
51+
"args": [],
52+
"launchSettingsProfile": "DevTKSS.Uno.SimpleMemberSelectionApp (Desktop)",
53+
"env": {
54+
"DOTNET_MODIFIABLE_ASSEMBLIES": "debug"
55+
},
56+
"cwd": "${workspaceFolder}/DevTKSS.Uno.SimpleMemberSelectionApp",
57+
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
58+
"console": "internalConsole",
59+
"stopAtEntry": false
60+
}
4761
]
4862
}

src/.vscode/tasks.json

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"label": "build-desktop MvuxGallery",
5+
"label": "build-desktop-MvuxGallery",
66
"command": "dotnet",
77
"type": "process",
88
"args": [
@@ -15,7 +15,7 @@
1515
"problemMatcher": "$msCompile"
1616
},
1717
{
18-
"label": "publish-desktop MvuxGallery",
18+
"label": "publish-desktop-MvuxGallery",
1919
"command": "dotnet",
2020
"type": "process",
2121
"args": [
@@ -28,25 +28,51 @@
2828
"problemMatcher": "$msCompile"
2929
},
3030
{
31-
"label": "build-desktop XamlNavigationApp",
31+
"label": "build-desktop-XamlNavigationApp",
3232
"command": "dotnet",
3333
"type": "process",
3434
"args": [
3535
"build",
36-
"${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp-1/DevTKSS.Uno.XamlNavigationApp.csproj",
36+
"${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp/DevTKSS.Uno.XamlNavigationApp.csproj",
3737
"/property:GenerateFullPaths=true",
3838
"/property:TargetFramework=net9.0-desktop",
3939
"/consoleloggerparameters:NoSummary"
4040
],
4141
"problemMatcher": "$msCompile"
4242
},
4343
{
44-
"label": "publish-desktop XamlNavigationApp",
44+
"label": "publish-desktop-XamlNavigationApp",
4545
"command": "dotnet",
4646
"type": "process",
4747
"args": [
4848
"publish",
49-
"${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp-1/DevTKSS.Uno.XamlNavigationApp.csproj",
49+
"${workspaceFolder}/DevTKSS.Uno.XamlNavigationApp/DevTKSS.Uno.XamlNavigationApp.csproj",
50+
"/property:GenerateFullPaths=true",
51+
"/property:TargetFramework=net9.0-desktop",
52+
"/consoleloggerparameters:NoSummary"
53+
],
54+
"problemMatcher": "$msCompile"
55+
},
56+
{
57+
"label": "build-desktop-SimpleMemberSelectionApp",
58+
"command": "dotnet",
59+
"type": "process",
60+
"args": [
61+
"build",
62+
"${workspaceFolder}/DevTKSS.Uno.SimpleMemberSelectionApp/DevTKSS.Uno.SimpleMemberSelectionApp.csproj",
63+
"/property:GenerateFullPaths=true",
64+
"/property:TargetFramework=net9.0-desktop",
65+
"/consoleloggerparameters:NoSummary"
66+
],
67+
"problemMatcher": "$msCompile"
68+
},
69+
{
70+
"label": "publish-desktop-SimpleMemberSelectionApp",
71+
"command": "dotnet",
72+
"type": "process",
73+
"args": [
74+
"publish",
75+
"${workspaceFolder}/DevTKSS.Uno.SimpleMemberSelectionApp/DevTKSS.Uno.SimpleMemberSelectionApp.csproj",
5076
"/property:GenerateFullPaths=true",
5177
"/property:TargetFramework=net9.0-desktop",
5278
"/consoleloggerparameters:NoSummary"

src/DevTKSS.Extensions.Uno-ExtensionsOnly.slnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"solution": {
3-
"path": "DevTKSS.Uno.Samples.sln",
3+
"path": "..\\DevTKSS.Uno.SampleApps.slnx",
44
"projects": [
55
"DevTKSS.Extensions.Uno\\DevTKSS.Extensions.Uno.csproj"
66
]

src/DevTKSS.Uno.SampleApps-GalleryOnly.slnf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"solution": {
3-
"path": "DevTKSS.Uno.Samples.sln",
3+
"path": "..\\DevTKSS.Uno.SampleApps.slnx",
44
"projects": [
55
"DevTKSS.Extensions.Uno\\DevTKSS.Extensions.Uno.csproj",
66
"DevTKSS.Uno.Samples.MvuxGallery\\DevTKSS.Uno.Samples.MvuxGallery.csproj"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"solution": {
3-
"path": "DevTKSS.Uno.Samples.sln",
3+
"path": "..\\DevTKSS.Uno.SampleApps.slnx",
44
"projects": [
5-
"DevTKSS.Uno.XamlNavigationApp-1\\DevTKSS.Uno.XamlNavigationApp.csproj"
5+
"DevTKSS.Uno.XamlNavigationApp\\DevTKSS.Uno.XamlNavigationApp.csproj"
66
]
77
}
88
}

src/DevTKSS.Uno.Samples.sln

Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<Application x:Class="DevTKSS.Uno.SimpleMemberSelectionApp.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:utum="using:Uno.Toolkit.UI.Material">
5+
6+
<Application.Resources>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<!-- Load WinUI resources -->
10+
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
11+
<utum:MaterialToolkitTheme
12+
ColorOverrideSource="ms-appx:///Styles/ColorPaletteOverride.xaml">
13+
<!-- NOTE: You can override the default Roboto font by providing your font assets here. -->
14+
<!-- <utum:MaterialToolkitTheme.FontOverrideDictionary>
15+
<ResourceDictionary>
16+
<FontFamily x:Key="MaterialLightFontFamily">ms-appx:///Uno.Fonts.Roboto/Fonts/Roboto-Light.ttf#Roboto</FontFamily>
17+
<FontFamily x:Key="MaterialMediumFontFamily">ms-appx:///Uno.Fonts.Roboto/Fonts/Roboto-Medium.ttf#Roboto</FontFamily>
18+
<FontFamily x:Key="MaterialRegularFontFamily">ms-appx:///Uno.Fonts.Roboto/Fonts/Roboto-Regular.ttf#Roboto</FontFamily>
19+
</ResourceDictionary>
20+
</utum:MaterialToolkitTheme.FontOverrideDictionary> -->
21+
</utum:MaterialToolkitTheme>
22+
</ResourceDictionary.MergedDictionaries>
23+
24+
<!-- Add resources here -->
25+
26+
</ResourceDictionary>
27+
</Application.Resources>
28+
29+
</Application>

0 commit comments

Comments
 (0)