Skip to content

WCT v8 + Labs Update#1

Merged
Arlodotexe merged 2 commits intomainfrom
update/v8-labs
Nov 30, 2023
Merged

WCT v8 + Labs Update#1
Arlodotexe merged 2 commits intomainfrom
update/v8-labs

Conversation

@Arlodotexe
Copy link
Copy Markdown
Member

@Arlodotexe Arlodotexe commented Nov 1, 2023

The CommunityToolkit/Windows and CommunityToolkit/Labs-Windows repos have completed their migration to .NET 7. This PR submits a finished net7-based WASM build of the Toolkit Gallery to the https://toolkitlabs.dev/ website.

All available optimizations are enabled for this build, with 2 notable exceptions:

  • AoT compilation is not enabled but can be explored now. Ran into several issues setting this up, but the toolkit is set up to quickly flip on the AoT profiler to generate the files needed.
  • MultiThreading. Controls in the gallery don't make heavy use of background threads, so we've disabled this for now as it caused issues in Labs with Rive, and generally complicated the setup.

Overall, this build contains the new v8 Toolkit components, components from Labs, and has several optimizations which should speed up load times and general performance.

@Arlodotexe Arlodotexe added the enhancement New feature or request label Nov 1, 2023
@Arlodotexe Arlodotexe self-assigned this Nov 1, 2023
@michael-hawker
Copy link
Copy Markdown
Member

I thought @Sergio0694 had opened an issue about some AoT stuff we had to do for the Toolkit, but can't find it now.

@Arlodotexe is there an accompanying tooling PR for showing the 'experimental' infobar?

What's the best way to preview these changes? Can I just pull this branch and use a local web host to view the page I guess?

@Sergio0694
Copy link
Copy Markdown
Member

Happy to open a new issue if it can help for tracking! 🙂

@Arlodotexe
Copy link
Copy Markdown
Member Author

@Arlodotexe is there an accompanying tooling PR for showing the 'experimental' infobar?

This update is going out before @niels9001 has that ready to remedy the slowdowns reported by our users for the current net5 build.

The AoT issues were on the Uno Wasm side of things, see here, no other platform is affected.

@Arlodotexe
Copy link
Copy Markdown
Member Author

Can I just pull this branch and use a local web host to view the page I guess?

Yep, running dotnet serve should do it

@michael-hawker
Copy link
Copy Markdown
Member

Ah, for future people, dotnet serve is an additional tool, found here: https://github.com/natemcmaster/dotnet-serve

@michael-hawker
Copy link
Copy Markdown
Member

@Arlodotexe just two, hopefully small. things:

  1. Can you replace the rectangle 'X' icon with the Labs icon:

image

We should do this in the templates too. Anything new just gets the experimental 'Labs' icon as the placeholder until we bring it over and make a proper icon for whatever that thing is.

  1. The Layouts icon is also missing:

image

Follow-up WASM/Uno items for later - FYI @niels9001:

  • Did we ever find out why Settings Expander's header content is blank?
  • Segmented ignores horizontal alignment?

@Arlodotexe
Copy link
Copy Markdown
Member Author

@Arlodotexe Arlodotexe merged commit 78c5abb into main Nov 30, 2023
@delete-merged-branch delete-merged-branch Bot deleted the update/v8-labs branch November 30, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants