Skip to content

Spec: Interactive Wave 2 demos - #27

Merged
hindermath merged 10 commits into
mainfrom
012-interactive-wave2-demos
May 10, 2026
Merged

hindermath merged 10 commits into
mainfrom
012-interactive-wave2-demos

Conversation

@hindermath

@hindermath hindermath commented May 9, 2026 •

Copy link
Copy Markdown
Owner

Interactive Wave 2 Demos

Summary

  • Makes all eleven Wave-2 examples visibly operable at normal runtime: Clipboard, Demo, DlgDsn, DynTxt, InpLis, ListVi, ProgBa, Sdlg, Sdlg2, TCombo, and TProgB.
  • Adds queued app-loop smoke proof through InteractiveSmokeEventScript, DirectHelperUsage, and one primary app-loop scenario per Wave-2 example.
  • Updates German-first/English-second example guides, examples/README.md, architecture/security evidence, project statistics, agent guidance, Pflichtenheft.md, and pr-evidence.md.

User-Visible Runtime Snippets

Demo: Wave-2 controls/dialogs showcase
Commands: broad, metadata, manual path, cancel, invalid path, color/display
Use the Demo menu or scripted command events. Ctrl+Q quits.
ProgBa: deterministic progress completion
Command completes the progress bar. Ctrl+Q quits.
DlgDsn: load, render, change, and reject dialog descriptions
Commands use source-controlled fixtures only. Ctrl+Q quits.

Validation

  • dotnet build --configuration Release
  • dotnet test tests/TuiVision.Examples.SmokeTests/ --configuration Release -> 73/73 passed
  • dotnet test --configuration Release -> 478/478 passed
  • dotnet test --configuration Release --collect:"XPlat Code Coverage" --settings coverlet.runsettings
  • Coverage gate: Core 89.78 %, Controls 84.84 %, Serialization 87.95 %, Compatibility 80.55 %, Drivers.Console 81.70 %
  • dotnet format --verify-no-changes
  • docfx docfx.json
  • npm run test:docfx -> 2/2 Playwright/Axe tests passed
  • Manual startup checks for all eleven Wave-2 examples with dotnet run --project examples/<Name> --configuration Release --no-build
  • git diff --check

Security And Scope

No new runtime dependency, database, external service, user-data write path, or persisted user history was added. File/path and dialog-designer proof remains read-only: Demo uses metadata only, DlgDsn uses source-controlled allow-listed fixtures, and InpLis history remains in memory.

No Wave-3 or Wave-4 example, mouse-only path, terminal/charset work, or broad framework redesign was added.

Copilot AI review requested due to automatic review settings May 9, 2026 17:40

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

Creates the initial Spec-Kit specification package for the new feature branch 012-interactive-wave2-demos, defining acceptance scenarios and governance requirements for making Wave-2 examples interactively operable (with visible UI paths and smoke tests that exercise real event-loop flows). Also updates repo statistics and bumps the branch-aligned version in Directory.Build.props.

Changes:

  • Added specs/012-interactive-wave2-demos/spec.md defining user stories, functional requirements, constitution/governance requirements, and measurable success criteria.
  • Added a spec-quality checklist at specs/012-interactive-wave2-demos/checklists/requirements.md.
  • Updated docs/project-statistics.md snapshot numbers and appended a new ledger entry for the /speckit-specify run.
  • Updated Directory.Build.props version fields to 1.12.1.27 for the 012 branch.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
specs/012-interactive-wave2-demos/spec.md New feature spec capturing interactive demo requirements, smoke-proof expectations, and governance constraints for Wave-2 examples.
specs/012-interactive-wave2-demos/checklists/requirements.md New checklist documenting spec completeness/quality validation.
docs/project-statistics.md Refreshes snapshot totals and adds a new entry documenting the 012 spec generation and validation steps.
Directory.Build.props Bumps Version/AssemblyVersion/FileVersion to 1.12.1.27 for the 012 branch.

Comment thread specs/012-interactive-wave2-demos/checklists/requirements.md Outdated
Comment thread docs/project-statistics.md Outdated
Copilot AI review requested due to automatic review settings May 9, 2026 22:31

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

Copilot reviewed 15 out of 15 changed files in this pull request and generated 6 comments.

Comment thread specs/012-interactive-wave2-demos/research.md Outdated
Comment thread specs/012-interactive-wave2-demos/plan.md Outdated
Comment thread specs/012-interactive-wave2-demos/plan.md Outdated
Comment thread Directory.Build.props Outdated
Comment thread specs/012-interactive-wave2-demos/checklists/requirements.md Outdated
Comment thread specs/012-interactive-wave2-demos/spec.md
Copilot AI review requested due to automatic review settings May 9, 2026 23:25

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

Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.

Comment thread specs/012-interactive-wave2-demos/plan.md Outdated
Comment thread specs/012-interactive-wave2-demos/research.md Outdated
Comment thread specs/012-interactive-wave2-demos/checklists/requirements.md
Comment thread Directory.Build.props Outdated
hindermath and others added 2 commits May 10, 2026 01:42
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 10, 2026 00:04

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

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Comment thread Directory.Build.props Outdated
Comment thread docs/project-statistics.md Outdated
hindermath and others added 2 commits May 10, 2026 17:19
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 10, 2026 17:38

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

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

Comment thread Directory.Build.props Outdated
Complete the 012 interactive Wave-2 showcase stage with visible runtime command paths, app-loop smoke proof, guide/evidence updates, governance synchronization, and final validation artifacts.
@hindermath
hindermath marked this pull request as ready for review May 10, 2026 20:09
Copilot AI review requested due to automatic review settings May 10, 2026 20:09
@hindermath
hindermath merged commit 5e12c11 into main May 10, 2026
19 of 20 checks passed
Copilot stopped work on behalf of hindermath due to an error May 10, 2026 20:10
@hindermath
hindermath deleted the 012-interactive-wave2-demos branch May 10, 2026 20:13

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

Copilot reviewed 72 out of 72 changed files in this pull request and generated 2 comments.

Comment on lines 5 to +12
`TProgB` portiert den erweiterten Fortschrittsbalken mit Abbruch aus
`tv203s/contrib/tvision/examples/tprogb/`. Die verwaltete Version zeigt einen
deterministischen Fortschrittswert und einen sichtbaren Canceled-Zustand.

Erwarteter Pfad: Teilfortschritt setzen, Abbruch ausloesen und Canceled-State
pruefen.
Interaktiver Laufzeitpfad: `dotnet run --project examples/TProgB` zeigt
Zwecktext und ein TProgB-Menue. Partial, Abort und Cancelled melden
Teilfortschritt, Abbruchanforderung und den separaten Cancelled-Zustand als
Text.
Comment on lines 97 to +119
@@ -57,12 +103,69 @@ public string RunTo(int value, int maximum)
public string Abort()
{
_bar.Cancel();
return "tprogb: canceled";
return SetVisibleState("tprogb: abort requested; canceled");
}

/// <summary>
/// Zeigt den abgebrochenen Zustand ohne weiteren Fortschritt.
///
/// Shows the cancelled state without further progress.
/// </summary>
/// <returns>Der sichtbare Zustand. / The visible state.</returns>
public string ShowCancelled()
{
_bar.Cancel();
return SetVisibleState("tprogb: cancelled state visible");
}
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.

3 participants