-
Notifications
You must be signed in to change notification settings - Fork 1
chore: add samples #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added theme detection and application utilities for dark/light mode. - Updated various components to support theme changes. - Improved navigation menu and layout for better user experience. - Introduced Monaco Editor for enhanced code editing capabilities.
…l handling - Implemented a new wizard for creating experiments with validation. - Enhanced API calls with timeout protection and error handling. - Added navigation for creating experiments in the UI.
…ExperimentTypeResolver
Add TechBlog demonstration application showcasing ExperimentFramework.Plugins system driving end-user experience through admin dashboard. New Projects: - AspireDemo.Blog - Blazor blog application with polished UI - AspireDemo.Blog.Contracts - Shared interfaces and models - AspireDemo.Blog.Plugins.Data - InMemory, SQLite, PostgreSQL providers - AspireDemo.Blog.Plugins.Editor - Markdown, TinyMCE, Quill implementations - AspireDemo.Blog.Plugins.Syndication - DEV.to, Hashnode, Medium cross-posting - AspireDemo.Blog.Plugins.Auth - JWT, OAuth, API Key authentication Features: - Runtime plugin switching via admin dashboard - Full blog functionality (posts, categories, authors, search) - Blog API endpoints in ApiService - Sample data with 4 posts, 2 authors, 5 categories - Integrated with Aspire orchestration - Dashboard navigation with Demo Apps section Technical Highlights: - Separate plugin assemblies with manifest generation - BlogPluginStateManager for runtime plugin activation - Clean separation between admin dashboard and production blog app - Demonstrates plugin-driven feature experimentation
…ing rules interfaces
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive sample code for an ExperimentFramework Aspire demo application, which demonstrates A/B testing and experimentation capabilities through a web-based interface.
Key Changes:
- Adds a complete Blazor web application showcasing experiment management, live demos, analytics, and plugin systems
- Implements services for state management, code generation, and theme handling
- Provides multiple pages for dashboard, experiments, hypothesis testing, rollout management, and more
Reviewed changes
Copilot reviewed 98 out of 114 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| AspireDemo.Web/appsettings.json | Standard ASP.NET Core logging configuration |
| AspireDemo.Web/ThemeService.cs | Service managing theme state and CSS variable generation |
| AspireDemo.Web/Services/ExperimentCodeGenerator.cs | Generates YAML DSL and Fluent API code from wizard models |
| AspireDemo.Web/Services/DemoStateService.cs | Centralized state management for UI across pages |
| AspireDemo.Web/ExperimentApiClient.cs | HTTP client for experiment API with comprehensive DTOs |
| AspireDemo.Web/Program.cs | Application startup and service configuration |
| AspireDemo.Web/Models/*.cs | Data models for experiment wizard and editor |
| AspireDemo.Web/Components/Pages/*.razor | Multiple Razor pages for UI features |
| AspireDemo.Web/AspireDemo.Web.csproj | Project file targeting .NET 10.0 |
| AspireDemo.ServiceDefaults/AspireDemo.ServiceDefaults.csproj | Aspire shared project with service defaults |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #26 +/- ##
=======================================
Coverage ? 83.23%
=======================================
Files ? 184
Lines ? 6860
Branches ? 1164
=======================================
Hits ? 5710
Misses ? 1150
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
...es/ExperimentFramework.AspireDemo/AspireDemo.ApiService/Data/PersistentKillSwitchProvider.cs
Fixed
Show fixed
Hide fixed
… user input Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
...es/ExperimentFramework.AspireDemo/AspireDemo.ApiService/Data/PersistentKillSwitchProvider.cs
Dismissed
Show dismissed
Hide dismissed
… user input Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Code Coverage |
No description provided.