A safe space to collaborate and engineer solutions from the prototyping stage all the way through polished finalized component for the Windows Community Toolkit.
Перейти к файлу
Arlo Godfrey d2824f6704 WIP switching between WinUI 2 and 3 in Config dropdown 2022-02-22 13:29:39 -06:00
.devcontainer Added autoforward and autolaunch when uno app starts 2021-12-28 23:17:31 +00:00
.vscode WIP switching between WinUI 2 and 3 in Config dropdown 2022-02-22 13:29:39 -06:00
Common WIP switching between WinUI 2 and 3 in Config dropdown 2022-02-22 13:29:39 -06:00
CommunityToolkit.Labs.Uwp Added multitarget support for the Windows App SDK 2021-12-16 16:03:26 -06:00
CommunityToolkit.Labs.Wasm WIP switching between WinUI 2 and 3 in Config dropdown 2022-02-22 13:29:39 -06:00
CommunityToolkit.Labs.WinAppSdk Set up proper mult-targeting between Uno + WinUI 2/3 2022-02-17 13:33:48 -06:00
Labs/CanvasLayout WIP switching between WinUI 2 and 3 in Config dropdown 2022-02-22 13:29:39 -06:00
.editorconfig Add File Header Analyzer and License Files 2021-10-14 16:36:33 -07:00
.gitignore Initial File-New Project Commit 2021-10-12 14:44:54 -07:00
Directory.Build.props Made existing projects Uno-capable, added Wasm projects, added root "all-sample" apps, organization and cleanup. 2021-12-07 18:56:20 -06:00
Directory.Build.targets Initial split of UWP App properties to single file. 2021-10-13 16:11:50 -07:00
License.md Add File Header Analyzer and License Files 2021-10-14 16:36:33 -07:00
ReadMe.md Add initial readme 2021-10-14 16:27:40 -07:00
Toolkit.Labs.All.sln WIP switching between WinUI 2 and 3 in Config dropdown 2022-02-22 13:29:39 -06:00
Toolkit.Labs.Wasm.sln Removed UWP from Wasm-only solution 2021-12-28 23:17:31 +00:00
Windows.Toolkit.Common.props Initial split of UWP App properties to single file. 2021-10-13 16:11:50 -07:00
global.json Initial split of UWP App properties to single file. 2021-10-13 16:11:50 -07:00

ReadMe.md

🧪 Community Toolkit Labs - UWP 🧪

Welcome to the home of Toolkit Labs experiments for UWP. Find out more about Toolkit Labs in our Wiki here. It includes more about our motivations for having this space as well as how to setup the NuGet feed required to easily use experiments found in this repo.

This is the starting place for all new features to make it into the Windows Community Toolkit. It is a useful prototyping space as well as a space to work collaboratively on polishing a feature. This allows a final PR into the main Toolkit repo to go as smoothly as possible once a feature is ready to go.

Sample App

You can build the main Sample App solution to see all the experiments currently available in this repository. If there's a specific experiment you're interested in, you can navigate to its directory and open up it's individual solution to see samples specific to that feature. You can also read the next section to find out how to grab a pre-built NuGet package for each feature available here.

Using an Experiment

If you skipped the Wiki page on Toolkit Labs, then you can go to the wiki page on Preview Packages and find out how to add our NuGet Feed to Visual Studio:

https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-Labs/nuget/v3/index.json

If you find an experiment useful, please up-vote 👍 its corresponding issue. Each experiment has an issue assigned to it with the experiment label for tracking. Please file any feedback or issues about that experiment on that singular issue. For any other questions or concerns, please open a Discussion.

Adding a new Experiment

To start a new experiment, open up a new Discussion to propose your idea with the community. Be sure to follow the template and highlight reasons why and how your idea can aid other developers.

Once there is traction an issue will be created to track your experiment and its progress.

TODO: Add info about copying template.

Then open a PR to start your experiment, not everything needs to be done in your initial PR. The Labs space is a great place to work on something over time, get feedback from the community, and collaborate with others. However, your initial PR should compile and have enough content for folks to understand how to leverage your component.

Modifying an Experiment

First fork the repo and create a new branch specific to your modification.

To work on an experiment you can navigate to it's subdirectory and open its own solution file. This will let you work on the feature, samples, docs, or unit tests for that specific component only in isolation.

Then submit a PR back to the repo with your modifications. Whoever owns the experiment can then work with you to integrate your changes. A maintainer will merge a PR once sign-off from the experiment owner is received.

When is an Experiment done?

Not all experiments are successful, and that's ok! That's why we experiment! 👨‍🔬🔬👩‍🔬

If there is enough interest in an experiment, it can be time to move it into the main Windows Community Toolkit repo. These experiments should have all the components required implemented like a sample, documentation, and unit tests.

Open up an issue on the main Toolkit repo using the Toolkit Labs Transfer Issue Template. (TODO: Link) Use that issue to discuss where in the Toolkit the new component should be placed and what release it should be shipped in. An initial review pass of the code will happen as well. Once the transfer issue is approved, open up a PR to copy over the experiment to its new home.