Граф коммитов

738 Коммитов

Автор SHA1 Сообщение Дата
Arlo f3bcd92aea Merge branch 'main' into update/dependencies/uno.wasm.bootstrap 2023-02-24 23:14:43 +00:00
Arlo Godfrey 57659099b4 Fixed an issue where using a custom file name for the component source csproj prevented the solution from generating 2023-02-24 13:56:49 -08:00
Arlo a922f4b894 Fixed an issue where MSBuild wouldn't be detected on some machines 2023-02-24 13:37:09 -08:00
Niels Laute 3ab75baf6a
🧪 [Experiment] Segmented control (#357)
* Init

* Adding Segmented

* Fixes

* CI fixes

* Update ExampleSegmentedControlTestClass.cs

* Update ExampleSegmentedControlTestPage.xaml

* Update SegmentedItem.xaml

* Update SegmentedItem.xaml

* FrameworkElementExtensions

* Updates

* Fixing the EqualPanel and updating samples

* Making sure the first item is selected when SelectionMode changed to Single

* Fix

* Update EqualPanel.cs
2023-02-23 15:25:27 -08:00
Arlo af480df670
Merge pull request #369 from CommunityToolkit/refactor/component-folder-structure
Organize component folders
2023-02-23 14:58:52 -06:00
Arlo Godfrey 84e89298a5 Fixed missing C# files on non-wasm platforms 2023-02-23 12:50:29 -06:00
Arlo Godfrey e87ec5c43a Cleaned up debug code 2023-02-23 11:33:58 -06:00
Arlo Godfrey 457ddd5c25 Fixed various path issues with sample and doc rendering 2023-02-23 11:32:18 -06:00
Arlo Godfrey 739410eadd Fixed sample code not showing in "All" head 2023-02-22 13:40:37 -06:00
Arlo Godfrey 930308db66 Fixed invalid paths 2023-02-21 16:09:43 -08:00
Arlo Godfrey 8143ffe787 Reorganized project template files 2023-02-21 16:09:42 -08:00
Arlo Godfrey 26d8d825cb Fixed issue renaming head folder 2023-02-21 16:09:42 -08:00
Arlo Godfrey 41994a66d3 Renamed ./labs to ./components 2023-02-21 16:09:41 -08:00
Arlo Godfrey 048cc1c4bc Moved component Sample and Test files up one directory 2023-02-21 16:09:41 -08:00
Arlo 10640a3755
Consolidated ProjectHeads and supporting infrastructure (#360)
* Moved project heads to common folder

* Fixed broken reference to props file

* Fix broken path references

* Fixed broken file references

* Fixed broken path

* Move asset references to props file

* Consolidated ProjectHeads and supporting infrastructure

* Migrating projects to new infra

* Migrating files to new infra

* Added missing assemblyname and rootnamespace declaration

* Fixed building WinAppSdk

* Fixed build errors for UWP under "All" solution

* Fixed working directory for UseTargetFrameworks.ps1

* Switch GenerateSingleSampleHeads.ps1 to use dotnet templating tool

Update WindowsAppSDK version and MSTest tools
Add properties to allow tests to run on 1.2.x, see https://github.com/microsoft/testfx/issues/1127
Remove solution files from experiments
Add bat file to copy heads and run slngen
Tested locally running all heads and tests for an experiment

* Update folder for linux CI build and Codespaces to WASM project

* Clean-up and re-work build script for testing the project template

* Use expanded form for environment variables everywhere

* Use repo root path for script when in working directory of template

* Use github syntax for environment variable for path, see https://github.com/actions/runner-images/issues/1794

* Re-work path structure for project template test in ci

* Setup paths again to use full path into GenerateSingleSampleHeads script

* Fixed comment referencing outdated file name

* Use absolute path for project references in the "All" solution

* Removed leading directory separator on generated path

* Update slngen to fix build issues with not finding SDK due to global.json

See details in https://github.com/microsoft/slngen/issues/453

* Add flag to build to enable easily getting diagnostics from tools

* Clean-up labels and conditions for diagnostics

* Add COREHOST_TRACE diagnostics for dotnet

* Move conditional for COREHOST_TRACE into step

* Just have COREHOST_TRACE defined at top

* Add calling dotnet --info

* Fixed missing markdown/cs files. Changed "Experiment" to "ToolkitComponent"

* Revert initial work renaming Experiment to Component.

* Fixed markdown exclude path

* Moved project out of double nested folder

* Removed restored files that should have been deleted

* Move SourceGenerators.Tests project up a folder and fix in build.yml path

Wasn't being built as was excluded from wildcard in solution generator

* Fixed path for test output

* Improved and shortened project names

* Rename LabsUITestMethod to UIThreadTestMethod

* Renamed to CommunityToolkit.Tooling.TestGen

* New names for UITestMethodAttribute and UITestMethodGenerator

* Fixed incorrect namespace

* Fixed a bad find/replace

* Renamed "all" component heads and App/Test shared projects

* Added "App" to app head names

* Fixed runtime error

* Move SourceGenerators.Tests project up a folder and fix in build.yml path

Wasn't being built as was excluded from wildcard in solution generator

* Fixed path for test output

* Improved and shortened project names

* Rename LabsUITestMethod to UIThreadTestMethod

* Renamed to CommunityToolkit.Tooling.TestGen

* New names for UITestMethodAttribute and UITestMethodGenerator

* Renamed "all" component heads and App/Test shared projects

* Added "App" to app head names

* Turn off diagnostics for our powershell scripts as slngen has error with diagnostics

Fix diagnostic flag detection

* Enable git long path support for the clean operation

* Update microsoft/setup-msbuild github action

* Cleaned up moved files that weren't deleted properly

* Update slngen to 9.5.4

Should hopefully resolve CI issues from https://github.com/microsoft/slngen/issues/453 and its initial fix

---------

Co-authored-by: michael-hawker <24302614+michael-hawker@users.noreply.github.com>
2023-02-21 13:44:43 -08:00
Niels Laute 1a40ef45b1
[SettingsControls] Using ItemsRepeater (#367)
* Swap back SettingsExpander to use ItemsRepeater over ItemsControl

* Remove redundant code + comments

* Use UniformGridLayout vs. StackLayout

* Bump version no.

* Adding note and fix sample

* Update labs/SettingsControls/samples/SettingsControls.Samples/SettingsExpander.md

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>

---------

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2023-02-21 11:50:18 -08:00
Niels Laute 507fba970b Version bumps 2023-02-06 13:52:14 -08:00
Arlo 6b2f89e7ba
Merge pull request #350 from michael-hawker/llama/winui-package-fix
Use slngen and remove UWP target from WinUI packages
2023-02-03 15:51:23 -06:00
michael-hawker 1aa2235e73 Add workaround/fix for running slngen with dotnet command using tool run
See more info in https://github.com/dotnet/runtime/issues/81580
2023-02-03 11:43:49 -08:00
michael-hawker 1c581de16a Turn off diagnostics for Solution Generation, leave hint at uploading logs in the build script. 2023-02-03 11:42:53 -08:00
michael-hawker 506e815488 Add `dotnet` command diagnostic flag 2023-02-02 11:57:23 -08:00
michael-hawker a47d17022d Add extra verboisty parameter to slngen script and add to run in CI as artifacts 2023-02-02 11:23:50 -08:00
Michael Hawker MSFT (XAML Llama) db27aebccc
Merge pull request #361 from CommunityToolkit/niels9001/settings-controls-improvements
[SettingsControls] A11y bugfix + visual update
2023-02-02 09:36:59 -08:00
michael-hawker d4899caab0 Remove now unused solution template from previous solution 2023-02-01 15:04:07 -08:00
Niels Laute 3bc4503c29 Update SettingsCard.xaml 2023-02-01 16:33:20 +01:00
Niels Laute f2270d8a95 Update SettingsCard.xaml 2023-02-01 16:28:24 +01:00
Niels Laute a2c15b7236 Bump version number 2023-02-01 15:48:26 +01:00
Niels Laute 48f6fc2215 Fix visual ToggleSwitch vertical offset 2023-02-01 15:19:32 +01:00
Niels Laute 93a8cb05bd Narrator fix 2023-02-01 14:17:40 +01:00
Niels Laute 86c004721a
Merge pull request #336 from CommunityToolkit/user/niels9001/more-options
More Sample Option Attributes
2023-02-01 06:36:04 +01:00
michael-hawker 4c7528c914 Fix issue with extra Title property on Attribute not being setup properly from construction of attribute in source generator 2023-01-31 16:06:37 -08:00
michael-hawker 549c6a103f Fix issue with source generator not generating sample registry to test against 2023-01-31 16:01:21 -08:00
michael-hawker ecb669320a Add failing test-case for missing Attribute Property Title 2023-01-31 16:00:55 -08:00
Niels Laute fc82791450 Test fixes 2023-01-31 20:04:59 +01:00
Niels Laute 919d0e43ca Fix tests 2023-01-31 17:55:35 +01:00
michael-hawker 4601457628 Update slngen for ARM64 build support 2023-01-30 14:18:44 -08:00
michael-hawker 42f3354c5a Remove old comment from previous GenerateAllSolution script 2023-01-27 12:40:52 -08:00
michael-hawker 013e5e5cb3 Update global.json to see if that resolves issue on Linux build 2023-01-27 10:34:35 -08:00
michael-hawker dc9b21be38 Push update to slngen for Shared Project support
Add Test projects to deploy
2023-01-26 13:47:53 -08:00
Niels Laute ae176e0d2f Project template 2023-01-25 16:04:27 +01:00
Niels Laute db13e4fa8c Numeric option 2023-01-25 15:08:52 +01:00
Niels Laute 19709c2c53 CI fixes 2023-01-25 14:05:34 +01:00
Niels Laute ff489f5de1 Update ToolkitSampleMetadataGenerator.Sample.cs 2023-01-21 13:30:11 +01:00
Niels Laute bd451f7ba8 Merge branch 'main' into user/niels9001/more-options 2023-01-20 17:25:21 +01:00
michael-hawker 2cea6b8bf9 Add support for solution generation to filter out UWP/WinAppSDK for alternate build pipelines 2023-01-18 15:03:50 -08:00
michael-hawker 31e0c218a3 Add parameters for slngen for Shared Project Type and General Solution Items 2023-01-18 15:03:18 -08:00
michael-hawker 49406e5645 Add helper to bat file for GenerateAllSolution to pass parameter to PowerShell script (if provided) 2023-01-18 15:02:54 -08:00
michael-hawker 8d996a2e29 Restore tools required for slngen for linux build 2023-01-17 17:46:20 -08:00
michael-hawker 9a9131ed25 Add more configuration options to slngen to clean-up display in VS 2023-01-17 15:12:21 -08:00
michael-hawker b1ced9550f Move Solution PowerShell script to common folder 2023-01-17 14:53:13 -08:00