CommunityToolkit / CommunityToolkit/Windows

Port Helpers

Open
#17 3 comments 1 reaction 1 assignee Claimed by @niels9001 View on GitHub
components::helpers enhancement Priority-1
Dominant language
C#
Stars
1.1k
Forks
166
PR merge metrics
No merged PRs in 30d

Description

Combination of 'helper' things from MT.Uwp and MT.Uwp.UI.

For initial port, most important things are:

```[tasklist]
### Helpers
- [x] CameraHelper
- [ ] DeeplinkParser
- [ ] ObjectStorage
- [ ] PrintHelper
- [ ] RemoteDeviceHelper (Deprevated)
- [ ] BackgroundTaskHelper
- [x] ColorHelper
- [ ] DispatcherHelper (Deprecated)
- [x] PackageVersionHelper
- [x] ScreenUnitHelper
- [ ] StorageFileHelper
- [ ] StreamHelper
- [ ] SystemInformation
- [x] WeakEventListener
- [ ] BindableValueHolder
- [x] CompositionTargetHelper
- [ ] DependencyPropertyWatcher
- [x] DesignTimeHelpers
- [x] ThemeListener (still broken on WASDK!)
- [ ] BluetoothLEHelper
- [x] NetworkHelper
- [x] Compare WinUI code against UWP
- [x] Compare Ported code against Uno Platform Fork
- [x] Helpers Docs (import/new)
- [ ] https://github.com/CommunityToolkit/Windows/issues/126
- [ ] https://github.com/CommunityToolkit/Windows/issues/127
- [ ] Check on WASM
- [x] Reconcile internal tooling test dependency like Extensions for `CompositionTargetHelper`
```

Don't worry about initially:
- camera
- print
- storage
- deep link
- remote object
- theme listener

Also need to figure out what other 'helper' things we put here from these packages, what's this overall structure/plan look like. Some of these APIs work differently in the WASDK or between packaged/unpackaged apps. If something can work the same in all cases, great let's bring it over. Otherwise, we'll have to see how much work it is to fill the gaps vs. being something completely new. i.e. let's focus on easy wins first for highly used things (like a lot of our controls), and then can tackle other things as we see need for.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.