Skip to content

feat: Add Text Features Showcase sample#928

Open
MartinZikmund wants to merge 2 commits into
masterfrom
dev/mazi/text-features
Open

feat: Add Text Features Showcase sample#928
MartinZikmund wants to merge 2 commits into
masterfrom
dev/mazi/text-features

Conversation

@MartinZikmund

Copy link
Copy Markdown
Member

What

Adds a Text Features Showcase sample under UI/TextFeaturesShowcase demonstrating the 6.6 text wave on Skia.

Features

Contents

  • Single-project Uno app (net10.0-desktop + net10.0-browserwasm), Uno.Sdk 6.6.14, Fluent theme, SpellChecking UnoFeature.
  • README.md + two screenshots under doc/assets; entry added to doc/samples.md.

Screenshot

Text Features Showcase

Built and verified running on Windows Skia Desktop (Release) — squiggles, highlights, trimming and multi-script/emoji fallback all render.

🤖 Generated with Claude Code

MartinZikmund and others added 2 commits July 1, 2026 14:10
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Spell-check, TextHighlighters, TextTrimming and sophisticated font
fallback on Skia (Uno Platform 6.6). Verified rendering on Skia Desktop.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 1, 2026 12:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Text Features Showcase sample under UI/TextFeaturesShowcase, intended to demonstrate Uno Platform 6.6 text-related features (spell checking, TextHighlighters, trimming, and font fallback) on Skia targets.

Changes:

  • Introduces a new single-project Uno app targeting net10.0-desktop and net10.0-browserwasm, with Skia + SpellChecking UnoFeatures enabled.
  • Implements a single-page UI (XAML + code-behind) showcasing spell-check squiggles, live search highlighting via TextHighlighter, trimming modes, and multi-script/emoji font fallback.
  • Adds documentation entry in doc/samples.md and a sample-level README.md.

Reviewed changes

Copilot reviewed 39 out of 44 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/TextFeaturesShowcase.csproj Defines the Uno single-project app, TFMs, and enabled UnoFeatures.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Strings/en/Resources.resw Adds default app string resources (ApplicationName).
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/ReadMe.md Template “Getting Started” content for the project folder.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Properties/PublishProfiles/win-x86.pubxml Publish profile for Windows x86.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Properties/PublishProfiles/win-x64.pubxml Publish profile for Windows x64.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Properties/PublishProfiles/win-arm64.pubxml Publish profile for Windows arm64.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Properties/launchSettings.json Launch profiles for WASM and Desktop runs/debugging.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/wwwroot/web.config IIS hosting configuration for pre-compressed WASM assets.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/wwwroot/staticwebapp.config.json Static Web Apps routing + cache headers.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/WasmScripts/AppManifest.js WASM app manifest (display name).
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/WasmCSS/Fonts.css Font-face declarations for WASM.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/Program.cs WASM host startup via UnoPlatformHostBuilder.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/manifest.webmanifest PWA manifest metadata.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/WebAssembly/LinkerConfig.xml Linker config for trimming scenarios.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Platforms/Desktop/Program.cs Desktop host startup via UnoPlatformHostBuilder.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Package.appxmanifest Windows packaging manifest template (dependencies/capabilities).
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/MainPage.xaml.cs Implements live search highlighting using TextHighlighter ranges.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/MainPage.xaml Single-page UI demonstrating the text features.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/GlobalUsings.cs Project-wide global usings for the sample.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Assets/Splash/splash_screen.svg Splash screen asset.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Assets/SharedAssets.md Asset guidance doc for the sample.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Assets/Icons/icon.svg App icon asset.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/Assets/Icons/icon_foreground.svg Foreground icon asset.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/App.xaml.cs App bootstrap, navigation, and logging initialization.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/App.xaml App-level resources (WinUI XamlControlsResources).
UI/TextFeaturesShowcase/src/TextFeaturesShowcase/app.manifest Windows DPI awareness and OS compatibility manifest.
UI/TextFeaturesShowcase/src/TextFeaturesShowcase.sln Solution file for the standalone sample.
UI/TextFeaturesShowcase/src/global.json Pins Uno.Sdk version via msbuild-sdks mapping.
UI/TextFeaturesShowcase/src/Directory.Packages.props Central package management placeholder for implicit packages.
UI/TextFeaturesShowcase/src/Directory.Build.targets Directory-level build targets placeholder.
UI/TextFeaturesShowcase/src/Directory.Build.props Directory-level build defaults (nullable, implicit usings, NoWarn).
UI/TextFeaturesShowcase/src/.vsconfig Visual Studio workload/component recommendations.
UI/TextFeaturesShowcase/src/.vscode/tasks.json VS Code build/publish tasks for WASM and Desktop TFMs.
UI/TextFeaturesShowcase/src/.vscode/settings.json VS Code workspace settings (file nesting, json association).
UI/TextFeaturesShowcase/src/.vscode/launch.json VS Code debug configurations for WASM + Desktop.
UI/TextFeaturesShowcase/src/.vscode/extensions.json VS Code extension recommendations.
UI/TextFeaturesShowcase/src/.run/TextFeaturesShowcase.run.xml Rider run configurations mapped to launch profiles/TFMs.
UI/TextFeaturesShowcase/src/.run/Readme.md Notes about the .run folder usage.
UI/TextFeaturesShowcase/src/.gitignore Sample-local gitignore (template-based).
UI/TextFeaturesShowcase/src/.editorconfig Sample-local editorconfig (template-based).
UI/TextFeaturesShowcase/README.md Sample-level README describing features and pointing to key files.
doc/samples.md Adds a new entry for the sample in the repository samples list.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread doc/samples.md
Comment on lines 51 to +55
### Other Samples

### Text Features Showcase

A single page touring the Uno Platform 6.6 text wave: TextBox spell-checking, TextBlock TextHighlighters, TextTrimming modes, sophisticated font fallback (Latin + emoji + CJK), and the RenderWhiteSpace toggle. [Browse source](UI/TextFeaturesShowcase)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants