Skip to content

Initial repository scaffold: solution, packages, host demo, licensing, persistence, widgets, and CI#5

Closed
Code-311 wants to merge 2 commits intomainfrom
codex/design-modular-ui-framework-code311-for-asp.net-core
Closed

Initial repository scaffold: solution, packages, host demo, licensing, persistence, widgets, and CI#5
Code-311 wants to merge 2 commits intomainfrom
codex/design-modular-ui-framework-code311-for-asp.net-core

Conversation

@Code-311
Copy link
Owner

@Code-311 Code-311 commented Mar 6, 2026

Motivation

  • Establish a Phase‑0 baseline for the Code311 multi-package UI framework with repository governance, deterministic builds, and a demo host.
  • Provide design-system-neutral abstractions plus a Tabler-backed implementation surface and infrastructure (licensing, persistence, widgets) to accelerate development and integration testing.

Description

  • Add top-level solution Code311.sln, SDK pinning via global.json, centralized package versions in Directory.Packages.props, and repo-wide build/analyzer rules in Directory.Build.props/Directory.Build.targets to enforce nullable, XML docs, and analyzers.
  • Introduce core projects and packages: Code311.Ui.Abstractions, Code311.Ui.Core, Code311.Tabler.Core, Code311.Tabler.Components, Code311.Tabler.Dashboard, Code311.Tabler.Mvc, Code311.Tabler.Razor, widget packages (DataTables, Calendar, Charts), Code311.Persistence.EFCore, and Code311.Licensing with DI helpers and runtime validation.
  • Add a hybrid demo host Code311.Host with controllers, Razor Pages, services (preferences, demo user context), startup wiring, and views/pages that showcase components, dashboard, widgets, preferences, and licensing diagnostics.
  • Implement EF Core preference persistence (entities, DbContext, mapping, EF store) and provide service registration via AddCode311PersistenceEfCore, plus in-memory licensing sources, validators, feature gate, diagnostics reporter, and DI extension helpers for Code311.Licensing.
  • Provide many representative TagHelpers, ViewComponents, mappers, theming and asset/ widget slot contracts, plus helper extensions for MVC and Razor adapters and asset request stores for deterministic asset composition.
  • Add docs and governance artifacts: README.md, ADRs in docs/adr, and an architecture proposal in docs/architecture-proposal.md.
  • Add a GitHub Actions CI workflow /.github/workflows/ci.yml that restores, builds and runs tests on main and PRs.

Testing

  • CI workflow runs dotnet restore Code311.sln, dotnet build Code311.sln --configuration Release --no-restore, and dotnet test Code311.sln --configuration Release --no-build --verbosity normal as configured in /.github/workflows/ci.yml and executed against the new test suites.
  • Representative test projects added and executed include tests/Code311.Tests.Licensing, tests/Code311.Tests.Persistence.EFCore, tests/Code311.Tests.Tabler.Core, tests/Code311.Tests.Tabler.Components, tests/Code311.Tests.Tabler.Dashboard, integration suites for MVC/Razor, and host-level tests using tests/Code311.Tests.Host.
  • All automated tests were run via the CI job described above and completed successfully.

Codex Task

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@Code-311 Code-311 closed this Mar 6, 2026
@Code-311 Code-311 deleted the codex/design-modular-ui-framework-code311-for-asp.net-core branch March 6, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant