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

131 Коммитов

Автор SHA1 Сообщение Дата
Arlo Godfrey 8143ffe787 Reorganized project template files 2023-02-21 16:09:42 -08:00
Arlo Godfrey 41994a66d3 Renamed ./labs to ./components 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 ae176e0d2f Project template 2023-01-25 16:04:27 +01:00
Niels Laute bd451f7ba8 Merge branch 'main' into user/niels9001/more-options 2023-01-20 17:25:21 +01:00
Niels Laute 2dc79b12e2 Fix 2023-01-02 10:37:45 +01:00
Niels Laute 81b5401885 Template updates 2022-12-27 15:12:13 +01:00
Arlo Godfrey 14f5245857 Use MultiTarget values defined in Source project when not defined in Sample project 2022-12-15 18:27:50 -06:00
Arlo 593c40760e
Merge branch 'main' into feature/dynamic-multitargeting 2022-12-09 16:57:16 -06:00
Arlo Godfrey 452eb1ac44 Updated MultiTarget description 2022-12-09 16:53:18 -06:00
michael-hawker 97e5e8c28b Remove AssemblyInfo.cs from projects and generate with msbuild WriteCodeFragment 2022-12-01 17:47:56 -08:00
Arlo Godfrey a4d5df7e46 Fixed invalid prop references 2022-12-01 12:23:49 -06:00
Arlo Godfrey a3817e6d65 Refactored and consolidated MultiTargeting features. Adding dynamic multitargeting (WIP) 2022-12-01 11:02:35 -06:00
michael-hawker d9a813d3f6 Rename labs-discussion/issue fields in YAML Frontmatter to discussion/issue-id instead 2022-11-30 11:40:39 -08:00
michael-hawker 3efed4a70c Add Theme-aware hyperlink coloring for MarkdownTextBlock on WASM
Centralizes Fonts.css file used in all WASM heads.
2022-11-29 15:36:40 -08:00
michael-hawker e770aba804 Add Discussion and Issue Id to FrontMatter for Labs documentation
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)
2022-11-29 15:36:38 -08:00
Arlo Godfrey 3c1db1f606 Merge branch 'main' into llama/port-notifications 2022-11-08 14:46:59 -06:00
Martin Zikmund 5de079ddca
feat: Update Uno Fluent Icons (#271) 2022-11-08 10:13:48 -08:00
michael-hawker ae5c76ff1b Make links clickable in Markdown Preview for Docs
Remove extra blank entry for empty text after last sample
Fix template text for Markdown display
2022-08-05 14:35:37 -07:00
Niels Laute 7098842925
Merge pull request #246 from CommunityToolkit/users/niels9001-samplefixes
[Samples] Minor UX tweaks
2022-07-29 20:09:17 +02:00
Niels Laute 396889eecb Fixing default values 2022-07-29 15:31:42 +02:00
michael-hawker 1653d7610d Add missing rescaps as missed adding to template in #161 2022-07-22 12:47:27 -07:00
Michael Hawker MSFT (XAML Llama) 08c16d7d4f
Add note about package versioning to the template info 2022-07-20 08:54:52 -07:00
Niels Laute 5f87c032b4
Niels9001/ Adding search + minor UX tweaks (#204)
* Address previous PR comments

* Use global usings

* Searchbox logic

* Adding search itemtemplate

* Added more search logic

* Clearing searchbox on suggestion chosen

* New icons

* Titlebar update

* Adding new categories

* Adding input image

* Adjust margins on items to emulate container styling for now, though has different issues

Need to investigate workaround for https://github.com/unoplatform/uno/issues/1444

* Add Powered By Uno Platform Logo for non-windows platforms

* Add NavigateToUriAction to project and hook up to Buttons on Home Page and Top of Documents

* Remove stray uno include causing build failure with Uno dependencies now.

* Supress CA1001 warning from Uno code.

* Disable Search on WASM - See AutoSuggestBox issue for WASM https://github.com/unoplatform/uno/issues/7778

* Fix XAML Styling

Co-authored-by: michael-hawker <24302614+michael-hawker@users.noreply.github.com>
2022-07-19 22:24:20 -07:00
Arlo cf0b12ac0e
Added manually defined required compilations constants (#208)
* Moved project identifiers into a new props file

* Moved project identifiers into a new props file

* Merge branch 'fix/compilation-conditionals' of https://github.com/CommunityToolkit/Labs-Windows into fix/compilation-conditionals

* Added WINUI2 and WINUI3 compilation conditionals

* Added platform-specific compilation conditionals

* Added comment for props modified by script

* Added __SKIA__ compilation conditional

* Added Labs.ProjectIdentifiers.props import

* Fixed ProjectIdentifiers on project heads

* Fixed incorrect IsUno value

* Fixed BindableMetadataProvider error on WPF
2022-07-19 21:14:03 -07:00
Niels Laute 806896f596
Niels9001/New icon assets (#202)
* New icon assets

* Fix smalltile path

* Path issue fix

* Removing scalefactor

* Updated storelogo paths

* Adding missing files

* Fix image sizes

* Update CommunityToolkit.Labs.Tests.Uwp.csproj
2022-07-19 15:47:41 -07:00
michael-hawker 358873968d Shorten Identity in manifests to work-around https://github.com/microsoft/microsoft-ui-xaml/issues/7059
Gives us a maximum of 32 characters for an experiment name. Added note in template readme about it too.
2022-07-19 01:17:21 -07:00
Arlo Godfrey 7c9c9b7392 Fixed missing partial modifier that manifested on certain Uno platforms 2022-07-18 23:38:29 -07:00
Arlo Godfrey fad0f3e4de Consolidated Sample/Source project dependencies into a single file. Added comments for clarity. 2022-07-18 23:38:28 -07:00
Arlo Godfrey eeaf5b3f3c Fixed false TFM errors appearing in Visual Studio when restoring packages: part 2 2022-07-18 23:38:27 -07:00
Arlo Godfrey 2a916c8410 Fixed false TFM errors appearing in Visual Studio when restoring packages 2022-07-18 23:38:21 -07:00
Arlo Godfrey 5d9e319c1d Initial Work to bring over @Arlodotexe's Dependency work from #196 on top of our #198 work 2022-07-17 16:16:50 -07:00
michael-hawker 3f53880c4c Remove duplicate WinAppSDK properties 2022-07-17 12:48:35 -07:00
michael-hawker 27281e5790 Improve Guidance on Control Templates 2022-07-17 12:48:35 -07:00
michael-hawker 76f41e1b85 Regenerate SizerBase Experiment with new Template 2022-07-17 12:48:35 -07:00
michael-hawker 89d4ba0a9b Regenerate CanvasLayout Experiment with new Template
Tested on all heads and test projects
Fixed issues with loading docs once generated
Added more notes to template readme
2022-07-17 12:48:35 -07:00
michael-hawker 83c84c5303 [ProjectTemplate] Make all Sample and Test project folders and namespaces consistent
Fixes sample/documentation renderer loading/display
Updates solutions and powershell scripts
Tested all ProjectTemplate heads and tests locally.
2022-07-17 12:48:35 -07:00
michael-hawker b24b8e4a4e Rename ProjectTemplate namespace to include suffix of Experiment
Fixes #194
2022-07-17 12:48:35 -07:00
michael-hawker 8d53dfc10d Move XAML auto-include ItemGroup to Labs.MultiTarget.props file
Add template command to main readme
Add note about sample pages in template readme
2022-07-17 12:48:35 -07:00
michael-hawker 7c73495e25 Modify ApplyXamlStyling.ps1 to better handle running locally and updating new/in-progress files while working 2022-07-17 12:48:35 -07:00
michael-hawker 7e97c4fb16 Synced with @Sergio0694 and removed over-use of local-variables, only store intermediate results in 'BoxPanel' example shared by measure/arrange now. 2022-07-17 12:48:35 -07:00
michael-hawker c3d0f5055d Add a custom control (panel) of the `BoxPanel` example from MS docs
Used to check that a control named the same as the experiment doesn't cause issues.
2022-07-17 12:48:35 -07:00
michael-hawker abbddfd792 Rename Sample Pages in ProjectTemplate to use consistent class and file names
Also ordered such that order they appear in the documentation file is the same order they appear in the project within Visual Studio.
2022-07-17 12:48:35 -07:00
Arlo Godfrey ccd4f8976a Fixed import order for Microsoft.Windows.UI.Xaml.CSharp.targets 2022-07-15 17:09:55 -07:00
michael-hawker b3ce558b4d Clean-up Labs.Uno.props, include in heads, not other props 2022-07-15 17:09:55 -07:00
michael-hawker de0f7ef708 Clean-up Labs.TargetFrameworks.props, include in heads, not other props 2022-07-15 17:09:55 -07:00
michael-hawker 440822f23e Apply change to simplify pattern for test based on PR feedback for ProjectTemplate example tests. 2022-07-11 17:17:11 -07:00
michael-hawker 87c58f9af5 Add extra test examples to show more advanced scenarios (as per PR comment) 2022-07-11 17:17:11 -07:00
michael-hawker 7f83291315 Fixes #160 - Add a suite of example test cases for different scenarios and patterns.
Blocked testing locally by #188
2022-07-11 17:17:11 -07:00
Arlo 2cd42b29d8
Fixed compilation errors caused by sample IDs not being transformed by the project template (#185)
* Added safety and diagnostics for detecting duplicate sample ids

* Renamed to prevent name conflicts

* Completed rename to prevent name conflicts
2022-07-05 18:54:28 -07:00